summaryrefslogtreecommitdiffstats
path: root/policy
Commit message (Collapse)AuthorAgeFilesLines
* Quiet down a lot of logging.Dianne Hackborn2012-11-272-2/+1
| | | | | | | Also fix a little problem where the USER_STARTED broadcasts were not being sent as ordered broadcasts(!). Change-Id: I3aa3e0a9b3900967cdd2d115ee103371b0a50c41
* Removing unecessary additional lock metadata from QuickSettings user tile.Winson Chung2012-11-262-10/+1
| | | | Change-Id: I89ec94385eb3cdd46ad6942bf8989fb04d5c0370
* Removing the plus page when we reach the max number of allowable widgets. ↵Winson Chung2012-11-263-20/+46
| | | | | | | | (Bug 7564782) - Also adding feedback on the plus page (Bug 7500328) Change-Id: Iddd09b7a3d5347a43bc040052114879cbaecccd9
* Fix a couple issues with page / outline alphas (issue 7488857)Adam Cohen2012-11-213-27/+55
| | | | | | | | -> Fix bug where page hints didn't disappear on boot -> Fix bug where you see a weird rotated page under the lock affordance (usually after adding a widget) Change-Id: I75b04ceadbc296d033cc9fb1cff32ab9d6e5ce9b
* Fix reboot loop caused by keyguard appwidget cleanupMichael Jurka2012-11-211-0/+11
| | | Bug: 7591092
* Refactor the lockscreen camera widget, removing the bitmap.John Spurlock2012-11-193-141/+160
| | | | | | | | | | | | | | | | | | | | | | The new approach is to create two views: - Widget preview, drawn at full-size, then scaled to fit frame. - Fullscreen preview, drawn at full-size, used during animation. Two views are necessary to both ensure the widget scrolls properly with the widget page yet still appears to scale up and match the camera app pixel for pixel. The offscreen bitmap and associated background rendering is no longer necessary. This avoids the large allocation and associated rendering time after turning screen on. Also fixes 1px horizontal discrepancy during old scale-up anim. Also suppresses long-click behavior on the camera widget. Bug:7471107 Bug:7559755 Change-Id: I1d834aa743bc05d6a7e2ce3eadfee8d5ff40da37
* Delete appWidgetId when removing lockscreen widgetsMichael Jurka2012-11-163-8/+43
| | | | | Bug: 7550012 Change-Id: Ia9f5266256016eb91bfd6a2d5a7f910c42948f1e
* Merge "Synchronize access to Locked methods. DO NOT MERGE" into jb-mr1.1-devCraig Mautner2012-11-131-6/+13
|\
| * Synchronize access to Locked methods. DO NOT MERGECraig Mautner2012-11-081-6/+13
| | | | | | | | | | | | | | | | | | | | onConfigurationChange was calling maybeCreateKeyguardLocked without actually holding the lock. Now the call to maybeCreateKeyguardLocked is synchronized. May fix bug 7094175. Change-Id: I3171a18e25f54506f614f9c2cc09aa20080bd6bb
* | Disable navbar searchlight if search assist not available.John Spurlock2012-11-091-0/+12
|/ | | | | Bug:7506441 Change-Id: I55c740d4c3a45b9f7fdfa38346d1bc3fb1299153
* Merge "Preventing more than five widgets from being added in the carousel ↵Adam Cohen2012-11-082-0/+11
|\ | | | | | | (issue 7502935)" into jb-mr1-dev
| * Preventing more than five widgets from being added in the carousel (issue ↵Winson Chung2012-11-082-0/+11
| | | | | | | | | | | | 7502935) Change-Id: I26e6e154992e56b128d541578ffd3891776a3f7a
* | Merge "Deferring size callbacks until boot completed (issue 7469267)" into ↵Adam Cohen2012-11-082-7/+32
|\ \ | | | | | | | | | jb-mr1-dev
| * | Deferring size callbacks until boot completed (issue 7469267)Adam Cohen2012-11-082-7/+32
| |/ | | | | | | | | | | -> Also bumping priority of the boot completed receiver Change-Id: I7b68a29b4a8c927713bfbc1f4585f96ce0c47f35
* | Merge "Remove extraneous logs." into jb-mr1-devDianne Hackborn2012-11-081-1/+1
|\ \ | |/ |/|
| * Remove extraneous logs.Dianne Hackborn2012-11-081-1/+1
| | | | | | | | Change-Id: I4c47d36748de91bd6fddc419afbf59552bf63e9a
* | Merge "Don't crash if no ECA." into jb-mr1-lockscreen-devDaniel Sandler2012-11-081-6/+11
|\ \
| * | Don't crash if no ECA.Daniel Sandler2012-11-081-6/+11
| | | | | | | | | | | | | | | | | | | | | (Phone landscape pattern lock, for example.) Bug: 7502613 Change-Id: I3f48c4351ea04db2d8ad9a410166f60257f3d954
* | | Merge "Only show the bouncer for the assistant if secure." into ↵Daniel Sandler2012-11-082-13/+12
|\ \ \ | | | | | | | | | | | | jb-mr1-lockscreen-dev
| * | | Only show the bouncer for the assistant if secure.Daniel Sandler2012-11-082-13/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do this by using the helpful tools in KeyguardActivityLauncher which do all the right callbacks and stuff. (This assumes the assist gesture is sufficiently hard to false that we don't need the extra step of bouncing the glowpad unlock affordance.) Bug: 7500637 Change-Id: Id68cb85cdfd741f43a5bce69118ec4209125d785
* | | Address comments from merged "Fix remaining jank in sec..."John Spurlock2012-11-084-8/+12
|/ / | | | | | | | | | | | | | | Cleanup based on post-merge comments on: I554ddffb7981488fa8a81933842b0c7730e775f3 Bug:7482560 Change-Id: I06b2bc91da9dfddd06db69efb9e7ad45c304f709
* | Enforce max number of 5 lockscreen widgetsMichael Jurka2012-11-082-1/+37
| | | | | | | | Change-Id: I7b7fca18174736c8f1aa0018f7399982c80b1cb0
* | Merge "Adding user activity when the challenge is slid down" into ↵Adam Cohen2012-11-082-6/+22
|\ \ | | | | | | | | | jb-mr1-lockscreen-dev
| * | Adding user activity when the challenge is slid downAdam Cohen2012-11-082-6/+22
| | | | | | | | | | | | Change-Id: I54a7dcf79718090dac6ec5991185712cc2abca37
* | | Merge "Add mechanism to kick keyguard to show the assistant" into ↵Jim Miller2012-11-085-0/+58
|\ \ \ | | | | | | | | | | | | jb-mr1-lockscreen-dev
| * | | Add mechanism to kick keyguard to show the assistantJim Miller2012-11-085-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 7499778 Change-Id: Ic9ea514feb489feeee6716f40bdb9792842f9515
* | | | Merge "add bouncer frame to glowpad." into jb-mr1-lockscreen-devAdam Powell2012-11-082-8/+17
|\ \ \ \ | | |/ / | |/| |
| * | | add bouncer frame to glowpad.Chris Wren2012-11-072-8/+17
| | | | | | | | | | | | | | | | | | | | Bug: 7497916 Change-Id: I6bddbfc91c89b0855eba0dcec46bc1b88684b8ad
* | | | Keyguard - force showing the status barAdam Powell2012-11-081-0/+1
| | | | | | | | | | | | | | | | Change-Id: I168293497a829346ba6f9566370c418ef1a09f8f
* | | | Disable interactive mode for full-screen security views in keyguard.Jim Miller2012-11-071-5/+10
|/ / / | | | | | | | | | Change-Id: Ied038ba96ba3a6e6f6b4bd25a4c5be74814596fe
* | | Merge "Clean up some flashy jank (issue 7454766)" into jb-mr1-lockscreen-devAdam Cohen2012-11-072-4/+21
|\ \ \
| * | | Clean up some flashy jank (issue 7454766)Adam Cohen2012-11-072-4/+21
| | | | | | | | | | | | | | | | Change-Id: I809f3afbbb70e82847aa4851d20058a2c483a32e
* | | | Synchronizing bouncer duration with page scaling duration.Winson Chung2012-11-075-13/+56
| |/ / |/| | | | | | | | Change-Id: I9fba381582a083ce2ab26375698c5a6f3d554a1b
* | | Merge "Fiddle with keyguard glowpad layouts" into jb-mr1-lockscreen-devAdam Powell2012-11-071-3/+7
|\ \ \
| * | | Fiddle with keyguard glowpad layoutsAdam Powell2012-11-071-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add hierarchyviewer support for KeyguardSecurityView LayoutParams Bug 7497272 Bug 7459668 Change-Id: I5d03751571d0af66f4c9d08a9d9ca476b32735ac
* | | | Adding workaround to fix issue where the bouncer animation had the wrong pivot.Winson Chung2012-11-071-0/+3
| | | | | | | | | | | | | | | | Change-Id: I500fb765cf206b97cc0b585c195cc647cc8e63f1
* | | | Merge "Don't handle click events on the emergency button in bouncer mode" ↵Jim Miller2012-11-071-1/+17
|\ \ \ \ | |/ / / |/| | | | | | | into jb-mr1-lockscreen-dev
| * | | Don't handle click events on the emergency button in bouncer modeJim Miller2012-11-071-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug where the emergency call button was hidden, but not gone. This adds a call to setVisibility(INVISIBLE) when the alpha is animated to 0 and restore it when bouncer mode is dismissed. Fixes bug 7498389 Change-Id: I0898542ff7c666c8f41175a330b72d3450475739
* | | | Merge "Use stable layouts for keyguard/SlidingChallengeLayout" into ↵Adam Powell2012-11-072-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | jb-mr1-lockscreen-dev
| * | | | Use stable layouts for keyguard/SlidingChallengeLayoutAdam Powell2012-11-072-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When coming back from the secure camera we will be transitioning from fullscreen back to not-fullscreen with regard to the status bar. Flag SlidingChallengeLayout to force the window to have stable insets so that our layout doesn't jump around during this transition. Set the same flag in MultiPaneChallengeLayout as well so that similar cases with other activities are also covered. Bug 7498950 Change-Id: I1b65e04d1404e764ddad29472b70cf791d6801f9
* | | | | Merge "Make dismissKeyguardLw use KeyguardViewMediator.dismiss()." into ↵Daniel Sandler2012-11-071-6/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | jb-mr1-lockscreen-dev
| * | | | | Make dismissKeyguardLw use KeyguardViewMediator.dismiss().Daniel Sandler2012-11-071-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It previously did some of the logic of dismiss() itself: checking to see if the KG is secure, and if not, proceeding to call keyguardDone() to actually hide everything. But now that we have the "bouncer" authentication UI, the WM should let the keyguard challenge the user to see if even a secure keyguard should be dismissed. (Insecure keyguards should behave exactly has they did before.) Unless, of course, the KVM is in a "dismissable" state, in which case it's safe to call keyguardDone() directly. (This can happen if the user has *already* authenticated and we're ending up in this codepath in response.) Bug: 7458531 Change-Id: I9571acf19f9bcc16bba7a826f916da7be8ca9c33
* | | | | | Merge "Fixing issue where you can reorder/delete a non-widget page. (Bug ↵Winson Chung2012-11-073-2/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 7493984)" into jb-mr1-lockscreen-dev
| * | | | | | Fixing issue where you can reorder/delete a non-widget page. (Bug 7493984)Winson Chung2012-11-073-2/+20
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Laying out the drop target without padding from the multiuser picker Change-Id: Icd3528a13f84a789341a841645bfde4e51fd1747
* | | | | | Merge "Fixing up overscroll asset / sizing" into jb-mr1-lockscreen-devAdam Cohen2012-11-074-17/+30
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Fixing up overscroll asset / sizingAdam Cohen2012-11-074-17/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> No more jaggies! yay (issue 7459049) -> Fixed up weird overscroll state (issue 7489094) Change-Id: I5d6714a6f5f007ea0f73e4cf34a20572c5f43f64
* | | | | | Merge "Add one more check for detecting crashes while inflating multiuser ↵Jim Miller2012-11-071-3/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | widget" into jb-mr1-lockscreen-dev
| * | | | | | Add one more check for detecting crashes while inflating multiuser widgetJim Miller2012-11-071-3/+10
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 7437751 Change-Id: I2e1d94458db9e56e049dae32f088b13a21803217
* | | | | | Merge "Implement fallback clock in keyguard" into jb-mr1-lockscreen-devJim Miller2012-11-072-351/+105
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Implement fallback clock in keyguardJim Miller2012-11-072-351/+105
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This clock is shown if widgets are ever disabled by DPM and the default clock package is not enabled. Fixes bug 7469367 Change-Id: I8cf140c0fc00dd56265e3a332aff2fe3b41e3ec0