OSDN Git Service

android-x86/frameworks-policies-base.git
14 years agoRestore text field used by sliding tab to give ringer mode feedback.
Daniel Sandler [Tue, 13 Apr 2010 00:33:20 +0000 (20:33 -0400)]
Restore text field used by sliding tab to give ringer mode feedback.

Bug: 2587358
Change-Id: I5ad8745443fc97225af9efb938e4640cfc29b5d7

14 years agoMerge "Fix 2575838: Update emergency button in AccountUnlockScreen DO NOT MERGE"...
Jim Miller [Tue, 13 Apr 2010 02:15:42 +0000 (19:15 -0700)]
Merge "Fix 2575838: Update emergency button in AccountUnlockScreen DO NOT MERGE" into froyo

14 years agoFix 2575838: Update emergency button in AccountUnlockScreen DO NOT MERGE
Jim Miller [Mon, 12 Apr 2010 23:49:28 +0000 (16:49 -0700)]
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.

Marked DO NOT MERGE since this will require manual merge to master due to framework restructuring.

Change-Id: Idf6bb25438336616e6453e7afe0e79f227af98d3

14 years agoFix issue #2586349: Accelerometer is enabled when in car mode
Dianne Hackborn [Fri, 9 Apr 2010 23:40:33 +0000 (16:40 -0700)]
Fix issue #2586349: Accelerometer is enabled when in car mode

Change-Id: Iab5ca4ea9f69bd54f815fc7463df808d81c61ffd

14 years agoMerge "Add emergency call button to PUK'd lockscreen." into froyo
Daniel Sandler [Thu, 8 Apr 2010 13:07:02 +0000 (06:07 -0700)]
Merge "Add emergency call button to PUK'd lockscreen." into froyo

14 years agoFix issue #2555171: Switching to app immediately after unmounting SD card causes...
Dianne Hackborn [Thu, 8 Apr 2010 01:15:32 +0000 (18:15 -0700)]
Fix issue #2555171: Switching to app immediately after unmounting SD card causes reboot.

Change-Id: I509162e136dd721fecfaabc45a046537b2d19077

14 years agoAdd emergency call button to PUK'd lockscreen.
Daniel Sandler [Wed, 7 Apr 2010 04:22:31 +0000 (00:22 -0400)]
Add emergency call button to PUK'd lockscreen.

The user unlocks a PUK-locked SIM via the e-call dialer, so
we absolutely need the button there.

This is the code portion; it requires layout from change
I8aa0fc2223428ba15a57269ac5a624e74e91a5f3 in
frameworks/base.

Bug: 2568732
Change-Id: I6872c3ad135bc34348adafa76e08a3878f1b506f

14 years agoFix issue #2574016: Preferred activity setting is not persistent
Dianne Hackborn [Wed, 7 Apr 2010 03:24:15 +0000 (20:24 -0700)]
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

14 years agoRedo the look of the recent apps switcher.
Joe Onorato [Mon, 5 Apr 2010 21:15:37 +0000 (16:15 -0500)]
Redo the look of the recent apps switcher.

Change-Id: Icb523e2f5949c2b502aa8003aa14b7ac98a616f2

14 years agoFix 2555028: Restore showing tab unlock before PIN & password entry.
Jim Miller [Tue, 30 Mar 2010 02:31:26 +0000 (19:31 -0700)]
Fix 2555028: Restore showing tab unlock before PIN & password entry.

This fixes a bug introduced in change 46594 that prevents showing
the tab unlock screen before PIN & password entry.

Change-Id: Ibd603921f6a22b603652c4751fa0f2f7d9129bb2

14 years agoRemove scroll barrier constant.
Romain Guy [Mon, 29 Mar 2010 21:41:15 +0000 (14:41 -0700)]
Remove scroll barrier constant.
Bug #2553595

Change-Id: Ie3bb31930b57ed1a658b79632786dfef9435ccf3

14 years agoRedesigned keyguard layout in the no-SIM case. DO NOT MERGE
Daniel Sandler [Thu, 18 Mar 2010 01:52:35 +0000 (21:52 -0400)]
Redesigned keyguard layout in the no-SIM case. DO NOT MERGE

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

14 years agoFix 2535700: Add support for enforcing password quality
Jim Miller [Fri, 26 Mar 2010 01:37:48 +0000 (18:37 -0700)]
Fix 2535700: Add support for enforcing password quality

Change-Id: I945eea1a3869f48d636ed0c1172063f7bc57e889

14 years agochange the account unlock enabling logic use async calls rather than
Fred Quintana [Thu, 25 Mar 2010 21:50:20 +0000 (14:50 -0700)]
change the account unlock enabling logic use async calls rather than
blocking calls

limit the account unlocks to google accounts

Change-Id: If412a7557716503f7d122ec3ff31375f47b624b9
http://b/issue?id=2544496

14 years agoFix bug 2386867 - Phone DecorViews FOCUS_AFTER_DESCENDANTS
Adam Powell [Wed, 24 Mar 2010 18:17:03 +0000 (11:17 -0700)]
Fix bug 2386867 - Phone DecorViews FOCUS_AFTER_DESCENDANTS

Change-Id: Iade2c2d8ea575fc452897dbfd3d8454b5b7972ed

14 years agoTell SearchManager to stopSearch on long-press of search. Also,
Mike LeBeau [Tue, 23 Mar 2010 00:40:35 +0000 (17:40 -0700)]
Tell SearchManager to stopSearch on long-press of search. Also,
do the long-press haptic feedback first, to avoid any slowdown
in the responsiveness of that.

Fixes http://b/2526697

Change-Id: I607063b67bdde92303ee112663b76d6e4e9a369b

14 years agoInstead of asking whether accounts are SAML accounts to figure out whether they can...
Dirk Balfanz [Thu, 18 Mar 2010 04:07:56 +0000 (21:07 -0700)]
Instead of asking whether accounts are SAML accounts to figure out whether they can be used for screen unlocking, we ask directly whether they support confirmCredentials().

Change-Id: Ib83c89133b67661e2eb0827baecc32910b386f63

14 years agoPolicy part of fixing issue #2519590: Lock screen stuck in landscape mode
Dianne Hackborn [Thu, 18 Mar 2010 08:04:37 +0000 (01:04 -0700)]
Policy part of fixing issue #2519590: Lock screen stuck in landscape mode

Change-Id: Id7f3a7102a86f4fecb7f7ef40b1275b75e27dac4

14 years agoMerge "Fix 2520598: Disable password entry in keyguard while in lockout"
Jim Miller [Thu, 18 Mar 2010 07:50:07 +0000 (00:50 -0700)]
Merge "Fix 2520598: Disable password entry in keyguard while in lockout"

14 years agoFix 2520598: Disable password entry in keyguard while in lockout
Jim Miller [Thu, 18 Mar 2010 02:14:18 +0000 (19:14 -0700)]
Fix 2520598: Disable password entry in keyguard while in lockout

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

14 years agoSuppress lock sound effect on screen timeout.
Daniel Sandler [Tue, 16 Mar 2010 03:09:57 +0000 (23:09 -0400)]
Suppress lock sound effect on screen timeout.

Bug: 2512130
(without regressing http://b/2453032)

Change-Id: I79c90e6f59b95c3096808ad5ee9845369a2e50ce

14 years agoRemove the secure lock icon from the status bar.
Daniel Sandler [Sat, 13 Mar 2010 20:44:47 +0000 (15:44 -0500)]
Remove the secure lock icon from the status bar.

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

14 years agoMerge "Fix 2428368: Fix most of the lockscreen orientation refresh bugs"
Jim Miller [Mon, 15 Mar 2010 22:33:44 +0000 (15:33 -0700)]
Merge "Fix 2428368: Fix most of the lockscreen orientation refresh bugs"

14 years agoFix 2428368: Fix most of the lockscreen orientation refresh bugs
Jim Miller [Thu, 11 Mar 2010 23:46:29 +0000 (15:46 -0800)]
Fix 2428368: Fix most of the lockscreen orientation refresh bugs

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

14 years agoAccessibility: optionally allow Power key to end the current call.
David Brown [Tue, 9 Mar 2010 05:52:59 +0000 (21:52 -0800)]
Accessibility: optionally allow Power key to end the current call.

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

14 years agoUpdate for new layout flow.
Dianne Hackborn [Thu, 11 Mar 2010 00:01:58 +0000 (16:01 -0800)]
Update for new layout flow.

Now does lock screen and status bar management in the animation pass, to better
match actual changes on screen.

Change-Id: I9a68fcfa1968dfa71961bc164a6fda15b2cd7d47

14 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:04:51 +0000 (18:04 -0800)]
Add an empty CleanSpec.mk

Change-Id: I29594c5f5438d6b7c586887e25ef84ffaf64faff

14 years agoMove dock wakelock code to UiModeManagerService.
Mike Lockwood [Fri, 5 Mar 2010 20:46:24 +0000 (15:46 -0500)]
Move dock wakelock code to UiModeManagerService.

Change-Id: Ide758a9e68002b13ba2d61bd9e9701d449edb65b
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoUpdate to use new dock broadcasts.
Dianne Hackborn [Fri, 5 Mar 2010 04:47:56 +0000 (20:47 -0800)]
Update to use new dock broadcasts.

14 years agoUse new vibrate icon in power menu.
Daniel Sandler [Fri, 5 Mar 2010 14:34:52 +0000 (09:34 -0500)]
Use new vibrate icon in power menu.

Change-Id: I54725ae73bac731a2078a9c61d75d77c0cbb3680

14 years agoFix 2420689: Fix bug that prevents pattern unlock from showing lockout dialog.
Jim Miller [Thu, 4 Mar 2010 21:24:17 +0000 (13:24 -0800)]
Fix 2420689: Fix bug that prevents pattern unlock from showing lockout dialog.

This fixes the problem where the lockout dialog wasn't showing.  It also fixes a problem
where the "forgot pattern" button would stop working.

14 years agoFix issue #2445481: onNewIntent is called twice if SEARCH button is "long-pressed"
Dianne Hackborn [Wed, 3 Mar 2010 07:32:01 +0000 (23:32 -0800)]
Fix issue #2445481: onNewIntent is called twice if SEARCH button is "long-pressed"

14 years agoFix 2481917: allows keyboards with overlapping qwerty/numeric keys to work w/o requir...
Jim Miller [Wed, 3 Mar 2010 01:24:48 +0000 (17:24 -0800)]
Fix 2481917: allows keyboards with overlapping qwerty/numeric keys to work 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.

14 years agoMerge "Fix 2447470: always update the battery status when it's below the threshold."
Jim Miller [Tue, 2 Mar 2010 21:00:17 +0000 (13:00 -0800)]
Merge "Fix 2447470: always update the battery status when it's below the threshold."

14 years agoPointer location in framework, no longer need to link common.
Dianne Hackborn [Tue, 2 Mar 2010 05:43:11 +0000 (21:43 -0800)]
Pointer location in framework, no longer need to link common.

14 years agoSupport refined vibrate/silent behavior.
Daniel Sandler [Fri, 26 Feb 2010 20:16:54 +0000 (15:16 -0500)]
Support refined vibrate/silent behavior.

See change I14cf91b0 for explanation and required framework
support.

Bug: 2457183
Change-Id: I09ad7d697ff17c24fc41744ed70add214d132bd3

14 years agoFix 2447470: always update the battery status when it's below the threshold.
Jim Miller [Tue, 2 Mar 2010 00:51:43 +0000 (16:51 -0800)]
Fix 2447470: always update the battery status when it's below the threshold.

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.

14 years agoFix 2468960: Make sure unlock screen gets updated when SIM state changes.
Jim Miller [Fri, 26 Feb 2010 03:56:06 +0000 (19:56 -0800)]
Fix 2468960: Make sure unlock screen gets updated when SIM state changes.

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.

14 years agoMerge "Fix 2336057: Provide a way for the user to return to a call from LockScreen."
Jim Miller [Fri, 26 Feb 2010 05:05:59 +0000 (21:05 -0800)]
Merge "Fix 2336057: Provide a way for the user to return to a call from LockScreen."

14 years agoFix 2336057: Provide a way for the user to return to a call from LockScreen.
Jim Miller [Wed, 24 Feb 2010 23:37:00 +0000 (15:37 -0800)]
Fix 2336057: Provide a way for the user to return to a call from LockScreen.

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.

14 years agoFix 2336057: Provide a way for the user to return to a call from LockScreen.
Jim Miller [Wed, 24 Feb 2010 23:37:00 +0000 (15:37 -0800)]
Fix 2336057: Provide a way for the user to return to a call from LockScreen.

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.

14 years agoUpdate to reflect android-common no longer in framework.
Dianne Hackborn [Thu, 25 Feb 2010 04:03:34 +0000 (20:03 -0800)]
Update to reflect android-common no longer in framework.

14 years agoMove lockscreen sound effects to the system stream.
Daniel Sandler [Sat, 20 Feb 2010 06:05:22 +0000 (01:05 -0500)]
Move lockscreen sound effects to the system stream.

Bug: 24581062451532
Change-Id: I01869e3fd461dc24aa3157bf38aba9d2967526ec

14 years agoSuppress unlock noises while in-call.
Daniel Sandler [Mon, 22 Feb 2010 18:09:48 +0000 (13:09 -0500)]
Suppress unlock noises while in-call.

Bug: 2458106

14 years agoMerge "Fix 2448345: Fix tactile feedback bug in password/PIN and pattern unlock."
Jim Miller [Sat, 20 Feb 2010 02:18:14 +0000 (18:18 -0800)]
Merge "Fix 2448345: Fix tactile feedback bug in password/PIN and pattern unlock."

14 years agoFix 2448345: Fix tactile feedback bug in password/PIN and pattern unlock.
Jim Miller [Fri, 19 Feb 2010 03:55:29 +0000 (19:55 -0800)]
Fix 2448345: Fix tactile feedback bug in password/PIN and pattern unlock.

14 years agoSuppress screen lock sound effect on first boot.
Daniel Sandler [Thu, 18 Feb 2010 16:42:36 +0000 (11:42 -0500)]
Suppress screen lock sound effect on first boot.

Bug: 2453032

14 years agoMerge "Partial Fix for 2416967: Fix potential memory leak in PasswordUnlockScreen."
Jim Miller [Wed, 17 Feb 2010 07:30:40 +0000 (23:30 -0800)]
Merge "Partial Fix for 2416967: Fix potential memory leak in PasswordUnlockScreen."

14 years agoPartial Fix for 2416967: Fix potential memory leak in PasswordUnlockScreen.
Jim Miller [Sat, 13 Feb 2010 02:56:03 +0000 (18:56 -0800)]
Partial Fix for 2416967: Fix potential memory leak in PasswordUnlockScreen.

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.

14 years agoMerge "Support for lockscreen/keyguard sound effects."
Daniel Sandler [Sat, 13 Feb 2010 04:33:46 +0000 (20:33 -0800)]
Merge "Support for lockscreen/keyguard sound effects."

14 years agoam 79484171: am f010b5d2: Change EndCallBehavior while in UTS test mode.
Wink Saville [Sat, 13 Feb 2010 00:02:27 +0000 (16:02 -0800)]
am 79484171: am f010b5d2: Change EndCallBehavior while in UTS test mode.

Merge commit '794841710d11f59fd1736d1c889cc9b91f38f78e'

* commit '794841710d11f59fd1736d1c889cc9b91f38f78e':
  Change EndCallBehavior while in UTS test mode.

14 years agoam f010b5d2: Change EndCallBehavior while in UTS test mode.
Wink Saville [Fri, 12 Feb 2010 23:57:25 +0000 (15:57 -0800)]
am f010b5d2: Change EndCallBehavior while in UTS test mode.

Merge commit 'f010b5d26f1e1c93b93576995e76ffd63db2f96e' into eclair-plus-aosp

* commit 'f010b5d26f1e1c93b93576995e76ffd63db2f96e':
  Change EndCallBehavior while in UTS test mode.

14 years agoAdd a new KEYBOARD_TAP haptic feedback type for very short, low-latency vibration.
Amith Yamasani [Wed, 10 Feb 2010 23:21:49 +0000 (15:21 -0800)]
Add a new KEYBOARD_TAP haptic feedback type for very short, low-latency 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.

14 years agoSupport for lockscreen/keyguard sound effects.
Daniel Sandler [Thu, 11 Feb 2010 20:27:37 +0000 (15:27 -0500)]
Support for lockscreen/keyguard sound effects.

See sibling change to frameworks/base (including basic
lockscreen sounds).

Change-Id: I62bb16b90c47353a3ca4a531e7f7d5b446486dde

14 years agoAdd pointer location to window manager.
Dianne Hackborn [Fri, 12 Feb 2010 21:07:59 +0000 (13:07 -0800)]
Add pointer location to window manager.

14 years agoChange EndCallBehavior while in UTS test mode.
Wink Saville [Fri, 12 Feb 2010 20:12:06 +0000 (12:12 -0800)]
Change EndCallBehavior while in UTS test mode.

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

14 years agoMerge "Added haptic feedback support for scroll barriers"
Adam Powell [Fri, 12 Feb 2010 18:28:27 +0000 (10:28 -0800)]
Merge "Added haptic feedback support for scroll barriers"

14 years agoFix 2431663: Ensure password field retains focus in PasswordUnlockScreen.
Jim Miller [Thu, 11 Feb 2010 23:39:45 +0000 (15:39 -0800)]
Fix 2431663: Ensure password field retains focus in PasswordUnlockScreen.

14 years agoAdded haptic feedback support for scroll barriers
Adam Powell [Wed, 10 Feb 2010 19:39:57 +0000 (11:39 -0800)]
Added haptic feedback support for scroll barriers

14 years agoMerge "Fix 2402303: Split Keyboard widget from LatinIME into reusable PasswordEntryKe...
Jim Miller [Tue, 9 Feb 2010 05:05:43 +0000 (21:05 -0800)]
Merge "Fix 2402303: Split Keyboard widget from LatinIME into reusable PasswordEntryKeyboardView"

14 years agoFix 2402303: Split Keyboard widget from LatinIME into reusable PasswordEntryKeyboardView
Jim Miller [Sat, 6 Feb 2010 02:59:25 +0000 (18:59 -0800)]
Fix 2402303: Split Keyboard widget from LatinIME into reusable 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.

14 years agoNew "device is locked" status bar icon, part 2.
Daniel Sandler [Fri, 5 Feb 2010 21:26:28 +0000 (13:26 -0800)]
New "device is locked" status bar icon, part 2.

Shown whenever the secure lockscreen is (a) visible, or (b)
active but hidden due to a FLAG_SHOW_WHEN_LOCKED Activity.

Change-Id: I0e08a952904cc4728621953a42806edf26eb8e46

14 years agoam c5908853: am 1fb2a6cd: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 22:16:10 +0000 (14:16 -0800)]
am c5908853: am 1fb2a6cd: reconcile main tree with open-source eclair

Merge commit 'c5908853dfd8ea68e81a17e4d57b1fdf76349373'

* commit 'c5908853dfd8ea68e81a17e4d57b1fdf76349373':
  android-2.1_r1 snapshot

14 years agoam 1fb2a6cd: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:45:31 +0000 (08:45 -0800)]
am 1fb2a6cd: reconcile main tree with open-source eclair

Merge commit '1fb2a6cd4c27847f8de8369b497f37d3d47c622f' into eclair-plus-aosp

* commit '1fb2a6cd4c27847f8de8369b497f37d3d47c622f':
  android-2.1_r1 snapshot

14 years agoreconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:09:38 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair

14 years agoreconcile android-2.1_r1 snapshot
The Android Open Source Project [Fri, 29 Jan 2010 22:09:18 +0000 (14:09 -0800)]
reconcile android-2.1_r1 snapshot

14 years agoAdd implementation for ALLOW_LOCK_WHILE_SCREEN_ON flag to PhoneWindowManager
Mike Lockwood [Thu, 28 Jan 2010 16:54:40 +0000 (11:54 -0500)]
Add implementation for ALLOW_LOCK_WHILE_SCREEN_ON flag to PhoneWindowManager

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>
14 years agoFix 2402303: Show pmf3k in front of PIN/Password unlock screens.
Jim Miller [Thu, 28 Jan 2010 04:26:42 +0000 (20:26 -0800)]
Fix 2402303: Show pmf3k in front of PIN/Password unlock screens.

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.

14 years agoam fe22c504: am f2be271d: Fix 2287263: Change carrier TextView to be 1 line and marqu...
Jim Miller [Thu, 28 Jan 2010 20:37:42 +0000 (12:37 -0800)]
am fe22c504: am f2be271d: Fix 2287263: Change carrier TextView to be 1 line 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.

14 years agoresolved conflicts for merge of 27b0373f to master
Jean-Baptiste Queru [Thu, 28 Jan 2010 17:57:00 +0000 (09:57 -0800)]
resolved conflicts for merge of 27b0373f to master

Change-Id: I49fc5a1bf545814449f0c89c7a69ef75cf71d00c

14 years agoresolved conflicts for merge of f05f7ab1 to master
Jean-Baptiste Queru [Thu, 28 Jan 2010 16:15:50 +0000 (08:15 -0800)]
resolved conflicts for merge of f05f7ab1 to master

Change-Id: Id39b4f1f0aefb387261bbe721050814d5517cea1

14 years agoresolved conflicts for merge of 73f1d8e4 to master
Jean-Baptiste Queru [Thu, 28 Jan 2010 16:08:35 +0000 (08:08 -0800)]
resolved conflicts for merge of 73f1d8e4 to master

Change-Id: I7a7b3cc68124a0cd3fde220e22a05a914b4c0fce

14 years agoMerge "Fix 2385283,2379269: report unlock attempt success/fail to DevicePolicyManager...
Jim Miller [Thu, 28 Jan 2010 03:08:31 +0000 (19:08 -0800)]
Merge "Fix 2385283,2379269: report unlock attempt success/fail to DevicePolicyManager Reports success/fail for password, pattern and account unlock. Tweak pattern timeout a bit to avoid timeouts."

14 years agoFix 2385283,2379269: report unlock attempt success/fail to DevicePolicyManager
Jim Miller [Thu, 28 Jan 2010 01:53:18 +0000 (17:53 -0800)]
Fix 2385283,2379269: report unlock attempt success/fail to DevicePolicyManager
Reports success/fail for password, pattern and account unlock.
Tweak pattern timeout a bit to avoid timeouts.

14 years agoam 44f9f23e: merge from open-source master
The Android Open Source Project [Thu, 28 Jan 2010 00:15:13 +0000 (16:15 -0800)]
am 44f9f23e: merge from open-source master

Merge commit '44f9f23ea227c62ce9250f49f5bf338cbb5f5dd7'

* commit '44f9f23ea227c62ce9250f49f5bf338cbb5f5dd7':
  Added missing media keycode (KEYCODE_MEDIA_REWIND), removed duplicate keycode (KEYCODE_MEDIA_PREVIOUS)

14 years agoam f2be271d: Fix 2287263: Change carrier TextView to be 1 line and marquee if text...
Jim Miller [Sat, 23 Jan 2010 04:23:32 +0000 (20:23 -0800)]
am f2be271d: Fix 2287263: Change carrier TextView to be 1 line and marquee 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.

14 years agoFix 2287263: Change carrier TextView to be 1 line and marquee if text is too long.
Jim Miller [Sat, 23 Jan 2010 03:07:47 +0000 (19:07 -0800)]
Fix 2287263: Change carrier TextView to be 1 line and marquee if text is too 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().

14 years agoam 36a6ec17: Merge "Update carrier display in lockscreen." into eclair
John Wang [Fri, 22 Jan 2010 18:24:27 +0000 (10:24 -0800)]
am 36a6ec17: Merge "Update carrier display in lockscreen." into eclair

Merge commit '36a6ec17ba8dc655d0bd1d9bc92afb1699e3aafe' into eclair-plus-aosp

* commit '36a6ec17ba8dc655d0bd1d9bc92afb1699e3aafe':
  Update carrier display in lockscreen.

14 years agoMerge "Update carrier display in lockscreen." into eclair
John Wang [Fri, 22 Jan 2010 18:08:23 +0000 (10:08 -0800)]
Merge "Update carrier display in lockscreen." into eclair

14 years agoam ccd5aeef: Workaround for a keyguard problem that appeared in the in call screen.
Mike Lockwood [Fri, 22 Jan 2010 02:27:50 +0000 (18:27 -0800)]
am ccd5aeef: Workaround for a keyguard problem that appeared in the in call screen.

Merge commit 'ccd5aeef0bccfa7963a3dc5d33d467a1446865f1' into eclair-plus-aosp

* commit 'ccd5aeef0bccfa7963a3dc5d33d467a1446865f1':
  Workaround for a keyguard problem that appeared in the in call screen.

14 years agoam a3b4a811: Merge "Fix for 2292713: Remove workaround that hides SlidingTab widget...
Jim Miller [Fri, 22 Jan 2010 02:27:47 +0000 (18:27 -0800)]
am a3b4a811: Merge "Fix for 2292713: Remove workaround that hides SlidingTab 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.

14 years agoUpdate carrier display in lockscreen.
John Wang [Fri, 22 Jan 2010 01:30:07 +0000 (17:30 -0800)]
Update carrier display in lockscreen.

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.

14 years agoam 5fdf6a91: am 5b2151ae: Do not turn off screen immediately after undocking.
Mike Lockwood [Thu, 21 Jan 2010 22:29:32 +0000 (14:29 -0800)]
am 5fdf6a91: am 5b2151ae: Do not turn off screen immediately after undocking.

Merge commit '5fdf6a917c563df953c5215fe00b6ae8fe70a501'

* commit '5fdf6a917c563df953c5215fe00b6ae8fe70a501':
  Do not turn off screen immediately after undocking.

14 years agoWorkaround for a keyguard problem that appeared in the in call screen.
Mike Lockwood [Thu, 21 Jan 2010 21:38:44 +0000 (16:38 -0500)]
Workaround for a keyguard problem that appeared in the in call screen.

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>
14 years agomerge from open-source master
The Android Open Source Project [Thu, 21 Jan 2010 19:21:25 +0000 (11:21 -0800)]
merge from open-source master

14 years agoFix 2385283: Add DevicePolicyManager calls to LockScreen.
Jim Miller [Wed, 20 Jan 2010 23:00:23 +0000 (15:00 -0800)]
Fix 2385283: Add DevicePolicyManager calls to LockScreen.

14 years agoMerge "Fix for 2292713: Remove workaround that hides SlidingTab widget while internal...
Jim Miller [Sat, 16 Jan 2010 01:20:35 +0000 (17:20 -0800)]
Merge "Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent." into eclair

14 years agoFix for 2292713: Remove workaround that hides SlidingTab widget while internal state...
Jim Miller [Sat, 16 Jan 2010 00:39:16 +0000 (16:39 -0800)]
Fix for 2292713: Remove workaround that hides SlidingTab widget while 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.

14 years agoam 5b2151ae: Do not turn off screen immediately after undocking.
Mike Lockwood [Fri, 15 Jan 2010 01:24:48 +0000 (17:24 -0800)]
am 5b2151ae: Do not turn off screen immediately after undocking.

Merge commit '5b2151ae8654f63bd25e05e87f872ec6f78f0519' into eclair-plus-aosp

* commit '5b2151ae8654f63bd25e05e87f872ec6f78f0519':
  Do not turn off screen immediately after undocking.

14 years agoDo not turn off screen immediately after undocking.
Mike Lockwood [Thu, 14 Jan 2010 05:11:08 +0000 (21:11 -0800)]
Do not turn off screen immediately after undocking.

Change-Id: I1d01d141961d1e26d814a202745ce77678fd4518
BUG: 2356385

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoandroid-2.1_r1 snapshot
The Android Open Source Project [Tue, 12 Jan 2010 23:19:04 +0000 (15:19 -0800)]
android-2.1_r1 snapshot

14 years agoFix 2332563: Add password-lock support to lockscreen
Jim Miller [Wed, 23 Dec 2009 03:04:23 +0000 (19:04 -0800)]
Fix 2332563: Add password-lock support to lockscreen

14 years agoDeprecate fill_parent and introduce match_parent.
Romain Guy [Fri, 8 Jan 2010 23:06:37 +0000 (15:06 -0800)]
Deprecate fill_parent and introduce match_parent.
Bug: #2361749.

14 years agoam a6946bde: am 27517b21: Still use ro.monkey
Ying Wang [Wed, 6 Jan 2010 21:57:46 +0000 (13:57 -0800)]
am a6946bde: am 27517b21: Still use ro.monkey

Merge commit 'a6946bdedeaeb86b9f47a0e7e48cb2011540f3e7'

* commit 'a6946bdedeaeb86b9f47a0e7e48cb2011540f3e7':
  Still use ro.monkey

14 years agoam 27517b21: Still use ro.monkey
Ying Wang [Wed, 6 Jan 2010 21:46:00 +0000 (13:46 -0800)]
am 27517b21: Still use ro.monkey

Merge commit '27517b2158a7fcdae13ff02d4cbefa79afbdb838' into eclair-plus-aosp

* commit '27517b2158a7fcdae13ff02d4cbefa79afbdb838':
  Still use ro.monkey

14 years agoStill use ro.monkey
Ying Wang [Tue, 5 Jan 2010 02:49:49 +0000 (18:49 -0800)]
Still use ro.monkey

http://b/issue?id=1681101

14 years agoAdded missing media keycode (KEYCODE_MEDIA_REWIND), removed duplicate keycode (KEYCOD...
Johan Redestig [Tue, 5 Jan 2010 07:45:33 +0000 (08:45 +0100)]
Added missing media keycode (KEYCODE_MEDIA_REWIND), removed duplicate keycode (KEYCODE_MEDIA_PREVIOUS)

14 years agoMerge "Fix 2338170: Fix a bug where adding a SAML account would cause the fallback...
Jim Miller [Tue, 5 Jan 2010 02:02:09 +0000 (18:02 -0800)]
Merge "Fix 2338170: Fix a bug where adding a SAML account would cause the fallback unlock to break."

14 years agoam 596a4233: am 4d3a9728: Rename ro.monkey to monkey.running
Ying Wang [Mon, 4 Jan 2010 21:49:30 +0000 (13:49 -0800)]
am 596a4233: am 4d3a9728: Rename ro.monkey to monkey.running

Merge commit '596a4233846492ee3c3d63fd7c7cf56796960c92'

* commit '596a4233846492ee3c3d63fd7c7cf56796960c92':
  Rename ro.monkey to monkey.running

14 years agoam 4d3a9728: Rename ro.monkey to monkey.running
Ying Wang [Mon, 4 Jan 2010 20:58:49 +0000 (12:58 -0800)]
am 4d3a9728: Rename ro.monkey to monkey.running

Merge commit '4d3a9728c27ff8959b8da93325b52e8ff7b67b12' into eclair-plus-aosp

* commit '4d3a9728c27ff8959b8da93325b52e8ff7b67b12':
  Rename ro.monkey to monkey.running