summaryrefslogtreecommitdiffstats
path: root/policy/com
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
|\ \ | |/ |/|
| * Support for lockscreen/keyguard sound effects.Daniel Sandler2010-02-121-0/+33
| | | | | | | | | | | | | | See sibling change to frameworks/base (including basic lockscreen sounds). Change-Id: I62bb16b90c47353a3ca4a531e7f7d5b446486dde
* | am 79484171: am f010b5d2: Change EndCallBehavior while in UTS test mode.Wink Saville2010-02-121-10/+15
|\ \ | | | | | | | | | | | | | | | | | | Merge commit '794841710d11f59fd1736d1c889cc9b91f38f78e' * commit '794841710d11f59fd1736d1c889cc9b91f38f78e': Change EndCallBehavior while in UTS test mode.
| * \ am f010b5d2: Change EndCallBehavior while in UTS test mode.Wink Saville2010-02-121-10/+15
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'f010b5d26f1e1c93b93576995e76ffd63db2f96e' into eclair-plus-aosp * commit 'f010b5d26f1e1c93b93576995e76ffd63db2f96e': Change EndCallBehavior while in UTS test mode.
| | * | Change EndCallBehavior while in UTS test mode.Wink Saville2010-02-121-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When in UTS test mode this reverts the behavior of the end key as it was in cupcake. When not in UTS test mode the behavior is as before the change. The UTS test mode is enabled when presist.sys.uts-test-mode is 1. Bug: 2402366 Change-Id: I81359f3870a1e4da513f76c32aecdb7dfdf3bacf
* | | | Add a new KEYBOARD_TAP haptic feedback type for very short, low-latency ↵Amith Yamasani2010-02-121-12/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vibration. The minimum value varies from device to device, so this is useful for defining the shortest and most efficient vibration. The VibratorService creates a Thread when playing back vibration patterns, so this allows you to avoid thread creation and associated scheduling delays by specifying a one-shot duration in the config file.
* | | | Add pointer location to window manager.Dianne Hackborn2010-02-121-32/+99
| | | |
* | | | Merge "Added haptic feedback support for scroll barriers"Adam Powell2010-02-121-0/+8
|\ \ \ \ | |_|_|/ |/| | |
| * | | Added haptic feedback support for scroll barriersAdam Powell2010-02-101-0/+8
| | | |
* | | | Fix 2431663: Ensure password field retains focus in PasswordUnlockScreen.Jim Miller2010-02-111-5/+7
|/ / /
* | | Merge "Fix 2402303: Split Keyboard widget from LatinIME into reusable ↵Jim Miller2010-02-081-132/+33
|\ \ \ | | | | | | | | | | | | PasswordEntryKeyboardView"
| * | | Fix 2402303: Split Keyboard widget from LatinIME into reusable ↵Jim Miller2010-02-051-132/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PasswordEntryKeyboardView - Added new PasswordEntryKeyboardView to internal/widgets. Widget supports: - alpha mode with symbols (latin-1 only). - a numeric keyboard - IME emulation that applies keyboard input to arbitrary top-level view widget. - Added new transparent assets to framework resources. - Modified Keyguard and Keyguard layouts to use new PasswordEntryKeyboardView.
* | | | New "device is locked" status bar icon, part 2.Daniel Sandler2010-02-051-0/+15
|/ / / | | | | | | | | | | | | | | | | | | Shown whenever the secure lockscreen is (a) visible, or (b) active but hidden due to a FLAG_SHOW_WHEN_LOCKED Activity. Change-Id: I0e08a952904cc4728621953a42806edf26eb8e46
* | | Add implementation for ALLOW_LOCK_WHILE_SCREEN_ON flag to PhoneWindowManagerMike Lockwood2010-01-292-1/+70
| | | | | | | | | | | | | | | | | | | | | | | | This allows the lockscreen to activate after the normal screen timeout while the screen is on. Needed for dock apps, screen savers, etc. Change-Id: I25c3579e4363c2b19d503fdbd45d2ff41cdd11bb Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Fix 2402303: Show pmf3k in front of PIN/Password unlock screens.Jim Miller2010-01-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This came down to a decision; if we want to show other information (owner id, current playing song, etc.) as well as continue to have an easy way to silence the device, we need to have two unlock screens in these cases. We simply don't have enough room on these screens to show anything but the unlock widget and a small bit of text. This change *does not* affect pattern unlock, which will continue to be a single unlock screen.
* | | am fe22c504: am f2be271d: Fix 2287263: Change carrier TextView to be 1 line ↵Jim Miller2010-01-282-1/+9
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | and marquee if text is too long. Merge commit 'fe22c50410029eaf37f3e8e910a8c5fdd5769c70' * commit 'fe22c50410029eaf37f3e8e910a8c5fdd5769c70': Fix 2287263: Change carrier TextView to be 1 line and marquee if text is too long.
| * | am f2be271d: Fix 2287263: Change carrier TextView to be 1 line and marquee ↵Jim Miller2010-01-222-1/+9
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | if text is too long. Merge commit 'f2be271d1dd84d09ee55041d61ac9b2b4ed4ba31' into eclair-plus-aosp * commit 'f2be271d1dd84d09ee55041d61ac9b2b4ed4ba31': Fix 2287263: Change carrier TextView to be 1 line and marquee if text is too long.
| | * Fix 2287263: Change carrier TextView to be 1 line and marquee if text is too ↵Jim Miller2010-01-222-1/+9
| | | | | | | | | | | | | | | | | | | | | long. This is intended as a workaround for the long text lines introduced in https://android-git.corp.google.com/g/#change,38100. Added explicit TextView.setColor() to workaround bug with TextView.setSelected().
* | | resolved conflicts for merge of 27b0373f to masterJean-Baptiste Queru2010-01-281-6/+22
|\ \ \ | |/ / | | | | | | Change-Id: I49fc5a1bf545814449f0c89c7a69ef75cf71d00c
| * | am 36a6ec17: Merge "Update carrier display in lockscreen." into eclairJohn Wang2010-01-221-6/+22
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '36a6ec17ba8dc655d0bd1d9bc92afb1699e3aafe' into eclair-plus-aosp * commit '36a6ec17ba8dc655d0bd1d9bc92afb1699e3aafe': Update carrier display in lockscreen.
| | * Merge "Update carrier display in lockscreen." into eclairJohn Wang2010-01-221-6/+22
| | |\
| | | * Update carrier display in lockscreen.John Wang2010-01-211-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | For bug 2352904, lockscreen need clearly show "Emergency Calls Only" status no matter with SIM status. The change is to show both SIM card status and carrier PLMN including "Emergency Calls Only" status.
* | | | resolved conflicts for merge of f05f7ab1 to masterJean-Baptiste Queru2010-01-281-2/+2
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: Id39b4f1f0aefb387261bbe721050814d5517cea1
| * | | am ccd5aeef: Workaround for a keyguard problem that appeared in the in call ↵Mike Lockwood2010-01-211-2/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | screen. Merge commit 'ccd5aeef0bccfa7963a3dc5d33d467a1446865f1' into eclair-plus-aosp * commit 'ccd5aeef0bccfa7963a3dc5d33d467a1446865f1': Workaround for a keyguard problem that appeared in the in call screen.
| | * | Workaround for a keyguard problem that appeared in the in call screen.Mike Lockwood2010-01-211-2/+2
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | While in call, pressing the power key to turn off the screen caused the Home button to no longer work after rewaking the screen due to the KeyguardViewMediator mHidden flag not being set. Change-Id: I322317671b2e5e32de23ed524f6e4808b0334c12 BUG: 2382766 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | resolved conflicts for merge of 73f1d8e4 to masterJean-Baptiste Queru2010-01-281-0/+34
|\ \ \ | |/ / | | | | | | Change-Id: I7a7b3cc68124a0cd3fde220e22a05a914b4c0fce
| * | am a3b4a811: Merge "Fix for 2292713: Remove workaround that hides SlidingTab ↵Jim Miller2010-01-211-2/+36
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | widget while internal state is inconsistent." into eclair Merge commit 'a3b4a8111c47852e212032008732e143636151e4' into eclair-plus-aosp * commit 'a3b4a8111c47852e212032008732e143636151e4': Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent.
| | * Merge "Fix for 2292713: Remove workaround that hides SlidingTab widget while ↵Jim Miller2010-01-151-2/+36
| | |\ | | | | | | | | | | | | internal state is inconsistent." into eclair
| | | * Fix for 2292713: Remove workaround that hides SlidingTab widget while ↵Jim Miller2010-01-151-2/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | internal state is inconsistent. The previous workaround for this race condition prevented glitches by postponing drawing the SlidingTab until the internal state was consistent. Unfortunately, the InCallScreen seems to trigger this most of the time if the keyboard is open or the last application was in landscape mode. Instead, we'll handle this separately in lockscreen.
* | | | Merge "Fix 2385283,2379269: report unlock attempt success/fail to ↵Jim Miller2010-01-275-17/+48
|\ \ \ \ | | | | | | | | | | | | | | | DevicePolicyManager Reports success/fail for password, pattern and account unlock. Tweak pattern timeout a bit to avoid timeouts."
| * | | | Fix 2385283,2379269: report unlock attempt success/fail to DevicePolicyManagerJim Miller2010-01-275-17/+48
| | | | | | | | | | | | | | | | | | | | | | | | | Reports success/fail for password, pattern and account unlock. Tweak pattern timeout a bit to avoid timeouts.
* | | | | am 44f9f23e: merge from open-source masterThe Android Open Source Project2010-01-271-1/+1
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | Merge commit '44f9f23ea227c62ce9250f49f5bf338cbb5f5dd7' * commit '44f9f23ea227c62ce9250f49f5bf338cbb5f5dd7': Added missing media keycode (KEYCODE_MEDIA_REWIND), removed duplicate keycode (KEYCODE_MEDIA_PREVIOUS)
| * | | merge from open-source masterThe Android Open Source Project2010-01-211-1/+1
| |\ \ \ | | |/ / | |/| |
| | * | Added missing media keycode (KEYCODE_MEDIA_REWIND), removed duplicate ↵Johan Redestig2010-01-051-1/+1
| | | | | | | | | | | | | | | | keycode (KEYCODE_MEDIA_PREVIOUS)
| | * | eclair snapshotJean-Baptiste Queru2009-11-1214-834/+1715
| | | |
* | | | am 5fdf6a91: am 5b2151ae: Do not turn off screen immediately after undocking.Mike Lockwood2010-01-211-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '5fdf6a917c563df953c5215fe00b6ae8fe70a501' * commit '5fdf6a917c563df953c5215fe00b6ae8fe70a501': Do not turn off screen immediately after undocking.
| * | | Do not turn off screen immediately after undocking.Mike Lockwood2010-01-141-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | Change-Id: I1d01d141961d1e26d814a202745ce77678fd4518 BUG: 2356385 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Fix 2385283: Add DevicePolicyManager calls to LockScreen.Jim Miller2010-01-201-28/+26
| | |
* | | Fix 2332563: Add password-lock support to lockscreenJim Miller2010-01-115-24/+316
| | |
* | | Deprecate fill_parent and introduce match_parent.Romain Guy2010-01-083-13/+10
| | | | | | | | | | | | Bug: #2361749.
* | | am a6946bde: am 27517b21: Still use ro.monkeyYing Wang2010-01-061-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'a6946bdedeaeb86b9f47a0e7e48cb2011540f3e7' * commit 'a6946bdedeaeb86b9f47a0e7e48cb2011540f3e7': Still use ro.monkey
| * | Still use ro.monkeyYing Wang2010-01-061-1/+1
| | | | | | | | | | | | http://b/issue?id=1681101
* | | Merge "Fix 2338170: Fix a bug where adding a SAML account would cause the ↵Jim Miller2010-01-041-12/+17
|\ \ \ | | | | | | | | | | | | fallback unlock to break."
| * | | Fix 2338170: Fix a bug where adding a SAML account would cause the fallback ↵Jim Miller2009-12-221-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unlock to break. Adding a SAML account to the system would cause the current test to fail because it expected to have only one account on the system. Instead, ensure that the device has at lease one non-SAML account. Fixed update bug where having a single SAML account still showed the "Forgot pattern" button. Tested: - Wipe device and add pattern lock - Add SAML account, verify "forgot pattern" doesn't appear. - Add GAIA account, verify "forgot pattern" appears. - Wipe device and add pattern lock - Add GAIA account, verify "forgot pattern" appears - Add SAML account, verify "forgot pattern" doesn't go away.
* | | | am 596a4233: am 4d3a9728: Rename ro.monkey to monkey.runningYing Wang2010-01-041-1/+1
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | Merge commit '596a4233846492ee3c3d63fd7c7cf56796960c92' * commit '596a4233846492ee3c3d63fd7c7cf56796960c92': Rename ro.monkey to monkey.running
| * | Rename ro.monkey to monkey.runningYing Wang2010-01-041-1/+1
| | | | | | | | | | | | So that Monkey can set it before running and reset it after running.
* | | Don't perform app transition if app is not currently visible.Dianne Hackborn2009-12-211-3/+43
| | | | | | | | | | | | | | | Tell the window manager if we are not visible due to the lock screen or status bar.