diff options
author | kwaky <kwaky@google.com> | 2020-03-18 09:28:52 -0700 |
---|---|---|
committer | kwaky <kwaky@google.com> | 2020-04-10 15:22:51 -0700 |
commit | 4ed2e207c5e30954008f8bc680771b34f8c7fb28 (patch) | |
tree | 03ca0d7fc7008c995bb0b0ca91922fc7ff57a3f0 /packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java | |
parent | 09c3427e5d7881118cfad934892fa3e6e5c9ebd0 (diff) |
Implement AAOS-specific KeyguardViewController and decouple keyguard from statusbar.
Bug: 150162295
Bug: 150164054
Test: Manual. Unit Tests Pending.
Change-Id: I66586e15d114eb6da55254f778511bde4fce3154
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java index 2f103940f3e4..03ccc1c91487 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java @@ -147,6 +147,28 @@ public interface KeyguardViewController { */ ViewRootImpl getViewRootImpl(); + /** + * Notifies that the user has authenticated by other means than using the bouncer, for example, + * fingerprint. + */ + void notifyKeyguardAuthenticated(boolean strongAuth); + + /** + * Shows the Bouncer. + * + */ + void showBouncer(boolean scrimmed); + + /** + * Returns {@code true} when the bouncer is currently showing + */ + boolean isBouncerShowing(); + + /** + * When bouncer is fully visible or it is showing but animation didn't finish yet. + */ + boolean bouncerIsOrWillBeShowing(); + // TODO: Deprecate registerStatusBar in KeyguardViewController interface. It is currently // only used for testing purposes in StatusBarKeyguardViewManager, and it prevents us from // achieving complete abstraction away from where the Keyguard View is mounted. |