commit | 77e104322920cb93c0ac3d5f101115826728d3d1 | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Wed Oct 26 17:43:56 2016 -0700 |
committer | Jorim Jaggi <jjaggi@google.com> | Tue Nov 01 15:36:00 2016 -0700 |
tree | ee7ec558d415279230dcf634174a92beeaaff81a | |
parent | 5a108c225a81cedacb1cec9b5b1986f2f3eff75c [diff] [blame] |
The big keyguard transition refactor (3/n) Notify activity manager when dreaming showing state changed so KeyguardController can update the occluded state when the device is dreaming. Test: Set dreaming while charging, wait until screen times out, make sure that dream is occluding Keyguard. Bug: 32057734 Change-Id: Ied6f485d9b4a1526cb4cd5f0701f86b1ea05830a
diff --git a/services/tests/servicestests/src/com/android/server/wm/TestWindowManagerPolicy.java b/services/tests/servicestests/src/com/android/server/wm/TestWindowManagerPolicy.java index 5148e55..bff2ca3 100644 --- a/services/tests/servicestests/src/com/android/server/wm/TestWindowManagerPolicy.java +++ b/services/tests/servicestests/src/com/android/server/wm/TestWindowManagerPolicy.java
@@ -536,6 +536,11 @@ } @Override + public boolean isShowingDreamLw() { + return false; + } + + @Override public void onKeyguardOccludedChangedLw(boolean occluded) { }