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

Get locked / unlocked status from another app #88

Closed
frmz opened this issue May 5, 2015 · 6 comments
Closed

Get locked / unlocked status from another app #88

frmz opened this issue May 5, 2015 · 6 comments

Comments

@frmz
Copy link

frmz commented May 5, 2015

Hi! In my live wallpaper i am currently using "KeyguardManager.inKeyguardRestrictedInputMode()" to understand if lockscreen is currently displayed or not however my users are reporting that this is not detected correctly in ACDisplay while it works without issues in standard lockscreen, should i add something else to support ACDisplay too?

@AChep
Copy link
Owner

AChep commented May 5, 2015

It should be fine on KitKat or lower, but won't work correctly on Lollipop or higher. At this moment, there's no way to fix it.

@frmz
Copy link
Author

frmz commented May 5, 2015

Wow, that's quick. Any way to provide a broadcast on lock/unlock? Shouldn't be too much of a security issue and its a cheap workaround. I see a lot of users moving away from ACDisplay just because of this.

P.S. just curious, what's the issue on Lollipop? is that a bug?

@frmz
Copy link
Author

frmz commented May 27, 2015

Any update?

@AChep
Copy link
Owner

AChep commented May 27, 2015

@frmz no, cause I'm too busy to work on the app.

@AChep
Copy link
Owner

AChep commented Jul 3, 2015

Here you go. Now AcDisplay broadcasts those intents: "com.achep.acdisplay.STATE_START", "com.achep.acdisplay.STATE_RESUME", "com.achep.acdisplay.STATE_PAUSE", "com.achep.acdisplay.STATE_STOP".

@AChep AChep closed this as completed Jul 3, 2015
@frmz
Copy link
Author

frmz commented Jul 3, 2015

Great!

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

2 participants