summaryrefslogtreecommitdiffstats
path: root/policy/com
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Add replace flag to a few more broadcasts.Dianne Hackborn2009-12-112-0/+2
| | |
* | | Prevent NPE in recent apps dialog.Daniel Sandler2009-12-081-2/+5
| | | | | | | | | | | | Bug: 2284111
* | | Move emergency call button to top-right when no SIM.Daniel Sandler2009-12-071-21/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also allows lockscreen's toasts to restore the previous text in the status TextView, which is necessary for this UI. Also added color to the toasts (another UI ask). In conjunction with change Ifea65fb9. http://b/2260798
* | | am 4dbf514c: Fix issue #2302336: System dialogs are not being given a layerDianne Hackborn2009-12-031-11/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '4dbf514c6c73832630e4c9bb068cf950ff044a34' into eclair-mr2 * commit '4dbf514c6c73832630e4c9bb068cf950ff044a34': Fix issue #2302336: System dialogs are not being given a layer
| * | Fix issue #2302336: System dialogs are not being given a layerDianne Hackborn2009-12-031-11/+14
| | | | | | | | | | | | | | | | | | Define a new dedicated layer for system dialogs and use it. Change-Id: Iaa8b7a48617ae37ea3e83c9f77b1d357f750f5bc
* | | am db0ec648: Merge change I85572973 into eclairMike Lockwood2009-12-031-2/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'db0ec6480b806799f05f3d6fd04d742564af8f2f' into eclair-mr2 * commit 'db0ec6480b806799f05f3d6fd04d742564af8f2f': Do not show keyguard if screen is turned off by proximity sensor.
| * | Merge change I85572973 into eclairAndroid (Google) Code Review2009-12-031-2/+5
| |\ \ | | | | | | | | | | | | | | | | * changes: Do not show keyguard if screen is turned off by proximity sensor.
| | * | Do not show keyguard if screen is turned off by proximity sensor.Mike Lockwood2009-12-031-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug b/2300622 (Proximity sensor always blows up the lock screen while in call) Change-Id: I85572973c142a72b3bba0bb032e5d2f710b5e36c Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | am 30429ac6: Tiny code fix required for http://b/2260798 .Daniel Sandler2009-12-031-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '30429ac60e512453d4d7af212788819754b24691' into eclair-mr2 * commit '30429ac60e512453d4d7af212788819754b24691': Tiny code fix required for http://b/2260798 .
| * | | Tiny code fix required for http://b/2260798 .Daniel Sandler2009-12-031-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | (We were trying to place the emergency call button beneath a layout object that no longer exists, which is why it was showing up at the top of the screen on top of other things.) Change-Id: I10b8b90f0e5923edf5d672b822ee8da6e28933d2
* | | am 15ee33d4: Revert "Fix problems with ↵Mike Lockwood2009-12-021-23/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKED window manager flag." Merge commit '15ee33d4d475dc31709808a64120e56d555e992e' into eclair-mr2 * commit '15ee33d4d475dc31709808a64120e56d555e992e': Revert "Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKED window manager flag."
| * | Revert "Fix problems with KeyguardManager.exitKeyguardSecurely() and the ↵Mike Lockwood2009-12-021-23/+7
| | | | | | | | | | | | | | | | | | | | | FLAG_SHOW_WHEN_LOCKED window manager flag." We have a better solution for this in the Phone app. This reverts commit b684251e8f1e85ea9483af2b80bc92f0fd8ded1c.
* | | am e7ef4241: Fix volume keys when in-call and screen is off due to proximity ↵Mike Lockwood2009-12-021-6/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | sensor. Merge commit 'e7ef42416088235d9e220e3b031d4f612f436a06' into eclair-mr2 * commit 'e7ef42416088235d9e220e3b031d4f612f436a06': Fix volume keys when in-call and screen is off due to proximity sensor.
| * | Fix volume keys when in-call and screen is off due to proximity sensor.Mike Lockwood2009-12-021-6/+3
| | | | | | | | | | | | | | | | | | | | | Fixes bug b/2297262 (Volume keys on passion don't work while in-call and phone is pressed to my ear) Change-Id: I775daa24295482000f87273d1f84dd796fb0f4eb Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | am b684251e: Fix problems with KeyguardManager.exitKeyguardSecurely() and ↵Mike Lockwood2009-12-021-7/+23
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | the FLAG_SHOW_WHEN_LOCKED window manager flag. Merge commit 'b684251e8f1e85ea9483af2b80bc92f0fd8ded1c' into eclair-mr2 * commit 'b684251e8f1e85ea9483af2b80bc92f0fd8ded1c': Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKED window manager flag.
| * | Fix problems with KeyguardManager.exitKeyguardSecurely() and the ↵Mike Lockwood2009-12-021-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | FLAG_SHOW_WHEN_LOCKED window manager flag. Fixes b/2297221 ('Add call' button has no action, if call is answered on lockpattern screen) Change-Id: I6df8f64dedc4d2d8b02f746213c7b1b336d6560e Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | resolved conflicts for merge of b64c72df to eclair-mr2Mike Lockwood2009-12-011-4/+10
|\ \ \ | |/ / | | | | | | Change-Id: If3c6a28281b08464fd3f24e752f5e07f6f8a420e
| * | Fix bug 2290852: Screen wakes up in my pocket while listening to musicMike Lockwood2009-11-281-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | When the screen is off keyguard is open but hidden by another activity make sure that non-waking events like volume key or track ball press do not turn the screen back on. Change-Id: Ie6b191360b903b54388a6f65680ccc3264a51dd8 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Remove some unused window manager methods.Mike Lockwood2009-11-281-2/+1
| | | | | | | | | | | | | | | Change-Id: Idd23ea4adb7328781ea81c45d61392b51dee1374 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | am 760d266a: Merge change I9987ba41 into eclairJim Miller2009-11-243-24/+60
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '760d266a4195db5f3f3dee94be9e0c020cf4051f' into eclair-mr2 * commit '760d266a4195db5f3f3dee94be9e0c020cf4051f': Fix 2270597: Add callback to watch ringer state and update lock screen UI when it changes.
| * | Merge change I9987ba41 into eclairAndroid (Google) Code Review2009-11-243-24/+60
| |\ \ | | | | | | | | | | | | | | | | * changes: Fix 2270597: Add callback to watch ringer state and update lock screen UI when it changes.
| | * | Fix 2270597: Add callback to watch ringer state and update lock screen UI ↵Jim Miller2009-11-243-24/+60
| | | | | | | | | | | | | | | | when it changes.
* | | | am 5da799e0: Bug 2248173 - Tell listeners to ACTION_CLOSE_SYSTEM_DIALOGS ↵Joe Onorato2009-11-241-2/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | that we\'re doing so because of the home key. Merge commit '5da799e012cc4427a4f656e2416bcd73c22acd83' into eclair-mr2 * commit '5da799e012cc4427a4f656e2416bcd73c22acd83': Bug 2248173 - Tell listeners to ACTION_CLOSE_SYSTEM_DIALOGS that we're doing so because of the home
| * | | Bug 2248173 - Tell listeners to ACTION_CLOSE_SYSTEM_DIALOGS that we're doing ↵Joe Onorato2009-11-241-2/+3
| |/ / | | | | | | | | | | | | | | | so because of the home key.
* | | END_BUTTON_BEHAVIOR setting should affect end call button only (not power ↵Mike Lockwood2009-11-231-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | button) Fixes b/2212852 ("end button behavior" in spare parts doesn't work) Change-Id: Ia17f37ad82b17f3a0e1ceb1ab7a0211b1d3ad8be Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | When keyguard is active, only allow the status bar to be opened if it is ↵Mike Lockwood2009-11-201-0/+22
|/ / | | | | | | | | | | | | | | | | insecure and covered by another window. Fixes b/2215112 (When screen wakes to Playback screen, Notification Bar is active) Change-Id: I43a8574259788d983c30b1a22e5bfc4e95d09bee Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Fix issue #2264162 and #2252436: Now playing screens problems when locked.Dianne Hackborn2009-11-182-5/+12
| | | | | | | | | | | | | | We now treat the case where the lock screen is hidden to be basically the same as it being removed for purposes of event dispatching and other things in the policy. Change-Id: I7386220594ad6e89e1493d643b1f0603663ae72a
* | Fix issue #2249821: Unable to start passion in safe modeDianne Hackborn2009-11-181-2/+2
| | | | | | | | Change-Id: I4320b38ce0cda4dca560c07bc0378b507032598a
* | Handle KeyguardViewMediator.setHidden() asynchronously to avoid deadlocks.Mike Lockwood2009-11-171-2/+17
| | | | | | | | | | | | | | Fixes b/2267046 (Could not shut off alarm; then device reboot) Change-Id: Id8f3e24edc5e1242a39c5d43bd549b5cb05abb36 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Fix 2209086: Fix visual glitches in lockscreen.Jim Miller2009-11-161-0/+1
| | | | | | | | Call new setHoldAfterTrigger() method to enable feature added in https://android-git.corp.google.com/g/#change,33380.
* | Fix 2209086: Fix missing callback that was preventing right tab bar text ↵Jim Miller2009-11-151-6/+12
| | | | | | | | from updating.
* | Fix a race condition determining whether password fallback mode is allowed.Daniel Sandler2009-11-133-14/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix is in LockPatternKeyguardView, whose constructor was firing off an asynchronous request to the AccountManager to find out about the specifics of the account on the device. (If it's SAML, we don't have the password in cleartext and therefore can't use it to unlock.) Unfortunately, if the AccountManager responds too quickly, we get the answer (in LPKV.run()) before the UnlockScreen has even been instantiated (later in LPKV's ctor). The fix is to create the unlock screen first and *then* ping the AccountManager for details. Bug: http://b/2216308 Change-Id: Iedc84675c0ab8a001d062d806e2bee7ed1a29758
* | Merge change Icdb3d036 into eclairAndroid (Google) Code Review2009-11-131-1/+1
|\ \ | | | | | | | | | | | | * changes: Don't trigger user activity in screenOnStoppedLw() if the screen is off.
| * | Don't trigger user activity in screenOnStoppedLw() if the screen is off.Mike Lockwood2009-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes b/2260437 (device wakes itself back up when camera is last application running) Change-Id: Icdb3d0369df752a3838fa8e58c7a4bb08efe00a6 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Use new date format for lock screen.Daniel Sandler2009-11-132-27/+7
|/ / | | | | | | | | | | | | Fixes http://b/issue?id=2247356 (well, it will once the format is updated to include the full day-of-week). Change-Id: Iaafbc60b7ff3edbfee7208052ecc1575cb8c226c
* | Update LockScreen/UnlockScreen for new UX designs.Daniel Sandler2009-11-122-8/+0
| | | | | | | | | | This change depends upon relevant layout changes in frameworks/base/core/res/res.
* | Fix 2209086: Update sound states in LockScreen.Jim Miller2009-11-111-1/+3
| |
* | Fix for 2209086: Initial pass at new SlidingTab widget and integration into ↵Jim Miller2009-11-111-29/+43
| | | | | | | | | | | | | | | | | | | | LockScreen. Tested: - unlock and mute/unmute Not working: - highlighting on right tab.
* | Restore short screen timeout when keyguard is unhidden.Mike Lockwood2009-11-101-1/+8
| | | | | | | | | | | | | | This is part of a fix for bug b/2248320 (Lock screen does not time out after 5 seconds, after call-decline) Change-Id: I9ad8cc54fe50d8c9862eec27341fabbd0e871bdd Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Do not apply keyguard's short timeout when the keyguard is hidden by another ↵Mike Lockwood2009-11-082-6/+22
| | | | | | | | | | | | | | | | | | window. Fixes bug b/2215852 (Music player doesn't grab screen wakelock) Change-Id: I6c402cdb460d216314ad72e37dbcdc7e19518941 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Fix 2129239: Add an override method for enabling the menu key on signed builds.Jim Miller2009-11-031-7/+22
| | | | | | | | | | | | | | | | | | There are now 3 ways to enable the menu key: - by config file (config_disableMenuKeyInLockScreen) - by 'adb shell setprop ro.monkey=1' (for automated testing on userdebug builds) - by creating file '/data/local/enable_menu_key (for automated testing on signed user builds) Security: this only affects the insecure lock screen (not lock pattern) which is generally enabled.
* | Merge change I13ea5a5a into eclairAndroid (Google) Code Review2009-10-281-1/+6
|\ \ | | | | | | | | | | | | * changes: Fix 2201413: Enable login on Passion when there's no SIM
| * | Fix 2201413: Enable login on Passion when there's no SIMJim Miller2009-10-281-1/+6
| | |
* | | Fix for 2201954: Disable haptic feedback for hard keys while keyguard is showingJim Miller2009-10-271-2/+3
|/ /
* | When phone is ringing, power button should only mute the ringer, not hang up.Mike Lockwood2009-10-231-6/+8
| | | | | | | | | | | | | | Fixes my previous fix for bug b/2201585 (Pressing power button when phone ringing should mute ringer) Change-Id: I9460e21245b9719f715818f7ad878b121857d773 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | When phone is ringing, power button should hang up phone in addition to ↵Mike Lockwood2009-10-221-7/+10
| | | | | | | | | | | | | | | | | | turning off the screen. Fixes bug b/2201585 (Pressing power button when phone ringing should mute ringer) Change-Id: Ief3e26044f9b0ceaf41c5dc6be52f0d1e9897810 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Disable key repeats when the screen is off.Mike Lockwood2009-10-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | This prevents an endless stream of key repeats spamming the keyguard if a volume key is pressed at the same time you turn off the screen with the power button. This is part of a fix for bug b/2198537 Change-Id: I0d7e335fee79cbebba96b2cd908458c3c94c839e Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Cherry-pick from mr2 to eclair: DO NOT MERGEJim Miller2009-10-081-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 149c0543a3d5f450686b7c3d142ac5f8fcf61ed4 BUG=2176949 Partial fix for 2069703: Fix race condition in KeyguardViewManager.hide() that could result in a blank screen. This fixes a race condition seen whenever show() is called before the timer in hide() triggers. This can happen for example if the user hits "Emergency Dial" followed by the back button before the 0.5s timeout completes. The result is a blank screen with no keyguard view and no means to recover on devices w/o a keyboard. The bug caused us to sometimes remove the newly created KeyguardView instead of the old one, leaving the view empty. The fix is to always remove the last view.
* | Ignore requests to hide the keyguard if we are in the process of waking up.Mike Lockwood2009-10-081-0/+4
| | | | | | | | | | | | | | | | | | | | This should fix a race condition that results in the screen waking up and displaying nothing but wall paper Bug b/2168660 Change-Id: I55bac0aaab8425cde282e7fc7e7c6b82217fbc9d Signed-off-by: Mike Lockwood <lockwood@android.com>
* | More fix #2163209: alarm clock rings but is hidden behind lock screenDianne Hackborn2009-10-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Another way we could miss the application's flags is because the system now force hides application windows behind the lock screen. So we need to use this new API to actually take those into account when looking for the top-most window that can specify for the lock screen to be removed or hidden. I have tested with pulling the device in and out of the desktop with all kinds of random speeds and ways and this -seems- to now cover everything. Keeping fingers crossed. Change-Id: Ice640eea6ee06ee27f069d60856fb394c7eeae51