Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我这边使用您的方法,锁屏再开启 有时是很好正常 但是有时候开启之后应用是黑屏状态的,有可能是什么问题呢 #1

Open
QuYunFengg opened this issue Jan 11, 2018 · 3 comments

Comments

@QuYunFengg
Copy link

我这边使用您的方法,锁屏再开启 有时是很好正常 但是有时候开启之后应用是黑屏状态的,有可能是什么问题呢

@QuYunFengg
Copy link
Author

image
我尝试了打印发现他并没有走这里

@QuYunFengg
Copy link
Author

image
在最后一个开启关闭之时他并没有屈关闭那个activity

@QuYunFengg
Copy link
Author

public static void killHooligan() {
System.out.println("监听走入杀掉屏幕的方法");
try {
System.out.println("监听杀掉屏幕");
instance.finish();
} catch (Exception e) {
System.out.println("监听" + e.getMessage());
}
}
我写成这样好像就没有问题了 试了很多次 就很奇怪 不过感谢你提供的方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant