summaryrefslogtreecommitdiffstats
path: root/policy
Commit message (Collapse)AuthorAgeFilesLines
* Manual integration of I32a7b5 from froyoJim Miller2010-05-061-32/+32
| | | | | | | | | Fix 2662816: Move UI update from async callback to ui thread. This fixes a bug where the view hierarchy in AccountUnlockScreen was being modified by the async callback thread from AccountManager. Change-Id: I5f1b4e04a7e4af68a5705545765f294cdbd0f17b
* Integrate a bunch of stuff from Froyo:Dianne Hackborn2010-04-292-73/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix issue #2574016: Preferred activity setting is not persistent 14/48014/1 author Dianne Hackborn <hackbod@google.com> Wed, 7 Apr 2010 03:24:15 +0000 (20:24 -0700) committer Dianne Hackborn <hackbod@google.com> Wed, 7 Apr 2010 03:24:15 +0000 (20:24 -0700) commit 3cce600614c2a2643ae9a38c6ed87c06c7bab0b6 tree 394f330634ab83a97b244fbd214d5edbbd44fa52 tree | snapshot parent 7d8866f9ef026870d4735d6f2ede49525150e53e commit | diff Fix issue #2574016: Preferred activity setting is not persistent The recent tasks UI was trying to retrieve the current home activity in the wrong way, causing it to be a different match of activities and thus clearing any preferred activity that was set. In the future we should look at what the package manager is doing here and make it more robust in how it clears the list... but for now, this is the safest thing. Change-Id: Idc917dffa7d05d62671213414387e8bdb2e34bea Fix issue #2555171: Switching to app immediately after unmounting SD card causes... 28/48128/1 author Dianne Hackborn <hackbod@google.com> Thu, 8 Apr 2010 01:15:32 +0000 (18:15 -0700) committer Dianne Hackborn <hackbod@google.com> Thu, 8 Apr 2010 01:15:32 +0000 (18:15 -0700) commit 31abd7f677190edfa67cb96fb4ddb166e974cb3e tree 7cc1059c3c6689ba3f2af5161585b3e7241e0580 tree | snapshot parent 3cce600614c2a2643ae9a38c6ed87c06c7bab0b6 commit | diff Fix issue #2555171: Switching to app immediately after unmounting SD card causes reboot. Change-Id: I509162e136dd721fecfaabc45a046537b2d19077 Fix issue #2586349: Accelerometer is enabled when in car mode 61/48361/1 author Dianne Hackborn <hackbod@google.com> Fri, 9 Apr 2010 23:40:33 +0000 (16:40 -0700) committer Dianne Hackborn <hackbod@google.com> Fri, 9 Apr 2010 23:40:33 +0000 (16:40 -0700) commit b0d3a2371f92d19d01aa2ca8e4f382738273f2dd tree e134d055ce8efb4ef48a74c45da0325ed55852ea tree | snapshot parent eeb2497f92b8d1466918990d536e2d31b5a85c07 commit | diff Fix issue #2586349: Accelerometer is enabled when in car mode Change-Id: Iab5ca4ea9f69bd54f815fc7463df808d81c61ffd Fix issue #2555171: Switching to app immediately after unmounting... 65/48665/1 dalvik-dev froyo froyo-plus-aosp froyo-release stage-korg-froyo stage-korg-master author Dianne Hackborn <hackbod@google.com> Tue, 13 Apr 2010 19:48:30 +0000 (12:48 -0700) committer Dianne Hackborn <hackbod@google.com> Tue, 13 Apr 2010 19:52:10 +0000 (12:52 -0700) commit cddfd77b45662d7316aaed3d0159d0f42d284cfc tree c52d612ada1f85d3d38b3e776bc520b7a0b22256 tree | snapshot parent 5fa04b55a94b5cd98f1e6e1197cc4e6ef26a7061 commit | diff Fix issue #2555171: Switching to app immediately after unmounting... ...SD card causes reboot. Deal with unavailable apps in recent tasks UI. Change-Id: Ib85b773c5c6df7afb12db551b6cef63edbc6df64
* Merge "Manual merge of Ida6a4cdd3abcbcab7e2fe8450a25c0dc36765f04" into krakenJim Miller2010-04-151-6/+9
|\
| * Manual merge of Ida6a4cdd3abcbcab7e2fe8450a25c0dc36765f04Jim Miller2010-04-151-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix 2572446: Also watch keyboard changes in PIN/Password unlock. The PIN/Password unlock screen was monitoring orientation changes. However, while docked, this isn't useful since orientation remains fixed. This change makes PasswordUnlockScreen also looks for changes to config.hardKeyboardHidden. Tested: WVGA device while docked and opening/closing the keyboard. Change-Id: Iaadb277028f2dd1f85fd0f627a686a86ac51a2ed
* | Manual merge of Idf6bb25438336616e6453e7afe0e79f227af98d3Jim Miller2010-04-152-2/+9
|/ | | | | | | | | | | | | | | Fix 2575838: Update emergency button in AccountUnlockScreen DO NOT MERGE AccountUnlockScreen wasn't registered to receive updates from UpdateMonitor. It now correctly updates the Emergency call button to allow the user to return to the call in progress (InCallScreen). Tested on WVGA device with keyboard: - hitting Home during call, observing state, and pressing button to return to call. - hitting Home while not in call to ensure it still invokes EmergencyDialer. - above in various keyboard states. Change-Id: Ic4480ff69ff4479557ddb7f76c751b005b1c60bf
* Manually integrating froyo lockscreen fixes:Daniel Sandler2010-04-131-30/+33
| | | | | | | | | | | | | I6872c3ad135bc34348adafa76e08a3878f1b506f "Add emergency call button to PUK'd lockscreen." Bug: 2568732 I5ad8745443fc97225af9efb938e4640cfc29b5d7 "Restore text field used by sliding tab to give ringer mode feedback." Bug: 2587358 Change-Id: Ide3ad839aaf029930c0bf7ba4b9f6587efbd811d
* Finish moving the policies out of frameworks/policies/base and into ↵Joe Onorato2010-04-061-3/+2
| | | | | | frameworks/base. Change-Id: Id3a0c06202b0f6f2206acf490c8655d340ee0556
* de-activate makefileJean-Baptiste Queru2010-04-061-1/+1
| | | | Change-Id: I6def51dea7aab002f7dbbe1e2573f52a2caa94fe
* am 7d8866f9: Redo the look of the recent apps switcher.Joe Onorato2010-04-063-46/+387
|\ | | | | | | | | | | | | Merge commit '7d8866f9ef026870d4735d6f2ede49525150e53e' into kraken * commit '7d8866f9ef026870d4735d6f2ede49525150e53e': Redo the look of the recent apps switcher.
| * Redo the look of the recent apps switcher.Joe Onorato2010-04-053-46/+387
| | | | | | | | Change-Id: Icb523e2f5949c2b502aa8003aa14b7ac98a616f2
* | am 876b0644: Fix 2555028: Restore showing tab unlock before PIN & password ↵Jim Miller2010-03-301-3/+8
|\ \ | |/ | | | | | | | | | | | | | | entry. Merge commit '876b0644770d1790b21e4049bc7f40851045dc86' into kraken * commit '876b0644770d1790b21e4049bc7f40851045dc86': Fix 2555028: Restore showing tab unlock before PIN & password entry.
| * Fix 2555028: Restore showing tab unlock before PIN & password entry.Jim Miller2010-03-291-3/+8
| | | | | | | | | | | | | | This fixes a bug introduced in change 46594 that prevents showing the tab unlock screen before PIN & password entry. Change-Id: Ibd603921f6a22b603652c4751fa0f2f7d9129bb2
* | am 71836f4c: Remove scroll barrier constant. Bug #2553595Romain Guy2010-03-291-9/+1
|\ \ | |/ | | | | | | | | | | Merge commit '71836f4cb6389042d839d2a26582f796c6e97c26' into kraken * commit '71836f4cb6389042d839d2a26582f796c6e97c26': Remove scroll barrier constant.
| * Remove scroll barrier constant.Romain Guy2010-03-291-9/+1
| | | | | | | | | | | | Bug #2553595 Change-Id: Ie3bb31930b57ed1a658b79632786dfef9435ccf3
| * Redesigned keyguard layout in the no-SIM case. DO NOT MERGEDaniel Sandler2010-03-261-37/+20
|/ | | | | | | | | | | | | The emergency call button has been removed (since the user can disable the keyguard, open the phone app, and enter the emergency number there). This change also restores a number of the informational & help messages that were previously removed from the lock screen. Bug: 2421380 Change-Id: I4dda16be5d54c1e0ab4e26914c63d1f5b922cfe8
* Fix 2535700: Add support for enforcing password qualityJim Miller2010-03-252-9/+15
| | | | Change-Id: I945eea1a3869f48d636ed0c1172063f7bc57e889
* change the account unlock enabling logic use async calls rather thanFred Quintana2010-03-252-36/+52
| | | | | | | | | blocking calls limit the account unlocks to google accounts Change-Id: If412a7557716503f7d122ec3ff31375f47b624b9 http://b/issue?id=2544496
* Fix bug 2386867 - Phone DecorViews FOCUS_AFTER_DESCENDANTSAdam Powell2010-03-241-0/+1
| | | | Change-Id: Iade2c2d8ea575fc452897dbfd3d8454b5b7972ed
* Tell SearchManager to stopSearch on long-press of search. Also,Mike LeBeau2010-03-221-1/+15
| | | | | | | | | do the long-press haptic feedback first, to avoid any slowdown in the responsiveness of that. Fixes http://b/2526697 Change-Id: I607063b67bdde92303ee112663b76d6e4e9a369b
* Instead of asking whether accounts are SAML accounts to figure out whether ↵Dirk Balfanz2010-03-191-33/+36
| | | | | | they can be used for screen unlocking, we ask directly whether they support confirmCredentials(). Change-Id: Ib83c89133b67661e2eb0827baecc32910b386f63
* Policy part of fixing issue #2519590: Lock screen stuck in landscape modeDianne Hackborn2010-03-185-18/+86
| | | | Change-Id: Id7f3a7102a86f4fecb7f7ef40b1275b75e27dac4
* Merge "Fix 2520598: Disable password entry in keyguard while in lockout"Jim Miller2010-03-182-2/+47
|\
| * Fix 2520598: Disable password entry in keyguard while in lockoutJim Miller2010-03-172-2/+47
| | | | | | | | | | | | | | | | | | The password unlock wasn't abiding by the 30s lockout rule. This change adds the necessary logic and countdown timer to disable text entry while in lockout mode. After 30s, text entry is re-enabled until the next lockout count is reached. Change-Id: I4d860565cad91cb88c36615b40d1837a5d97fe21
* | Suppress lock sound effect on screen timeout.Daniel Sandler2010-03-151-6/+16
| | | | | | | | | | | | | | Bug: 2512130 (without regressing http://b/2453032) Change-Id: I79c90e6f59b95c3096808ad5ee9845369a2e50ce
* | Remove the secure lock icon from the status bar.Daniel Sandler2010-03-151-10/+16
|/ | | | | | | | | | | Added in I0e08a952904cc4728621953a42806edf26eb8e46, but takes up too much room. An undocumented system setting, "show_status_bar_lock", can be set to 1 (e.g. in Spare Parts) to bring this back. Bug: 2511090 Change-Id: I8869ac18c303a786eeb7f1a0c4ae08529b45d59c
* Merge "Fix 2428368: Fix most of the lockscreen orientation refresh bugs"Jim Miller2010-03-158-221/+129
|\
| * Fix 2428368: Fix most of the lockscreen orientation refresh bugsJim Miller2010-03-128-221/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change removes the legacy notification of orientation and configuration changed events from KeyguardUpdateMonitor and moves them into the individual activities. This was necessary to guarantee order of events. In addition, to minimize discrepencies due to notification lag, Keyguard screens (LockScreen, PatternUnlock, etc.) are now responsible for handling onConfigurationChanged() notification and forwarding them to LockPatternKeyguardView by a call to recreateMe() with the new configuration. This also removes the hack that used to prevent drawing while the configuration was in flux. Change-Id: I6b72e8c06cebb2c5c83e2debeb478e89b6f6f386
* | Accessibility: optionally allow Power key to end the current call.David Brown2010-03-111-16/+38
|/ | | | | | | | | | | | | | This is part 2 of the fix for bug 2364220 "Accessibility improvements for ending calls". This change updates the POWER key logic in interceptKeyTq() to check the value of Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR, which allows the user to specify that the Power button should hang up while in-call, instead of just turning off the screen. Bug: 2364220 Change-Id: If6d8e3155f7d60142ab6fd61f0a9db7f0b0d95ab
* Update for new layout flow.Dianne Hackborn2010-03-101-55/+56
| | | | | | | Now does lock screen and status bar management in the animation pass, to better match actual changes on screen. Change-Id: I9a68fcfa1968dfa71961bc164a6fda15b2cd7d47
* Move dock wakelock code to UiModeManagerService.Mike Lockwood2010-03-051-72/+0
| | | | | Change-Id: Ide758a9e68002b13ba2d61bd9e9701d449edb65b Signed-off-by: Mike Lockwood <lockwood@android.com>
* Update to use new dock broadcasts.Dianne Hackborn2010-03-051-30/+37
|
* Use new vibrate icon in power menu.Daniel Sandler2010-03-051-1/+1
| | | | Change-Id: I54725ae73bac731a2078a9c61d75d77c0cbb3680
* Fix 2420689: Fix bug that prevents pattern unlock from showing lockout dialog.Jim Miller2010-03-042-21/+4
| | | | | This fixes the problem where the lockout dialog wasn't showing. It also fixes a problem where the "forgot pattern" button would stop working.
* Fix issue #2445481: onNewIntent is called twice if SEARCH button is ↵Dianne Hackborn2010-03-021-0/+1
| | | | "long-pressed"
* Fix 2481917: allows keyboards with overlapping qwerty/numeric keys to work ↵Jim Miller2010-03-021-0/+10
| | | | | | | w/o requiring hitting the <alt> key. Some devices have a qwerty layout without separate numeric keys. This makes PIN entry painful. The workaround is to set an explicit numeric key listener when in numeric mode.
* Merge "Fix 2447470: always update the battery status when it's below the ↵Jim Miller2010-03-021-8/+2
|\ | | | | | | threshold."
| * Fix 2447470: always update the battery status when it's below the threshold.Jim Miller2010-03-011-8/+2
| | | | | | | | | | | | | | | | Previously, the battery percentage was only shown when the battery level transitioned below the LOW_BATTERY_THRESHOLD (20%). This change makes it so it gets updated whenever we get a battery status update where the level is below LOW_BATTERY_THRESHOLD. Note: this only applies to the pattern unlock screen.
* | Pointer location in framework, no longer need to link common.Dianne Hackborn2010-03-012-3/+2
| |
* | Support refined vibrate/silent behavior.Daniel Sandler2010-03-012-16/+55
|/ | | | | | | | See change I14cf91b0 for explanation and required framework support. Bug: 2457183 Change-Id: I09ad7d697ff17c24fc41744ed70add214d132bd3
* Fix 2468960: Make sure unlock screen gets updated when SIM state changes.Jim Miller2010-02-251-8/+55
| | | | | | | | Added code to let us lazily re-create the unlock screen when the SIM status changes. This fixes a bug where we sometimes show the Pattern/Password unlock instead of the SIM PIN unlock due to an ordering issue with recent changes to the telephony layer SIM update logic. It now correctly re-evaluates the SIM state and updates the UI accordingly.
* Fix 2336057: Provide a way for the user to return to a call from LockScreen.Jim Miller2010-02-257-49/+161
| | | | | This makes the "Emergency call" button dual-purpose. If there's a call in progress, the button will show "Return to call" and take them back to the call.
* Update to reflect android-common no longer in framework.Dianne Hackborn2010-02-241-0/+2
|
* Move lockscreen sound effects to the system stream.Daniel Sandler2010-02-221-2/+7
| | | | | Bug: 2458106, 2451532 Change-Id: I01869e3fd461dc24aa3157bf38aba9d2967526ec
* Suppress unlock noises while in-call.Daniel Sandler2010-02-221-14/+23
| | | | Bug: 2458106
* Merge "Fix 2448345: Fix tactile feedback bug in password/PIN and pattern ↵Jim Miller2010-02-191-1/+3
|\ | | | | | | unlock."
| * Fix 2448345: Fix tactile feedback bug in password/PIN and pattern unlock.Jim Miller2010-02-181-1/+3
| |
* | Suppress screen lock sound effect on first boot.Daniel Sandler2010-02-181-1/+6
|/ | | | Bug: 2453032
* Merge "Partial Fix for 2416967: Fix potential memory leak in ↵Jim Miller2010-02-164-19/+29
|\ | | | | | | PasswordUnlockScreen."
| * Partial Fix for 2416967: Fix potential memory leak in PasswordUnlockScreen.Jim Miller2010-02-164-19/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PasswordUnlockScreen was previously registering for multiple callbacks which *sometimes* caused a memory leak because a reference stuck around in the callback list. I wasn't able to track down the cause, but it looks like an interaction between switching between various lockscreen modes and ordering of CONFIGURATION_CHANGED events. I found one instance where the callback was being registered twice (fixed). However, I'm still able to reproduce the bug but far less frequently. As a workaround, I've added code to prevent adding additional callbacks and added logging to detect when a callback is already registered. Also fixed an instance where we'd recreate the password unlock screen in LockPatternKeyguardView.updateScreen() so it should be quite a bit faster switching orientations now. Renamed UnlockScreen.java to PatternUnlockScreen.java for consistency.
* | Merge "Support for lockscreen/keyguard sound effects."Daniel Sandler2010-02-121-0/+33
|\ \ | |/ |/|