432 Commits

Author SHA1 Message Date
Jim Miller
fc7135ae30 am 1a30acc0: (-s ours) am 6c15d1d4: am eb44da50: (-s ours) Cherry-pick from mr2 to eclair: DO NOT MERGE
Merge commit '1a30acc0226360e2b98135755f68bd096e37cab8'

* commit '1a30acc0226360e2b98135755f68bd096e37cab8':
2009-10-13 12:09:29 -07:00
Gil Dobjanschi
25f166ce5d am 6d6c321f: Merge branch \'eclair-plus-aosp\' of ssh://android-git.corp.google.com:29418/platform/frameworks/policies/base into eclair-mr2-plus-aosp
Merge commit '6d6c321f9dfcdbecac610d990ee9fa0f102dccdb'

* commit '6d6c321f9dfcdbecac610d990ee9fa0f102dccdb':
  Cherry-pick from mr2 to eclair: DO NOT MERGE
2009-10-13 12:09:26 -07:00
Mike Lockwood
e518c719fe am c8be3e80: am c679a30d: am f184c681: Ignore requests to hide the keyguard if we are in the process of waking up.
Merge commit 'c8be3e80ea294605fd000ad36cbccc9f2bd064b0'

* commit 'c8be3e80ea294605fd000ad36cbccc9f2bd064b0':
2009-10-13 12:03:36 -07:00
Dan Murphy
56eb4cb7e1 am 3d8bc316: Merge branch \'eclair-plus-aosp\' of ssh://android-git.corp.google.com:29418/platform/frameworks/policies/base into eclair-mr2-plus-aosp
Merge commit '3d8bc316ae81b443522c812a896d42fb2978ba3d'

* commit '3d8bc316ae81b443522c812a896d42fb2978ba3d':
  Ignore requests to hide the keyguard if we are in the process of waking up.
2009-10-13 12:03:33 -07:00
Dianne Hackborn
75bf418f2b am 255fac8b: am e6a78dcd: am 2ae4f37c: More fix #2163209: alarm clock rings but is hidden behind lock screen
Merge commit '255fac8b34367e7285761181795ee0b36a7d8bcc'

* commit '255fac8b34367e7285761181795ee0b36a7d8bcc':
2009-10-13 11:51:50 -07:00
Dima Zavin
f2ee67e57b am 4b0b6095: Merge branch \'eclair-plus-aosp\' of ssh://android-git.corp.google.com:29418/platform/frameworks/policies/base into eclair-mr2-plus-aosp
Merge commit '4b0b6095551bab9b9504fa581968632df9c62960'

* commit '4b0b6095551bab9b9504fa581968632df9c62960':
  More fix #2163209: alarm clock rings but is hidden behind lock screen
2009-10-13 11:51:46 -07:00
Dianne Hackborn
a768097d88 am 5c19f9a1: am d586a383: am 08b8108e: Fix issue #2171460: Turn off background blurring of power dialog
Merge commit '5c19f9a190f7d2cb51bd0164dce703362e7c523a'

* commit '5c19f9a190f7d2cb51bd0164dce703362e7c523a':
2009-10-12 12:41:34 -07:00
Dianne Hackborn
f309738580 am 41c52dde: am 2002f37c: am b4ccee6f: Fix issue #2171766: Device can go to sleep while in dock
Merge commit '41c52ddeb4ade18afb2592ec7369fd8212f783ef'

* commit '41c52ddeb4ade18afb2592ec7369fd8212f783ef':
2009-10-12 12:41:31 -07:00
Neel Parekh
8de0f113dc am 89e6b425: Merge branch \'eclair-plus-aosp\' of ssh://android-git.corp.google.com:29418/platform/frameworks/policies/base into eclair-mr2-plus-aosp
Merge commit '89e6b425bcbecd8cb78b95c0c9a6bd4f34d25590'

* commit '89e6b425bcbecd8cb78b95c0c9a6bd4f34d25590':
  Fix issue #2171460: Turn off background blurring of power dialog
  Fix issue #2171766: Device can go to sleep while in dock
2009-10-12 12:41:27 -07:00
Dianne Hackborn
05c4064aaa am 23394837: am e526c56e: Fix #2163209: alarm clock rings but is hidden behind lock screen
Merge commit '23394837c4899bf0f0fc2c568d386c421f2bc97d'

* commit '23394837c4899bf0f0fc2c568d386c421f2bc97d':
  Fix #2163209: alarm clock rings but is hidden behind lock screen
2009-10-12 12:31:21 -07:00
Jim Miller
7f0228d076 am 149c0543: Partial fix for 2069703: Fix race condition in KeyguardViewManager.hide() that could result in a blank screen.
Merge commit '149c0543a3d5f450686b7c3d142ac5f8fcf61ed4'

* commit '149c0543a3d5f450686b7c3d142ac5f8fcf61ed4':
  Partial fix for 2069703: Fix race condition in KeyguardViewManager.hide() that could result in a blank screen.
2009-10-12 12:30:04 -07:00
Mike Lockwood
fe4834302d am c42268d2: Hold a partial wakelock while showing the keyguard
Merge commit 'c42268d25497d8093403bbe9f3ea63dad21b68e2'

* commit 'c42268d25497d8093403bbe9f3ea63dad21b68e2':
  Hold a partial wakelock while showing the keyguard
2009-10-12 11:40:45 -07:00
Mike Lockwood
a2cf903776 am 515c82cd: Merge change I0f10425e into eclair
Merge commit '515c82cdde6334778d8a75a7ad0bbb97271bed88'

* commit '515c82cdde6334778d8a75a7ad0bbb97271bed88':
  Add some logging to help diagnose b/2164183
2009-10-12 11:31:31 -07:00
Fred Quintana
9ee6916449 am ec2318f2: account manager api review changes
Merge commit 'ec2318f28a8230b6f68b9a1ea88a7b516993550e'

* commit 'ec2318f28a8230b6f68b9a1ea88a7b516993550e':
  account manager api review changes
2009-10-12 11:29:23 -07:00
Dianne Hackborn
6c5d5fc437 am a95e1cd1: Work on issue #2163789: Way too much logging
Merge commit 'a95e1cd1f846a949663e33e5a93f689702415b5a'

* commit 'a95e1cd1f846a949663e33e5a93f689702415b5a':
  Work on issue #2163789: Way too much logging
2009-10-12 11:24:17 -07:00
Jim Miller
42e7770a99 am 84ec90cb: Fix for 2129239: Always enable the menu hard key in LockScreen when \'ro.monkey\' is set.
Merge commit '84ec90cbdf950bfa129c30d504f117178c3e3ade'

* commit '84ec90cbdf950bfa129c30d504f117178c3e3ade':
  Fix for 2129239: Always enable the menu hard key in LockScreen when 'ro.monkey' is set.
2009-10-12 11:24:13 -07:00
Mike Lockwood
a463e2b3e1 am dafe18ee: Merge change I46ea3489 into eclair
Merge commit 'dafe18ee8c8d7923580b0d6d03d44ffdb00372e6'

* commit 'dafe18ee8c8d7923580b0d6d03d44ffdb00372e6':
  Make sure we wake up the screen if the keyguard is not visible when we think it should be.
2009-10-12 11:24:10 -07:00
David Brown
ec1ccf633e am 93303df4: Add placeholder onGrabbedStateChange() method.
Merge commit '93303df4771c99d57bcfab47ce4ee2a72e0b7a8b'

* commit '93303df4771c99d57bcfab47ce4ee2a72e0b7a8b':
  Add placeholder onGrabbedStateChange() method.
2009-10-12 11:24:06 -07:00
Jim Miller
456c868379 am 6c15d1d4: am eb44da50: (-s ours) Cherry-pick from mr2 to eclair: DO NOT MERGE
Merge commit '6c15d1d46e86ec41a62ac937f01a2b6437c4006e' into eclair-mr2-plus-aosp

* commit '6c15d1d46e86ec41a62ac937f01a2b6437c4006e':
2009-10-08 18:33:31 -07:00
Gil Dobjanschi
d30ae3409b Merge branch 'eclair-plus-aosp' of ssh://android-git.corp.google.com:29418/platform/frameworks/policies/base into eclair-mr2-plus-aosp 2009-10-08 18:33:31 -07:00
Jim Miller
562074bf7d am eb44da50: (-s ours) Cherry-pick from mr2 to eclair: DO NOT MERGE
Merge commit 'eb44da5077ae21571f39bae86d6be49b74c68e24' into eclair-mr2

* commit 'eb44da5077ae21571f39bae86d6be49b74c68e24':
  Cherry-pick from mr2 to eclair: DO NOT MERGE
2009-10-08 18:28:21 -07:00
Jim Miller
22dfe722df 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.
2009-10-08 17:55:05 -07:00
Mike Lockwood
316de3ca9a am c679a30d: am f184c681: Ignore requests to hide the keyguard if we are in the process of waking up.
Merge commit 'c679a30dd2902cd59a38d293df064e07faa3abd1' into eclair-mr2-plus-aosp

* commit 'c679a30dd2902cd59a38d293df064e07faa3abd1':
2009-10-08 17:48:43 -07:00
Dan Murphy
174b641165 Merge branch 'eclair-plus-aosp' of ssh://android-git.corp.google.com:29418/platform/frameworks/policies/base into eclair-mr2-plus-aosp 2009-10-08 17:48:43 -07:00
Mike Lockwood
a3d12ce260 am f184c681: Ignore requests to hide the keyguard if we are in the process of waking up.
Merge commit 'f184c68119489aa00eccba41d3babedce282518b' into eclair-mr2

* commit 'f184c68119489aa00eccba41d3babedce282518b':
  Ignore requests to hide the keyguard if we are in the process of waking up.
2009-10-08 17:30:06 -07:00
Mike Lockwood
b4a5842157 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>
2009-10-08 14:32:44 -04:00
Dianne Hackborn
68607b976f am e6a78dcd: am 2ae4f37c: More fix #2163209: alarm clock rings but is hidden behind lock screen
Merge commit 'e6a78dcd009f9dd7618b2ee531a867085afdb86e' into eclair-mr2-plus-aosp

* commit 'e6a78dcd009f9dd7618b2ee531a867085afdb86e':
2009-10-07 22:13:23 -07:00
Dima Zavin
e8924c7e86 Merge branch 'eclair-plus-aosp' of ssh://android-git.corp.google.com:29418/platform/frameworks/policies/base into eclair-mr2-plus-aosp 2009-10-07 22:13:23 -07:00
Dianne Hackborn
9f7135b5b4 am 2ae4f37c: More fix #2163209: alarm clock rings but is hidden behind lock screen
Merge commit '2ae4f37c435ae02cf9038216e1dfce0b82d9caab' into eclair-mr2

* commit '2ae4f37c435ae02cf9038216e1dfce0b82d9caab':
  More fix #2163209: alarm clock rings but is hidden behind lock screen
2009-10-07 22:07:48 -07:00
Dianne Hackborn
e7c8c7c1a4 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
2009-10-07 21:29:44 -07:00
Dianne Hackborn
92cb4ee770 am d586a383: am 08b8108e: Fix issue #2171460: Turn off background blurring of power dialog
Merge commit 'd586a383685a11b41fe894d7ea5c1e9f9a4ff1b6' into eclair-mr2-plus-aosp

* commit 'd586a383685a11b41fe894d7ea5c1e9f9a4ff1b6':
2009-10-07 17:52:06 -07:00
Dianne Hackborn
e92534a8cb am 2002f37c: am b4ccee6f: Fix issue #2171766: Device can go to sleep while in dock
Merge commit '2002f37cd072acd801eb3f849eb2783ab11784bb' into eclair-mr2-plus-aosp

* commit '2002f37cd072acd801eb3f849eb2783ab11784bb':
2009-10-07 17:52:03 -07:00
Neel Parekh
f2d7852d28 Merge branch 'eclair-plus-aosp' of ssh://android-git.corp.google.com:29418/platform/frameworks/policies/base into eclair-mr2-plus-aosp 2009-10-07 17:52:03 -07:00
Dianne Hackborn
ba5e592ef2 am 08b8108e: Fix issue #2171460: Turn off background blurring of power dialog
Merge commit '08b8108e5873a758bb694aa0a64d758153145a76' into eclair-mr2

* commit '08b8108e5873a758bb694aa0a64d758153145a76':
  Fix issue #2171460: Turn off background blurring of power dialog
2009-10-07 17:45:08 -07:00
Dianne Hackborn
8d93c3e46c Fix issue #2171460: Turn off background blurring of power dialog
Change-Id: I233929c363cac232de26dad20bc4011f12e3a5ab
2009-10-07 16:33:48 -07:00
Dianne Hackborn
bf29460f2a am b4ccee6f: Fix issue #2171766: Device can go to sleep while in dock
Merge commit 'b4ccee6f4c4bff3e063a06b26a3314121d06467d' into eclair-mr2

* commit 'b4ccee6f4c4bff3e063a06b26a3314121d06467d':
  Fix issue #2171766: Device can go to sleep while in dock
2009-10-07 16:05:01 -07:00
Dianne Hackborn
80fa166bf6 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
2009-10-07 14:02:10 -07:00
Dianne Hackborn
9f7d80e171 am e526c56e: Fix #2163209: alarm clock rings but is hidden behind lock screen
Merge commit 'e526c56eb01db55706f07afc3b763786565d251b' into eclair-mr2

* commit 'e526c56eb01db55706f07afc3b763786565d251b':
  Fix #2163209: alarm clock rings but is hidden behind lock screen
2009-10-07 11:41:13 -07:00
Jim Miller
6c0a563e67 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.
2009-10-07 02:03:02 -07:00
Dianne Hackborn
d70bc2f662 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
2009-10-06 23:25:51 -07:00
Mike Lockwood
674d3e4021 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>
2009-10-06 09:28:54 -04:00
Android (Google) Code Review
89062ab89e Merge change I0f10425e into eclair
* changes:
  Add some logging to help diagnose b/2164183
2009-10-05 16:33:16 -04:00
Mike Lockwood
206f07d3be Add some logging to help diagnose b/2164183
Change-Id: I0f10425e89cba9e9ddbd3ce58ad1ae0a3ae74f34
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-05 16:03:31 -04:00
Fred Quintana
261259b673 account manager api review changes 2009-10-05 10:00:08 -07:00
Dianne Hackborn
73b1ec8961 Work on issue #2163789: Way too much logging
Dr.No from mcleron.

Change-Id: I44d49221b15a6ae2c22504869b14d610d234ccc9
2009-10-04 13:44:16 -07:00
Jim Miller
36931ac9b3 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.
2009-10-02 17:51:30 -07:00
Android (Google) Code Review
9227af0571 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.
2009-10-02 14:03:43 -04:00
David Brown
4c48b6b410 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.
2009-10-01 19:27:44 -07:00
Mike Lockwood
29748bfc67 am fcb96b2f: Move status bar disabling from KeyguardViewMediator to Phone app
Merge commit 'fcb96b2f8762276b1d3a38fb1b73eda977348e0f'

* commit 'fcb96b2f8762276b1d3a38fb1b73eda977348e0f':
  Move status bar disabling from KeyguardViewMediator to Phone app
2009-10-01 15:11:18 -07:00
Costin Manolache
49af23384b am 56755f77: Remove GAIA string
Merge commit '56755f77eb93310aab45013b29fd9614ebb72282'

* commit '56755f77eb93310aab45013b29fd9614ebb72282':
  Remove GAIA string
2009-10-01 11:51:06 -07:00