The big Keyguard transition refactor (8/n)
Don't force mKeyguardGoingAway, as this never recovers. Make sure to only show the dismissing Keyguard activtiy and recover the state when trusted state changes. Test: Make sure Keyguard is in a trusted state, start an activity with FLAG_DISMISS_KEYGUARD from FLAG_SHOW_WHEN_LOCKED activity and make sure there is no flicker. Bug: 32057734 Change-Id: I5d212f6f9d5430250b22c8370f45dc95756432d2
This commit is contained in:
@@ -194,4 +194,9 @@ public abstract class ActivityManagerInternal {
|
||||
* @return {@code true} if system is ready, {@code false} otherwise.
|
||||
*/
|
||||
public abstract boolean isSystemReady();
|
||||
|
||||
/**
|
||||
* Called when the trusted state of Keyguard has changed.
|
||||
*/
|
||||
public abstract void notifyKeyguardTrustedChanged();
|
||||
}
|
||||
|
||||
@@ -509,6 +509,11 @@ public interface WindowManagerPolicy {
|
||||
* Notifies window manager that {@link #isShowingDreamLw} has changed.
|
||||
*/
|
||||
void notifyShowingDreamChanged();
|
||||
|
||||
/**
|
||||
* Notifies window manager that {@link #isKeyguardTrustedLw} has changed.
|
||||
*/
|
||||
void notifyKeyguardTrustedChanged();
|
||||
}
|
||||
|
||||
public interface PointerEventListener {
|
||||
|
||||
Reference in New Issue
Block a user