OSDN Git Service

android-x86/frameworks-policies-base.git
14 years agoMerge "Telephony : Dial emergency phone numbers when screen is locked"
Jean-Baptiste Queru [Tue, 15 Jun 2010 22:08:01 +0000 (15:08 -0700)]
Merge "Telephony : Dial emergency phone numbers when screen is locked"

14 years agoTelephony : Dial emergency phone numbers when screen is locked
Benoit Hebrard [Tue, 15 Jun 2010 14:33:26 +0000 (16:33 +0200)]
Telephony : Dial emergency phone numbers when screen is locked

The current implementation do not allow dialing emergency phone
numbers with the qwerty-keyboard when the screen is locked.

This contribution will automatically start the emergency dialer
if a valid digit (i.e. 0-9,*,+,#) is entered from the qwerty
keypad when the screen is locked. The emergency dialer appears
pre-filled with the first entered digit.

Change-Id: I136b5434f99bfab6f1908d3698e2700f7e59d036

14 years agoReplaced deprecated getIntent with parseUri
Christian Mehlmauer [Tue, 25 May 2010 17:05:52 +0000 (19:05 +0200)]
Replaced deprecated getIntent with parseUri

Change-Id: Ie3918b5896c922403e4fb58b81aacd52d364e11d

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 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 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 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 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 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 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 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

14 years agoRename ro.monkey to monkey.running
Ying Wang [Mon, 4 Jan 2010 19:57:30 +0000 (11:57 -0800)]
Rename ro.monkey to monkey.running

So that Monkey can set it before running and reset it after running.

14 years agoam 4dbf514c: Fix issue #2302336: System dialogs are not being given a layer
Dianne Hackborn [Thu, 3 Dec 2009 20:29:23 +0000 (12:29 -0800)]
am 4dbf514c: Fix issue #2302336: System dialogs are not being given a layer

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

* commit '4dbf514c6c73832630e4c9bb068cf950ff044a34':
  Fix issue #2302336: System dialogs are not being given a layer

14 years agoFix issue #2302336: System dialogs are not being given a layer
Dianne Hackborn [Thu, 3 Dec 2009 19:37:44 +0000 (11:37 -0800)]
Fix issue #2302336: System dialogs are not being given a layer

Define a new dedicated layer for system dialogs and use it.

Change-Id: Iaa8b7a48617ae37ea3e83c9f77b1d357f750f5bc

14 years agoam db0ec648: Merge change I85572973 into eclair
Mike Lockwood [Thu, 3 Dec 2009 19:09:10 +0000 (11:09 -0800)]
am db0ec648: Merge change I85572973 into eclair

Merge commit 'db0ec6480b806799f05f3d6fd04d742564af8f2f' into eclair-plus-aosp

* commit 'db0ec6480b806799f05f3d6fd04d742564af8f2f':
  Do not show keyguard if screen is turned off by proximity sensor.

14 years agoMerge change I85572973 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 19:00:06 +0000 (11:00 -0800)]
Merge change I85572973 into eclair

* changes:
  Do not show keyguard if screen is turned off by proximity sensor.

14 years agoam 30429ac6: Tiny code fix required for http://b/2260798 .
Daniel Sandler [Thu, 3 Dec 2009 16:40:27 +0000 (08:40 -0800)]
am 30429ac6: Tiny code fix required for b/2260798 .

Merge commit '30429ac60e512453d4d7af212788819754b24691' into eclair-plus-aosp

* commit '30429ac60e512453d4d7af212788819754b24691':
  Tiny code fix required for http://b/2260798 .

14 years agoTiny code fix required for http://b/2260798 .
Daniel Sandler [Thu, 3 Dec 2009 16:17:09 +0000 (11:17 -0500)]
Tiny code fix required for http://b/2260798 .

(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

14 years agoDo not show keyguard if screen is turned off by proximity sensor.
Mike Lockwood [Thu, 3 Dec 2009 13:41:44 +0000 (08:41 -0500)]
Do not show keyguard if screen is turned off by proximity sensor.

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>
14 years agoam 15ee33d4: Revert "Fix problems with KeyguardManager.exitKeyguardSecurely() and...
Mike Lockwood [Wed, 2 Dec 2009 19:35:46 +0000 (11:35 -0800)]
am 15ee33d4: Revert "Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKED window manager flag."

Merge commit '15ee33d4d475dc31709808a64120e56d555e992e' into eclair-plus-aosp

* commit '15ee33d4d475dc31709808a64120e56d555e992e':
  Revert "Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKED window manager flag."

14 years agoRevert "Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WH...
Mike Lockwood [Wed, 2 Dec 2009 18:50:45 +0000 (13:50 -0500)]
Revert "Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKED window manager flag."

We have a better solution for this in the Phone app.
This reverts commit b684251e8f1e85ea9483af2b80bc92f0fd8ded1c.

14 years agoam e7ef4241: Fix volume keys when in-call and screen is off due to proximity sensor.
Mike Lockwood [Wed, 2 Dec 2009 13:04:32 +0000 (05:04 -0800)]
am e7ef4241: Fix volume keys when in-call and screen is off due to proximity sensor.

Merge commit 'e7ef42416088235d9e220e3b031d4f612f436a06' into eclair-plus-aosp

* commit 'e7ef42416088235d9e220e3b031d4f612f436a06':
  Fix volume keys when in-call and screen is off due to proximity sensor.

14 years agoam b684251e: Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SH...
Mike Lockwood [Wed, 2 Dec 2009 13:04:29 +0000 (05:04 -0800)]
am b684251e: Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKED window manager flag.

Merge commit 'b684251e8f1e85ea9483af2b80bc92f0fd8ded1c' into eclair-plus-aosp

* commit 'b684251e8f1e85ea9483af2b80bc92f0fd8ded1c':
  Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKED window manager flag.

14 years agoFix volume keys when in-call and screen is off due to proximity sensor.
Mike Lockwood [Wed, 2 Dec 2009 06:37:38 +0000 (01:37 -0500)]
Fix volume keys when in-call and screen is off due to proximity sensor.

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>
14 years agoFix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKE...
Mike Lockwood [Wed, 2 Dec 2009 06:15:27 +0000 (01:15 -0500)]
Fix problems with KeyguardManager.exitKeyguardSecurely() and the 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>
14 years agoam b64c72df: Fix bug 2290852: Screen wakes up in my pocket while listening to music
Mike Lockwood [Tue, 1 Dec 2009 00:45:07 +0000 (16:45 -0800)]
am b64c72df: Fix bug 2290852: Screen wakes up in my pocket while listening to music

Merge commit 'b64c72dfb3e635093b00690454cb905ffff68ab9' into eclair-plus-aosp

* commit 'b64c72dfb3e635093b00690454cb905ffff68ab9':
  Fix bug 2290852: Screen wakes up in my pocket while listening to music

14 years agoFix bug 2290852: Screen wakes up in my pocket while listening to music
Mike Lockwood [Sun, 29 Nov 2009 01:58:22 +0000 (20:58 -0500)]
Fix bug 2290852: Screen wakes up in my pocket while listening to music

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>
14 years agoam 760d266a: Merge change I9987ba41 into eclair
Jim Miller [Tue, 24 Nov 2009 22:04:38 +0000 (14:04 -0800)]
am 760d266a: Merge change I9987ba41 into eclair

Merge commit '760d266a4195db5f3f3dee94be9e0c020cf4051f' into eclair-plus-aosp

* commit '760d266a4195db5f3f3dee94be9e0c020cf4051f':
  Fix 2270597: Add callback to watch ringer state and update lock screen UI when it changes.

14 years agoMerge change I9987ba41 into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 22:00:23 +0000 (14:00 -0800)]
Merge change I9987ba41 into eclair

* changes:
  Fix 2270597: Add callback to watch ringer state and update lock screen UI when it changes.

14 years agoam 5da799e0: Bug 2248173 - Tell listeners to ACTION_CLOSE_SYSTEM_DIALOGS that we...
Joe Onorato [Tue, 24 Nov 2009 21:58:01 +0000 (13:58 -0800)]
am 5da799e0: Bug 2248173 - Tell listeners to ACTION_CLOSE_SYSTEM_DIALOGS that we\'re doing so because of the home key.

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

* commit '5da799e012cc4427a4f656e2416bcd73c22acd83':
  Bug 2248173 - Tell listeners to ACTION_CLOSE_SYSTEM_DIALOGS that we're doing so because of the home

14 years agoBug 2248173 - Tell listeners to ACTION_CLOSE_SYSTEM_DIALOGS that we're doing so becau...
Joe Onorato [Tue, 24 Nov 2009 21:11:13 +0000 (16:11 -0500)]
Bug 2248173 - Tell listeners to ACTION_CLOSE_SYSTEM_DIALOGS that we're doing so because of the home
key.

14 years agoFix 2270597: Add callback to watch ringer state and update lock screen UI when it...
Jim Miller [Tue, 24 Nov 2009 08:40:16 +0000 (00:40 -0800)]
Fix 2270597: Add callback to watch ringer state and update lock screen UI when it changes.

14 years agoam eb8e950e: Fix issue #2264162 and #2252436: Now playing screens problems when locked.
Dianne Hackborn [Wed, 18 Nov 2009 21:04:35 +0000 (13:04 -0800)]
am eb8e950e: Fix issue #2264162 and #2252436: Now playing screens problems when locked.

Merge commit 'eb8e950ea446ce6a1b83c565718217d944dd3557' into eclair-plus-aosp

* commit 'eb8e950ea446ce6a1b83c565718217d944dd3557':
  Fix issue #2264162 and #2252436: Now playing screens problems when locked.

14 years agoam bbacc28f: Fix issue #2249821: Unable to start passion in safe mode
Dianne Hackborn [Wed, 18 Nov 2009 19:49:15 +0000 (11:49 -0800)]
am bbacc28f: Fix issue #2249821: Unable to start passion in safe mode

Merge commit 'bbacc28ff4ea2892ae4c0a0d9a639a960a4dd93a' into eclair-plus-aosp

* commit 'bbacc28ff4ea2892ae4c0a0d9a639a960a4dd93a':
  Fix issue #2249821: Unable to start passion in safe mode

14 years agoFix issue #2264162 and #2252436: Now playing screens problems when locked.
Dianne Hackborn [Wed, 18 Nov 2009 02:19:23 +0000 (18:19 -0800)]
Fix issue #2264162 and #2252436: Now playing screens problems when locked.

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

14 years agoFix issue #2249821: Unable to start passion in safe mode
Dianne Hackborn [Tue, 17 Nov 2009 23:53:36 +0000 (15:53 -0800)]
Fix issue #2249821: Unable to start passion in safe mode

Change-Id: I4320b38ce0cda4dca560c07bc0378b507032598a

14 years agoam 129b69f3: Handle KeyguardViewMediator.setHidden() asynchronously to avoid deadlocks.
Mike Lockwood [Wed, 18 Nov 2009 02:07:26 +0000 (18:07 -0800)]
am 129b69f3: Handle KeyguardViewMediator.setHidden() asynchronously to avoid deadlocks.

Merge commit '129b69f368bd30cb1caa75cf13961b5b44982d4b' into eclair-plus-aosp

* commit '129b69f368bd30cb1caa75cf13961b5b44982d4b':
  Handle KeyguardViewMediator.setHidden() asynchronously to avoid deadlocks.

14 years agoHandle KeyguardViewMediator.setHidden() asynchronously to avoid deadlocks.
Mike Lockwood [Wed, 18 Nov 2009 01:25:58 +0000 (20:25 -0500)]
Handle KeyguardViewMediator.setHidden() asynchronously to avoid deadlocks.

Fixes b/2267046 (Could not shut off alarm; then device reboot)

Change-Id: Id8f3e24edc5e1242a39c5d43bd549b5cb05abb36
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoam 263bdabc: Fix 2209086: Fix visual glitches in lockscreen.
Jim Miller [Tue, 17 Nov 2009 08:12:08 +0000 (00:12 -0800)]
am 263bdabc: Fix 2209086: Fix visual glitches in lockscreen.

Merge commit '263bdabc8770fed981bb52f8e3ff4110dfefc0e1' into eclair-plus-aosp

* commit '263bdabc8770fed981bb52f8e3ff4110dfefc0e1':
  Fix 2209086: Fix visual glitches in lockscreen.

14 years agoFix 2209086: Fix visual glitches in lockscreen.
Jim Miller [Tue, 17 Nov 2009 07:11:42 +0000 (23:11 -0800)]
Fix 2209086: Fix visual glitches in lockscreen.

Call new setHoldAfterTrigger() method to enable feature added in https://android-git.corp.google.com/g/#change,33380.

14 years agomerge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 22:06:32 +0000 (14:06 -0800)]
merge from open-source master

Merge commit 'goog/stage-korg-master' into HEAD

14 years agoFix 2209086: Fix missing callback that was preventing right tab bar text from updating.
Jim Miller [Sat, 14 Nov 2009 10:31:09 +0000 (02:31 -0800)]
Fix 2209086: Fix missing callback that was preventing right tab bar text from updating.

14 years agomerge from eclair
Jean-Baptiste Queru [Sun, 15 Nov 2009 20:06:39 +0000 (12:06 -0800)]
merge from eclair

14 years agoFix a race condition determining whether password fallback mode is allowed.
Daniel Sandler [Sat, 14 Nov 2009 01:07:50 +0000 (17:07 -0800)]
Fix a race condition determining whether password fallback mode is allowed.

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

14 years agoMerge change Icdb3d036 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 23:18:17 +0000 (15:18 -0800)]
Merge change Icdb3d036 into eclair

* changes:
  Don't trigger user activity in screenOnStoppedLw() if the screen is off.

14 years agoDon't trigger user activity in screenOnStoppedLw() if the screen is off.
Mike Lockwood [Fri, 13 Nov 2009 23:06:22 +0000 (18:06 -0500)]
Don't trigger user activity in screenOnStoppedLw() if the screen is off.

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>
14 years agoUse new date format for lock screen.
Daniel Sandler [Fri, 13 Nov 2009 22:17:21 +0000 (14:17 -0800)]
Use new date format for lock screen.

Fixes http://b/issue?id=2247356 (well, it will once the
format is updated to include the full day-of-week).

Change-Id: Iaafbc60b7ff3edbfee7208052ecc1575cb8c226c

14 years agoeclair snapshot
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:46:07 +0000 (18:46 -0800)]
eclair snapshot

14 years agoUpdate LockScreen/UnlockScreen for new UX designs.
Daniel Sandler [Thu, 12 Nov 2009 06:23:36 +0000 (22:23 -0800)]
Update LockScreen/UnlockScreen for new UX designs.

This change depends upon relevant layout changes in
frameworks/base/core/res/res.

14 years agoFix 2209086: Update sound states in LockScreen.
Jim Miller [Thu, 12 Nov 2009 02:06:35 +0000 (18:06 -0800)]
Fix 2209086: Update sound states in LockScreen.

14 years agoFix for 2209086: Initial pass at new SlidingTab widget and integration into LockScreen.
Jim Miller [Wed, 11 Nov 2009 05:44:58 +0000 (21:44 -0800)]
Fix for 2209086:  Initial pass at new SlidingTab widget and integration into LockScreen.

Tested:
    - unlock and mute/unmute

Not working:
- highlighting on right tab.

14 years agoRestore short screen timeout when keyguard is unhidden.
Mike Lockwood [Mon, 9 Nov 2009 21:01:37 +0000 (16:01 -0500)]
Restore short screen timeout when keyguard is unhidden.

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>
14 years agoDo not apply keyguard's short timeout when the keyguard is hidden by another window.
Mike Lockwood [Sun, 8 Nov 2009 05:33:23 +0000 (00:33 -0500)]
Do not apply keyguard's short timeout when the keyguard is hidden by another window.

Fixes bug b/2215852 (Music player doesn't grab screen wakelock)

Change-Id: I6c402cdb460d216314ad72e37dbcdc7e19518941
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoFix 2129239: Add an override method for enabling the menu key on signed builds.
Jim Miller [Tue, 3 Nov 2009 21:56:39 +0000 (13:56 -0800)]
Fix 2129239: Add an override method for enabling the menu key on signed builds.

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.

14 years agoMerge change I13ea5a5a into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 00:44:45 +0000 (20:44 -0400)]
Merge change I13ea5a5a into eclair

* changes:
  Fix 2201413: Enable login on Passion when there's no SIM

14 years agoFix 2201413: Enable login on Passion when there's no SIM
Jim Miller [Wed, 28 Oct 2009 23:08:15 +0000 (16:08 -0700)]
Fix 2201413: Enable login on Passion when there's no SIM

14 years agoFix for 2201954: Disable haptic feedback for hard keys while keyguard is showing
Jim Miller [Tue, 27 Oct 2009 21:54:09 +0000 (14:54 -0700)]
Fix for 2201954: Disable haptic feedback for hard keys while keyguard is showing

14 years agoWhen phone is ringing, power button should only mute the ringer, not hang up.
Mike Lockwood [Fri, 23 Oct 2009 15:29:52 +0000 (11:29 -0400)]
When phone is ringing, power button should only mute the ringer, not hang up.

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>
14 years agoWhen phone is ringing, power button should hang up phone in addition to turning off...
Mike Lockwood [Thu, 22 Oct 2009 17:14:31 +0000 (13:14 -0400)]
When phone is ringing, power button should hang up phone in addition to 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>
14 years agoDisable key repeats when the screen is off.
Mike Lockwood [Thu, 22 Oct 2009 03:01:07 +0000 (23:01 -0400)]
Disable key repeats when the screen is off.

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>
14 years agoCherry-pick from mr2 to eclair: DO NOT MERGE
Jim Miller [Wed, 7 Oct 2009 08:30:21 +0000 (01:30 -0700)]
Cherry-pick from mr2 to eclair: DO NOT MERGE

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.

14 years agoIgnore requests to hide the keyguard if we are in the process of waking up.
Mike Lockwood [Thu, 8 Oct 2009 18:31:25 +0000 (14:31 -0400)]
Ignore requests to hide the keyguard if we are in the process of waking up.

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>
14 years agoMore fix #2163209: alarm clock rings but is hidden behind lock screen
Dianne Hackborn [Thu, 8 Oct 2009 04:27:43 +0000 (21:27 -0700)]
More fix #2163209: alarm clock rings but is hidden behind lock screen

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

14 years agoFix issue #2171460: Turn off background blurring of power dialog
Dianne Hackborn [Wed, 7 Oct 2009 23:14:02 +0000 (16:14 -0700)]
Fix issue #2171460: Turn off background blurring of power dialog

Change-Id: I233929c363cac232de26dad20bc4011f12e3a5ab

14 years agoFix issue #2171766: Device can go to sleep while in dock
Dianne Hackborn [Wed, 7 Oct 2009 21:02:10 +0000 (14:02 -0700)]
Fix issue #2171766: Device can go to sleep while in dock

The issue I saw was then when plugging into the dock, we the battery
first is in the "USB" state before going to "AC".  The phone window
manager would pick up the first state, but not the second.

This change reworks this code to always monitor the battery status
while plugged in to the dock, to update itself whenever that state
changes.  When not in the dock, we don't monitor, since this is
only used to determine whether to keep the device on while in the
dock.

Change-Id: Ic1e8b584082a44c4e5df13ee19dab450775027f6

14 years agoFix #2163209: alarm clock rings but is hidden behind lock screen
Dianne Hackborn [Wed, 7 Oct 2009 06:25:51 +0000 (23:25 -0700)]
Fix #2163209: alarm clock rings but is hidden behind lock screen

The lock screen's flag to force the status bar on was sometimes
interfering with the flag of the alarm behind to hide the lock screen.

Change-Id: I91368c56d09d35b03db548530aa1eb59197206bd

14 years agoHold a partial wakelock while showing the keyguard
Mike Lockwood [Tue, 6 Oct 2009 13:28:54 +0000 (09:28 -0400)]
Hold a partial wakelock while showing the keyguard

This ensures that the keyguard is fully displayed before the processor suspends,
which avoids a race condition when the device is powered back up.
Fixes one instance of bug b/2164183

Change-Id: Ifd7f928068cf779ec725937db82af69306c02107
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change I0f10425e into eclair
Android (Google) Code Review [Mon, 5 Oct 2009 20:33:16 +0000 (16:33 -0400)]
Merge change I0f10425e into eclair

* changes:
  Add some logging to help diagnose b/2164183

14 years agoAdd some logging to help diagnose b/2164183
Mike Lockwood [Mon, 5 Oct 2009 20:03:31 +0000 (16:03 -0400)]
Add some logging to help diagnose b/2164183

Change-Id: I0f10425e89cba9e9ddbd3ce58ad1ae0a3ae74f34
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoaccount manager api review changes
Fred Quintana [Sat, 3 Oct 2009 00:19:24 +0000 (17:19 -0700)]
account manager api review changes

14 years agoWork on issue #2163789: Way too much logging
Dianne Hackborn [Sun, 4 Oct 2009 20:33:00 +0000 (13:33 -0700)]
Work on issue #2163789: Way too much logging

Dr.No from mcleron.

Change-Id: I44d49221b15a6ae2c22504869b14d610d234ccc9

14 years agoFix for 2129239: Always enable the menu hard key in LockScreen when 'ro.monkey' is...
Jim Miller [Fri, 2 Oct 2009 23:49:10 +0000 (16:49 -0700)]
Fix for 2129239: Always enable the menu hard key in LockScreen when 'ro.monkey' is set.

BUG=2129239
DRNO=discussed with hiroshi/mcleron who gave thumbs up.

14 years agoMerge change I46ea3489 into eclair
Android (Google) Code Review [Fri, 2 Oct 2009 18:03:43 +0000 (14:03 -0400)]
Merge change I46ea3489 into eclair

* changes:
  Make sure we wake up the screen if the keyguard is not visible when we think it should be.

14 years agoAdd placeholder onGrabbedStateChange() method.
David Brown [Fri, 2 Oct 2009 02:27:44 +0000 (19:27 -0700)]
Add placeholder onGrabbedStateChange() method.

Update LockScreen to implement the latest RotarySelector
OnDialTriggerListener interface.  In a followup CL we'll use this to
display onscreen hint text while dragging.

BUG=2158434
DRNO=timsullivan
TESTED=exercised the lock screen widget, confirmed there's no new behavior.

14 years agoMake sure we wake up the screen if the keyguard is not visible when we think it shoul...
Mike Lockwood [Thu, 1 Oct 2009 18:50:15 +0000 (14:50 -0400)]
Make sure we wake up the screen if the keyguard is not visible when we think it should be.

I am hoping this will fix bug b/2155529

Change-Id: I46ea34898864d7b39391d76b802858c0f092b578
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMove status bar disabling from KeyguardViewMediator to Phone app
Mike Lockwood [Thu, 1 Oct 2009 12:15:40 +0000 (08:15 -0400)]
Move status bar disabling from KeyguardViewMediator to Phone app

This allows us to disable the keyguard while docked without disabling the status bar.

Change-Id: I06ff48dcb1922a26e356faee0aefa91b7c871e6a
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoRemove GAIA string
Costin Manolache [Wed, 30 Sep 2009 01:58:36 +0000 (18:58 -0700)]
Remove GAIA string

14 years agoMerge change I880426e8 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 01:20:25 +0000 (21:20 -0400)]
Merge change I880426e8 into eclair

* changes:
  Fix for 2133391: Allow menu hard key to be disabled in LockScreen on some devices

14 years agoFix issue #2153749: Window manager deadlock around the Eclair lock screen
Dianne Hackborn [Tue, 29 Sep 2009 23:14:59 +0000 (16:14 -0700)]
Fix issue #2153749: Window manager deadlock around the Eclair lock screen

Don't synchronously call into the account manager from the lock screen.

Change-Id: I2741c81bb31537ddfcce96b1b199ac50fd48e727

14 years agoFix for 2133391: Allow menu hard key to be disabled in LockScreen on some devices
Jim Miller [Tue, 29 Sep 2009 09:52:12 +0000 (02:52 -0700)]
Fix for 2133391: Allow menu hard key to be disabled in LockScreen on some devices

Changed to use config.xml and overlays to enable.

14 years agoMerge change Ie3edea1f into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 22:41:48 +0000 (18:41 -0400)]
Merge change Ie3edea1f into eclair

* changes:
  Fix for 2137900: Be more conservative about poking the wakelock

14 years agoWhoops forgot the change to actually check for safe mode!
Dianne Hackborn [Tue, 29 Sep 2009 22:18:31 +0000 (15:18 -0700)]
Whoops forgot the change to actually check for safe mode!

Change-Id: Iba0ad151ed786be8ae8659bfefe2a29776ce6311

14 years agoFix for 2137900: Be more conservative about poking the wakelock
Jim Miller [Tue, 29 Sep 2009 21:16:41 +0000 (14:16 -0700)]
Fix for 2137900: Be more conservative about poking the wakelock

14 years agoFix potential race when removing keyguard view.
Dianne Hackborn [Sat, 26 Sep 2009 00:35:10 +0000 (17:35 -0700)]
Fix potential race when removing keyguard view.

Change-Id: Ia636bc8a73d18b8ebe2dca2b29bb74793a3f0396

14 years agofw/policy/base:Phonewindowmanager: Make vkey button haptics part of global haptic...
Dan Murphy [Tue, 22 Sep 2009 16:44:29 +0000 (11:44 -0500)]
fw/policy/base:Phonewindowmanager: Make vkey button haptics part of global haptic setting

This change ties the virtual key haptics to the global haptics settings

Signed-off-by: Dan Murphy <D.Murphy@motorola.com>