b4045d3791566a1965024591def87dff7d120295 |
|
17-Mar-2017 |
Andrew Zeng <zenga@google.com> |
Notify keyguard of when power button is pressed. This is done on wear power button doesn't turn off the screen, when the device wakes from keyguard UI isn't visible yet, so it needs to react to power press in some way. Bug: 35147955 Change-Id: I22619ea446770d09b53370e9244215646b60a9db
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
82ba91ddb4fe9d9ff8245e27f70dea64cc20553d |
|
28-Apr-2017 |
Joe Onorato <joeo@google.com> |
Turn off logspam For more information, see https://source.android.com/source/code-style#log-sparingly Bug: 37252687 Test: development/tools/logblame/app_switch_test Test: development/tools/logblame/power_toggle_test Test: development/tools/logblame/medium_idle_test Change-Id: Ie2f6ef33df7b6c1ea976a8180945651ac9482976
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
241ae10b2189f449e57d8d660235ac56d8fb1b80 |
|
03-Nov-2016 |
Jorim Jaggi <jjaggi@google.com> |
Add explicit method to dismiss Keyguard The flag is a bit clunky for most cases, and a method is more clear. Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts.KeyguardTests Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts.KeyguardLockedTests Test: runtest systemui -c com.android.systemui.keyguard.DismissCallbackRegistryTest Bug: 30961403 Bug: 27422134 Change-Id: I39de90c7cfecd99350a74f72cd76418e337f2b79
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
dc589ac82b5fe2063f4cfd94c8ae26d43d5420a0 |
|
11-Nov-2016 |
Sudheer Shanka <sudheersai@google.com> |
Update usage of ActivityManagerNative. - Remove references to ActivityManagerProxy. - Add isSystemReady to ActivityManager. Bug: 30977067 Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts adb shell am instrument -e class com.android.server.am.ActivityManagerTest,com.android.server.am.TaskStackChangedListenerTest \ -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner Change-Id: I07390b6124fb1515821f5c0b37baf6ae74adc8fa
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
e69c93181f1f313dcedd07f677af1cea953fdf16 |
|
01-Nov-2016 |
Jorim Jaggi <jjaggi@google.com> |
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
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
8d78693157cb3fa7ab1c9072ef913af4d67c6314 |
|
27-Oct-2016 |
Jorim Jaggi <jjaggi@google.com> |
The big keyguard transition refactor (6/n) Cleanup: - Make sure all the state is nicely dumped. - Remove some unused stuff. - Fix a flicker when occluded -> unlocked Bug: 32057734 Change-Id: Id87e26adccef740d608b325c2dc1f6db14dd4ec3
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
73294b6cf79910dc688e5b62d673082a3dec773b |
|
27-Oct-2016 |
Jorim Jaggi <jjaggi@google.com> |
The big keyguard transition refactor (4/n) Nuke KeyguardScrim Test: Kill SystemUI while lockscreen is showing, make sure nothing is visible when being killed. Bug: 32057734 Change-Id: I9f8d1e5a0e0f968460d8170627a849623c6a7245
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
fe762344f4475a3a336bb46aef2d59c1fabf32ab |
|
13-Oct-2016 |
Jorim Jaggi <jjaggi@google.com> |
The big keyguard transition refactor (1/n) The heart of this change are two things: 1) Instead of using the force hide mechanism to hide windows behind Keyguard, we actually make the activities invisible in activity manager. 2) When Keyguard is going away, we change the visibilities in activity manager and run an app transition. At the very core we move the responsibility of hiding activities to ActivityStack, which checks whether Keyguard is showing, and then hides all non-show-when-locked activities. For that, we need to check whether any window of an activity has SHOW_WHEN_LOCKED set. We introduce a callback from WM -> AM in case these Keyguard flags have changed. Furthermore, we decide whether to occlude Keyguard in KeyguardController, which just checks whether the top activity has SHOW_WHEN_LOCKED set. When this state changes, we prepare an occlude/unocclude app transition, and in PWM we just inform the Keyguard about the animation so SysUI can play along this animations in a mostly synchronized manner. Since we now use an app transition when unlocking the phone, we get lockscreen launch animations for free - window manager automatically waits until the activity is drawn, or directly executes the transition if there is nothing to animate. Thus, we can remove all the infrastructure around "waitingForActivityDrawn". The logic to show/hide non-app windows is moved to policy, and we add the ability to run animations on non-app windows when executing an app transition. Test: 1) runtest frameworks-services -c com.android.server.wm.AppTransitionTests 2) Manually test unlocking Keyguard: 2a) Without security 2b) With security 2c) With security but trusted 2d) Portrait while activity behind is in landscape 3) Test launching things from Keyguard 3a) Without security 3b) With security 3c) Launch camera without security 3d) Launch camera with security 3e) Launch camera with securtiy and trusted 3f) Launch voice affordance 4) Set no notifications on lockscreen, drag down, make sure you get the correct animation 5) Test clicking "emergency" on bouncer 5b) Test "Emergency info" on emergency dialer 5c) Test clicking edit button on emergency info, should show pattern on Keyguard Bug: 32057734 Change-Id: Icada03cca74d6a612c1f988845f4d4f601087558
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
94bad8bb68f0b91feff4eab5632fa9e43478258e |
|
10-Oct-2016 |
Jorim Jaggi <jjaggi@google.com> |
Fix dismissing window showing am: f20b1428f8 am: 84e863e02f am: cc742ac150 Change-Id: Ic75c15688d07795fc860fa8ce9c672e668fe1ac7
|
f20b1428f88fa81dbde0b96236c6f893f838d40d |
|
03-Oct-2016 |
Jorim Jaggi <jjaggi@google.com> |
Fix dismissing window showing Only show dismissing window if we are about to unlock, and not just in all cases. For that, set a flag to true during the process, and reset the flag after the Keyguard has unlocked. Test: Have a FLAG_SHOW_WHEN_LOCKED activity that starts a FLAG_DISMISS_KEYGUARD_ACTIVITY. Check whether window is hidden when toggling the power button. Make sure that the device is in a trusted state during the whole test. Change-Id: I9346dd869d1cf50a42c64a5f7c69f8e24f1e1f9b Fixes: 31810884
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
833999e0c8107bbb74882b7eecbe9579818cb555 |
|
01-Sep-2016 |
Jorim Jaggi <jjaggi@google.com> |
Revert "Fix flicker while booting" am: ba5339d5d6 am: 6a032cca07 am: 2cfc4f61f9 Change-Id: I2e948345e57725dab6d64d6dabf3f5c08056207d
|
32cbdcc8c098b4a42212b3da345b929abad8ad6e |
|
31-Aug-2016 |
Jorim Jaggi <jjaggi@google.com> |
resolve merge conflicts of c5bafe2 to master Change-Id: I19dd5c88c664313c2f8b47d8f8fd556f630c8bf1
|
d7e12a92c704a9e2452c7600238b4a458e904155 |
|
31-Aug-2016 |
Jorim Jaggi <jjaggi@google.com> |
Fix flicker while booting am: 77cbe79b74 am: 49e5c88eda am: 46a8341458 Change-Id: Ia20d301b9f7e4fe921b8c467002fd2759983e581
|
ba5339d5d6012d91738be65cd6c87cb3cc918286 |
|
30-Aug-2016 |
Jorim Jaggi <jjaggi@google.com> |
Revert "Fix flicker while booting" This reverts commit 77cbe79b74a65d34c1a0b85f9d46c690b9441b88. KeyguardScrim is not hiding for some reason. Need more time to investigate. Change-Id: I7624138dded386a7310386bc78b3b496af55b2b9 Fixes: 31174702 Bug: 29643498
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
6626f54e658e3da44fab8a5cd6d9d3d4852e2cd1 |
|
22-Aug-2016 |
Jorim Jaggi <jjaggi@google.com> |
Add animation when unoccluding windows (1/2) Before there was a jump-cut when a window that was occluding Keyguard was going away, leading to an ugly flicker. To fix this, we do the following. - Always show windows with FLAG_SHOW_WHEN_LOCKED above lockscreen, even if they don't "match" the currently occluding app (which is null in the animation case) - Move wallpaper behind last window that is not hidden by policy, so the window doesn't get occluded by the wallpaper. - Add a flag in the setOccluded call whether to animate or not. SystemUI then plays a nice animation when it's set. - Override the animation to always be the animation that happens when we exit a window which is revealing the wallpaper behind, to make it consistent with the home screen case. Fixes: 30829255 Change-Id: Ib3fe20fc9003a0f9f291c974740f044ed8707e75
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
77cbe79b74a65d34c1a0b85f9d46c690b9441b88 |
|
27-Aug-2016 |
Jorim Jaggi <jjaggi@google.com> |
Fix flicker while booting There was a short period of time where KeyguardScrim already went away but status bar wasn't drawn yet, so we didn't consider it as a wallpaper target so the wallpaper was invisible for a couple of frames. Now only remove the scrim after the status bar has fully drawn. Change-Id: Ibf23b9e1277b6ce06e4ce70c9b7a5db9cbefce00 Fixes: 29643498
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
6fb0e52b85ebd5b31626703e3e0aea212ead70ac |
|
18-Aug-2016 |
Jorim Jaggi <jjaggi@google.com> |
Fix a flicker when returning to the lockscreen am: d11d1a9486 am: afaf4ac7a9 am: 9322632f6a Change-Id: I9cd7ead4caa2843e3063d55ea357e9e989c72f0e
|
d11d1a9486d44b98e28b70c25711ebfc283b746e |
|
17-Aug-2016 |
Jorim Jaggi <jjaggi@google.com> |
Fix a flicker when returning to the lockscreen If we return to the lockscreen from a FLAG_SHOW_WHEN_LOCKED activity, there was an additional black flicker as the wallpaper wasn't shown for a couple of frames. The issue is that we didn't set the wallpaper flag again, to fix another flicker with lockscreen wallpapers. Now, we pass the state whether we currently have a lockscreen wallpaper and if we don't have one, we immediately set the wallpaper flag again. Bug: 30829255 Bug: 30883413 Change-Id: I9faeaa77b98eb02058171ce19cf90b43826ebe9e
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
1839645126c8e7e0909e8ed8f0686c2122ba6078 |
|
28-Jul-2016 |
Evan Rosky <erosky@google.com> |
Add support for custom user-switch UI Given config_customUserSwitchUi, AM/UserController will not show any UI during user-switch (no dialog or screen-freeze). Provides a mechanism (WM.setSwitchingUser) by which a custom user-switch UI can notify WM/Keyguard when it expects a user-switch operation to be running. Bug: 29329555 Change-Id: Ic903fc251d7ec3a54bc6a77906d3afa45a6a5fac
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
92c9c4f3e6932958f5728705cb7ce1c255aa4a43 |
|
05-Aug-2016 |
Adrian Roos <roosa@google.com> |
Keyguard: Refactoring for improving trusted unlock while occluded am: d88eb2693b am: cb5642afae am: bfe5166ac3 Change-Id: I760b5f4d780231b06ec8ef733a8a002c3dd2420d
|
cb5642afaeb4686e3613130d83223667a0857bc8 |
|
05-Aug-2016 |
Adrian Roos <roosa@google.com> |
Keyguard: Refactoring for improving trusted unlock while occluded am: d88eb2693b Change-Id: I91f6bfe7a0573ad31785c5a3d1bff03a24d1107c
|
c49dfaf4d6161471a68bbc08d947c5d697a507e2 |
|
05-Aug-2016 |
Adrian Roos <roosa@google.com> |
Merge changes from topic 'smooth_unlock' into nyc-mr1-dev * changes: Keyguard: Improve trusted unlock while occluded Keyguard: Refactoring for improving trusted unlock while occluded
|
d88eb2693b6a70af0f5fbc5881ce855e28de33aa |
|
04-Aug-2016 |
Adrian Roos <roosa@google.com> |
Keyguard: Refactoring for improving trusted unlock while occluded - Adds a trusted signal from Keyguard to PhoneWindowManager - Allows PhoneWindowManager to exempt DISMISS_KEYGUARD windows from force hiding - Allows PhoneWindowManager to dismiss Keyguard while occluded Bug: 27410215 Change-Id: I3ad490b64a5805b6f3888a9f37fcfbdd0116395e
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
2a9f40118a99dc64ed0390b0edd0129b40fd5204 |
|
30-Jul-2016 |
Suprabh Shukla <suprabh@google.com> |
resolve merge conflicts of 16dedb7 to master Change-Id: I99024e13f69942f6d687e1f49fe66591c4844d97
|
323d2bbc34afdc856043eff31e2ab7d84e721545 |
|
28-Jul-2016 |
Suprabh Shukla <suprabh@google.com> |
Ensuring KeyguardService has the correct user when it starts Because RetailDemoModeService was switching user before KeyguardService was started, KeyguardViewMediator was missing the call to setCurrentUser on user switch. Setting the current user from keyguardState in onServiceConnected, if there was a user switch that happened earlier. Also changed RetailDemoModeService to switch user after it receives boot phase BOOT_COMPLETE. Bug: 30038980 Change-Id: I142570529097199ccc50849297ae67ca49d35534
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
10b889de7d0c9271e3fb47c87a8ed140bee9c271 |
|
12-May-2016 |
The Android Automerger <android-build-merger@google.com> |
stephenli Manually merge commit '68fffa5' * commit '68fffa5': (23 commits) Fix smallest width configuration calculation docs: DoDS, wearable reference docs Switch the default text selection handles to Material style. docs: Noted minor API changes in release notes docs: added "billions" doc in Distribute>Essentials Remove wear design pages redirecting to design/wear correct the support library redirects to redirect whole path Stop saving ActionMenuItemView state. Fix iterator double-advance in ContentObserverController TIF: Remove the uniqueness check for track ID from notifyTracksChanged Update and add attributes to the JavaDoc for VectorDrawable Use Q=100 JPEG instead of PNG for wallpaper display Fix issue #28400000: Settings memory UI still showing z-ram... docs: Updated support library revision history for 23.4.0 docs: Updates to notifications for DP3 docs: Added emoji section to api overview. Fixed a bug where the QS was animating wrong when closing Fix KeyguardManager.isSecure() to observe work profile cherrypick from mnc-docs docs: Updated APK Signature Scheme v2 doc. Docs: Added new Whitelist feature to Data Saver for DP3 ...
|
e4044bb617ea849939058d953e250fcd540c75cc |
|
11-May-2016 |
Jim Miller <jaggies@google.com> |
Fix KeyguardManager.isSecure() to observe work profile The fix passes the calling userId instead of the current userId to allow apps running as managed profiles to work. Fixes bug 28666104 Change-Id: I9f8676ab11bd581d9e67b2b9f385036d4d3576ee
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
2c0d6dcc8c5b66021642a036a3b31b393b707c79 |
|
29-Apr-2016 |
Tony Mak <tonymak@google.com> |
No keyguard should be shown after reboot if it is in kiosk mode 1. we disable keyguard before KeyguardServiceDelegate connect the KeyGuardService and the request is ignored. We now remember the request and redo it after connected 2. Instead of checking PRIVATE_FLAG_KEYGUARD flag, use isKeyguardShowingAndNotOccluded to check is keyguard showing. Bug: 28164604 Change-Id: Ib02b5fc9dcc6e8d9934309f1e540ece4d845363d
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
f1cdf9558d2b7f8fe5b8cf3d309b48809f04403b |
|
06-Apr-2016 |
Jorim Jaggi <jjaggi@google.com> |
Don't lock device when double tapping Bug: 24265204 Change-Id: Ia19e956def454604ed3f3e3e9815fc1872ef649a
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
691546e5b7f94a6e2d76630ee1287e0b9c69e7a8 |
|
09-Feb-2016 |
Adrian Roos <roosa@google.com> |
Isolate Keyguard from main thread badness Adds a bindService variant to run the ServiceConnection callbacks on a dedicated Handler. Changes KeyguardService binding to use the foreground thread instead of the main thread and changes state to the KeyguardScrim on the UI thread. Bug: 26954967 Change-Id: I9d7bd85382816cd0e23772b14ff6518266a9d232
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
2f3e35376ada0327b34a71d7c45ac6e6d955d7dc |
|
21-Dec-2015 |
Jeff Sharkey <jsharkey@android.com> |
More work towards triaging missing app behavior. Many places across the platform query package details without gracefully handling packages or components that go missing for various reasons. This can cause annoying user data loss, such as resetting back to built-in apps or dropping of accounts, etc. This change verifies that system callers have thought about these edge cases by logging if they use default matching behaviors without explicitly marking themselves as being "triaged." (The logging is currently disabled by default.) Also creates explicit definitions of supported flags for various incoming PackageManager calls, and defines a clear distinction between flag types: -- GET-style flags are used to request additional data that may have been elided to save wire space. -- MATCH-style flags are used to include components or packages that would have otherwise been omitted from a result set by current system state. There are a handful of existing GET flags that better fit under the MATCH definition, so this change clones them to new constants and marks the old ones as deprecated. Fixes bug in JobSchedulerService to consider jobs from apps on external storage. Revert some dialer behavior back to being untriaged. Change-Id: I9b6ab0968241e3479bddbd78de0c51e3b9917318
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
5217cacbd9f382068bb9e176cd5a0b15388a335c |
|
20-Dec-2015 |
Jeff Sharkey <jsharkey@android.com> |
Make JobSchedulerService encryption aware. When a user is started, but a persisted job component doesn't appear in the normal resolution list, we avoid enqueuing the job. Later when the user is unlocked, we take another pass over the pending jobs to see if they became available. Load keyboard layouts from XML metadata regardless of crypto status, since we don't need to spin up any remote code. Add MATCH_SYSTEM_ONLY to make system logic easier to write when looking for trusted components. Sprinkle more annotations on ArrayUtils methods. Bug: 26279465 Change-Id: Iec28e0bb46862b07d740b12a79f6360de68dab0f
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
e4de5a0d3b6e0c897c1cea0912b58e11db962365 |
|
23-Sep-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Cleanup OWNER references. Bug: 19913735 Change-Id: I2150c6baaab80fe11312e4401394a2a8da52e595
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
84dc08a208eea7a4ddf043cadbb28987cf90ae22 |
|
12-Sep-2015 |
Jorim Jaggi <jjaggi@google.com> |
Dump Keyguard state in SystemUI and PhoneWindowManager Bug: 23970549 Change-Id: Iec1e8ac507268086e0e2935847eda606ea1fb700
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
c04960733110cac07c9aaa2e75ec5dc83e3a36f0 |
|
20-Aug-2015 |
Jorim Jaggi <jjaggi@google.com> |
Save interactive/screen-on state in KeyguardServiceDelegate So when SystemUI/Keyguard crashes, we only call onStartedWakingUp and onScreenTurnedOn when the device is interactive and/or the screen is on. Bug: 23344236 Change-Id: I0d0be91ff15d6c552304659956770ab88bb26ba4
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
4a0e791cc0a71df2b0c6bae6e92a5f2100fb5841 |
|
30-Jul-2015 |
Jorim Jaggi <jjaggi@google.com> |
Workaround View.post issues to fix runtime crash Using View.post was really dangerous because when the view wasn't attached, it got posted on the run queue of the *calling* thread. However, that run queue was never executed until power down, and then it was executed from the PowerManagerService thread, because that was the calling thread when we posted it. Work around this by using a solid Handler. Bug: 22820787 Change-Id: Id60e49e859558993256fae0403236f2e4b6f1075
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
0d210f6395072db4a4c53d4cb8fac4a59a3965b4 |
|
10-Jul-2015 |
Jorim Jaggi <jjaggi@google.com> |
Animation for touch, wake and unlock - Add callback to inform SysUI when the screen has been unblocked and turned on. - Cleanup inconsistent messaging about device interactive/screen on and off. - Add callbacks to inform SysUI about screen states - Implement a quick fade for the scrim after touch, wake, and unlock. First, start with a black scrim on top of everything, and then fade it out. - Make sure we play the normal unlock animation when device is pulsing - Override navigation bar animations for touch, wake and unlock: Fade in the same manner as the scrim. Bug: 22571198 Bug: 21855614 Change-Id: I8ff08d72cced1e0f03c78d71ff710d8a4f6b848c
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
740452e8756cb7f51ed185c3906a5ca61b8fcdd4 |
|
09-Jul-2015 |
Jorim Jaggi <jjaggi@google.com> |
Touch, wake and unlock - Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent the device from sleeping. - If we get a successful fingerprint, wake the device up, immediately dismiss the keyguard and tell PWM that we kicked off our frame that will represent the correct state. - PWM then waits for this frame to be drawn, and then turns on the screen, which results in unlocking directly to the previsouly opened app. Bug: 21855614 Change-Id: I5f43df17fa5e4e9c6a6392eef4a4590b07df4f96
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
3542f7de3333f57bf0d01d8cfbd91a2a42038bf9 |
|
14-Jul-2015 |
Adrian Roos <roosa@google.com> |
Fix stuck scrim on keyguard-less devices Bug: 22413062 Change-Id: I6da6438ec54d33a1aa82d5575eb29e9bc4dbdd58
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
d175b6cfe0b35dfe251cc9315aacb048bf6e54c5 |
|
28-May-2015 |
Jorim Jaggi <jjaggi@google.com> |
Cleanup Keyguard handling when turning off screen Before, Keyguard was shown whenever PhoneWindowManager went to sleep. However, this was too early on some devices, and too late on others. Now, the callbacks are split up into two phases: startedGoingToSleep and finishedGoingToSleep. In the first callback, we decide what to do and play the lock sound if necessary. In the second callback, we actually show the Keyguard, or reset its state necessary, so it doesn't interfere with the screen off animation. Bug: 17929748 Bug: 20782303 Change-Id: I4c4406595b07b7589d64f380cd3fa96bed3d20ee
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
f253eeb9d3d23d02746406b2b0e721ba3b4563ce |
|
16-Apr-2015 |
Adrian Roos <roosa@google.com> |
Fix lockscreen bugs with SHOW_WHEN_LOCKED When unlocking to a SHOW_WHEN_LOCKED activity by clicking a notification, we don't get a the startKeyguardExitAnimation because Keyguard is not actually going away. Instead, we start it ourselves. Also fixes the bug where restarting Keyguard while it's occluded lead to an inconsistent state where the user got stuck on the lockscreen. Bug: 16481924 Change-Id: Iebc5bdd1287bbb81415ae01c7428850acc16c53f
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|
2a18cbcffaa7e8e34f7cd8b91e930eb2c08a6ef6 |
|
09-Mar-2015 |
Bryce Lee <brycelee@google.com> |
am 1b8df04b: am 8aeab6c8: Allow the keyguard service to be configurable. * commit '1b8df04b8d754f68dc6bfa6caa9e0a2666d16933': Allow the keyguard service to be configurable.
|
b10e33ff804a831c71be9303146cea892b9aeb5d |
|
04-Feb-2015 |
Jorim Jaggi <jjaggi@google.com> |
Split up android.policy into framework.jar and services.jar 1/3 Change-Id: Ifd69f1f3dd308a7e17a1442e2f3950da8b03cec4
/frameworks/base/services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java
|