diff options
author | Heemin Seog <hseog@google.com> | 2020-04-13 09:33:44 -0700 |
---|---|---|
committer | Heemin Seog <hseog@google.com> | 2020-04-13 09:36:22 -0700 |
commit | a431d8ac9d5631c6a655acd9cd8c843eaf30ef0d (patch) | |
tree | e1289e2f659e53722e84983e3c6e0aec10b75b15 /packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java | |
parent | 507bbaeb9b629cfdf2d790ceb50a6ef34bf70687 (diff) |
Remove phone specific shade controller from KeyguardViewMediator
The relevant logic has been moved to KeyguardViewController instead so
that phone and car can define this separately.
Bug: 140423092
Bug: 147455109
Test: atest SystemUITests, manual for automotive
Change-Id: I9473c2ec6993808cd41c0c1021250dbf550f60c2
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java index 03ccc1c91487..6a90d00c1e75 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardViewController.java @@ -114,6 +114,11 @@ public interface KeyguardViewController { void keyguardGoingAway(); /** + * Sets the system state depending on whether the keyguard is going away or not. + */ + void setKeyguardGoingAwayState(boolean isKeyguardGoingAway); + + /** * @return Whether window animation for unlock should be disabled. */ boolean shouldDisableWindowAnimationsForUnlock(); |