390 Commits

Author SHA1 Message Date
Jean-Baptiste Queru
5704f326e0 resolved conflicts for merge of f05f7ab1 to master
Change-Id: Id39b4f1f0aefb387261bbe721050814d5517cea1
2010-01-28 08:15:50 -08:00
Jean-Baptiste Queru
70cdb408cb resolved conflicts for merge of 73f1d8e4 to master
Change-Id: I7a7b3cc68124a0cd3fde220e22a05a914b4c0fce
2010-01-28 08:08:35 -08:00
Jim Miller
37ca7defa9 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." 2010-01-27 19:08:31 -08:00
Jim Miller
6fe0f0e46d 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.
2010-01-27 18:14:37 -08:00
The Android Open Source Project
33cafac65a 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)
2010-01-27 16:15:13 -08:00
Jim Miller
f3b777a9ef 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.
2010-01-22 20:23:32 -08:00
Jim Miller
5bfb2e0d7c 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().
2010-01-22 19:38:42 -08:00
John Wang
d6a9355031 am 36a6ec17: Merge "Update carrier display in lockscreen." into eclair
Merge commit '36a6ec17ba8dc655d0bd1d9bc92afb1699e3aafe' into eclair-plus-aosp

* commit '36a6ec17ba8dc655d0bd1d9bc92afb1699e3aafe':
  Update carrier display in lockscreen.
2010-01-22 10:24:27 -08:00
John Wang
d27fc88952 Merge "Update carrier display in lockscreen." into eclair 2010-01-22 10:08:23 -08:00
Mike Lockwood
85e70956eb 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.
2010-01-21 18:27:50 -08:00
Jim Miller
79ebdf2142 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.
2010-01-21 18:27:47 -08:00
John Wang
6e37055b07 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.
2010-01-21 17:30:07 -08:00
Mike Lockwood
3cdda0c3d7 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.
2010-01-21 14:29:32 -08:00
Mike Lockwood
f3bfed513e 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>
2010-01-21 16:38:44 -05:00
The Android Open Source Project
9f686a4eb3 merge from open-source master 2010-01-21 11:21:25 -08:00
Jim Miller
9c20d0e91b Fix 2385283: Add DevicePolicyManager calls to LockScreen. 2010-01-20 15:00:23 -08:00
Jim Miller
dc893738d8 Merge "Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent." into eclair 2010-01-15 17:20:35 -08:00
Jim Miller
3a1837e994 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.
2010-01-15 16:39:16 -08:00
Mike Lockwood
e224cefb3c Do not turn off screen immediately after undocking.
Change-Id: I1d01d141961d1e26d814a202745ce77678fd4518
BUG: 2356385

Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-01-14 20:20:31 -05:00
Jim Miller
5e0f7ba8fa Fix 2332563: Add password-lock support to lockscreen 2010-01-11 15:51:43 -08:00
Romain Guy
cc6828c676 Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:06:37 -08:00
Ying Wang
79ac698217 am a6946bde: am 27517b21: Still use ro.monkey
Merge commit 'a6946bdedeaeb86b9f47a0e7e48cb2011540f3e7'

* commit 'a6946bdedeaeb86b9f47a0e7e48cb2011540f3e7':
  Still use ro.monkey
2010-01-06 13:57:46 -08:00
Ying Wang
bb2e5c91fb Still use ro.monkey
http://b/issue?id=1681101
2010-01-06 09:50:40 -08:00
Johan Redestig
2e2a3d0a4b Added missing media keycode (KEYCODE_MEDIA_REWIND), removed duplicate keycode (KEYCODE_MEDIA_PREVIOUS) 2010-01-05 08:45:33 +01:00
Jim Miller
0e425247d6 Merge "Fix 2338170: Fix a bug where adding a SAML account would cause the fallback unlock to break." 2010-01-04 18:02:09 -08:00
Ying Wang
975d3d047d am 596a4233: am 4d3a9728: Rename ro.monkey to monkey.running
Merge commit '596a4233846492ee3c3d63fd7c7cf56796960c92'

* commit '596a4233846492ee3c3d63fd7c7cf56796960c92':
  Rename ro.monkey to monkey.running
2010-01-04 13:49:30 -08:00
Ying Wang
a3a430e467 Rename ro.monkey to monkey.running
So that Monkey can set it before running and reset it after running.
2010-01-04 11:57:30 -08:00
Jim Miller
18c5947544 Fix 2338170: Fix a bug where adding a SAML account would cause the fallback 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.
2009-12-22 14:15:20 -08:00
Dianne Hackborn
0874372554 Don't perform app transition if app is not currently visible.
Tell the window manager if we are not visible due to the lock screen
or status bar.
2009-12-21 15:31:05 -08:00
Dianne Hackborn
818ba11cd6 Add replace flag to a few more broadcasts. 2009-12-11 11:12:02 -08:00
Daniel Sandler
75cbfcdf36 Prevent NPE in recent apps dialog.
Bug: 2284111
2009-12-08 14:06:31 -05:00
Daniel Sandler
e124693251 Move emergency call button to top-right when no SIM.
Also allows lockscreen's toasts to restore the previous text
in the status TextView, which is necessary for this UI. Also
added color to the toasts (another UI ask).

In conjunction with change Ifea65fb9.

http://b/2260798
2009-12-07 15:53:35 -05:00
Dianne Hackborn
0347b09958 am 4dbf514c: Fix issue #2302336: System dialogs are not being given a layer
Merge commit '4dbf514c6c73832630e4c9bb068cf950ff044a34' into eclair-mr2

* commit '4dbf514c6c73832630e4c9bb068cf950ff044a34':
  Fix issue #2302336: System dialogs are not being given a layer
2009-12-03 12:28:53 -08:00
Dianne Hackborn
6a294ce7a5 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
2009-12-03 11:37:44 -08:00
Mike Lockwood
96eac19abd am db0ec648: Merge change I85572973 into eclair
Merge commit 'db0ec6480b806799f05f3d6fd04d742564af8f2f' into eclair-mr2

* commit 'db0ec6480b806799f05f3d6fd04d742564af8f2f':
  Do not show keyguard if screen is turned off by proximity sensor.
2009-12-03 11:12:04 -08:00
Android (Google) Code Review
ef469c337a Merge change I85572973 into eclair
* changes:
  Do not show keyguard if screen is turned off by proximity sensor.
2009-12-03 11:00:06 -08:00
Daniel Sandler
646ddf4e07 am 30429ac6: Tiny code fix required for http://b/2260798 .
Merge commit '30429ac60e512453d4d7af212788819754b24691' into eclair-mr2

* commit '30429ac60e512453d4d7af212788819754b24691':
  Tiny code fix required for http://b/2260798 .
2009-12-03 08:39:35 -08:00
Daniel Sandler
15620ce415 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
2009-12-03 11:17:09 -05:00
Mike Lockwood
ce27776887 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>
2009-12-03 08:41:44 -05:00
Mike Lockwood
2f8a5cd29f am 15ee33d4: Revert "Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKED window manager flag."
Merge commit '15ee33d4d475dc31709808a64120e56d555e992e' into eclair-mr2

* commit '15ee33d4d475dc31709808a64120e56d555e992e':
  Revert "Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKED window manager flag."
2009-12-02 11:36:05 -08:00
Mike Lockwood
5d258b6b17 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.
2009-12-02 13:50:45 -05:00
Mike Lockwood
4c8156e615 am e7ef4241: Fix volume keys when in-call and screen is off due to proximity sensor.
Merge commit 'e7ef42416088235d9e220e3b031d4f612f436a06' into eclair-mr2

* commit 'e7ef42416088235d9e220e3b031d4f612f436a06':
  Fix volume keys when in-call and screen is off due to proximity sensor.
2009-12-02 09:49:45 -08:00
Mike Lockwood
fc377dfc37 am b684251e: Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKED window manager flag.
Merge commit 'b684251e8f1e85ea9483af2b80bc92f0fd8ded1c' into eclair-mr2

* commit 'b684251e8f1e85ea9483af2b80bc92f0fd8ded1c':
  Fix problems with KeyguardManager.exitKeyguardSecurely() and the FLAG_SHOW_WHEN_LOCKED window manager flag.
2009-12-02 09:49:26 -08:00
Mike Lockwood
99ff0a8290 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>
2009-12-02 01:56:24 -05:00
Mike Lockwood
3e42c35f7a 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>
2009-12-02 01:56:13 -05:00
Mike Lockwood
ea5ea98eb1 resolved conflicts for merge of b64c72df to eclair-mr2
Change-Id: If3c6a28281b08464fd3f24e752f5e07f6f8a420e
2009-12-01 21:21:06 -05:00
Mike Lockwood
f791330dd1 Remove some unused window manager methods.
Change-Id: Idd23ea4adb7328781ea81c45d61392b51dee1374
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-28 22:27:48 -05:00
Mike Lockwood
c72b15f2ee 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>
2009-11-28 20:58:22 -05:00
Jim Miller
4ea72923ff am 760d266a: Merge change I9987ba41 into eclair
Merge commit '760d266a4195db5f3f3dee94be9e0c020cf4051f' into eclair-mr2

* commit '760d266a4195db5f3f3dee94be9e0c020cf4051f':
  Fix 2270597: Add callback to watch ringer state and update lock screen UI when it changes.
2009-11-24 14:04:13 -08:00
Android (Google) Code Review
847669031a Merge change I9987ba41 into eclair
* changes:
  Fix 2270597: Add callback to watch ringer state and update lock screen UI when it changes.
2009-11-24 14:00:23 -08:00