1468 Commits

Author SHA1 Message Date
Mike Lockwood
0cb3f58741 am 0d72f7e9: Fix a race condition that could result in the screen being forced off indefinitely after a phone call.
Merge commit '0d72f7e9fc0d6f774eda5758d111bec5608bcf42' into eclair-mr2

* commit '0d72f7e9fc0d6f774eda5758d111bec5608bcf42':
  Fix a race condition that could result in the screen being forced off indefinitely after a phone call.
2009-11-06 05:35:04 -08:00
Mike Lockwood
0bb02894a4 am 0d72f7e9: Fix a race condition that could result in the screen being forced off indefinitely after a phone call.
Merge commit '0d72f7e9fc0d6f774eda5758d111bec5608bcf42' into eclair-plus-aosp

* commit '0d72f7e9fc0d6f774eda5758d111bec5608bcf42':
  Fix a race condition that could result in the screen being forced off indefinitely after a phone call.
2009-11-06 05:34:44 -08:00
Mike Lockwood
0d72f7e9fc Fix a race condition that could result in the screen being forced off indefinitely after a phone call.
This should fix a "black screen" bug that Motorola identified.
mProximitySensorActive was being set to true due to a proximity sensor change being posted
just after we disabled the proximity sensor.
Now we ignore proximity changes after the phone app releases the proximity lock after the call is done.

Change-Id: I417d423de3d43515389b1b7b008cdcb795cd10f6
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-06 08:28:19 -05:00
Suchi Amalapurapu
972bad3cb8 am 750e82e5: am bf50200b: Merge change Ic9568e39 into eclair
Merge commit '750e82e51921428dc4ad9a75f18b02b8048734d8' into eclair-mr2-plus-aosp

* commit '750e82e51921428dc4ad9a75f18b02b8048734d8':
  When tasks are moved to top or bottom, the app tokens are being rearranged.
2009-11-06 00:30:40 -08:00
Suchi Amalapurapu
750e82e519 am bf50200b: Merge change Ic9568e39 into eclair
Merge commit 'bf50200ba494db0ac2ce655a95f76640f49355ee' into eclair-mr2

* commit 'bf50200ba494db0ac2ce655a95f76640f49355ee':
  When tasks are moved to top or bottom, the app tokens are being rearranged.
2009-11-06 00:23:03 -08:00
Suchi Amalapurapu
7442abf98e am bf50200b: Merge change Ic9568e39 into eclair
Merge commit 'bf50200ba494db0ac2ce655a95f76640f49355ee' into eclair-plus-aosp

* commit 'bf50200ba494db0ac2ce655a95f76640f49355ee':
  When tasks are moved to top or bottom, the app tokens are being rearranged.
2009-11-05 23:19:42 -08:00
Mike Lockwood
e0c1bc9834 am b31174de: am 9ce3df55: Merge change I2c6e54e4 into eclair
Merge commit 'b31174de6a3d5ba39ccea02c9b653ea4f950bb89' into eclair-mr2-plus-aosp

* commit 'b31174de6a3d5ba39ccea02c9b653ea4f950bb89':
  Throttle proximity sensor values so we do not process more than one change a second.
2009-11-05 20:37:20 -08:00
Mike Lockwood
b31174de6a am 9ce3df55: Merge change I2c6e54e4 into eclair
Merge commit '9ce3df55bab12bea563faf764f7beb3555d5942c' into eclair-mr2

* commit '9ce3df55bab12bea563faf764f7beb3555d5942c':
  Throttle proximity sensor values so we do not process more than one change a second.
2009-11-05 20:26:44 -08:00
Suchi Amalapurapu
c9568e3989 When tasks are moved to top or bottom, the app tokens are being rearranged.
The window token rearrangement is defered if an animation is
underway. Force a focus recomputation when the window tokens are finally
rearranged so that we have a valid focused window.
2009-11-05 19:13:18 -08:00
Mike Lockwood
d7f852488b am 9ce3df55: Merge change I2c6e54e4 into eclair
Merge commit '9ce3df55bab12bea563faf764f7beb3555d5942c' into eclair-plus-aosp

* commit '9ce3df55bab12bea563faf764f7beb3555d5942c':
  Throttle proximity sensor values so we do not process more than one change a second.
2009-11-05 17:38:12 -08:00
Android (Google) Code Review
9ce3df55ba Merge change I2c6e54e4 into eclair
* changes:
  Throttle proximity sensor values so we do not process more than one change a second.
2009-11-05 20:29:54 -05:00
Android Code Review
8d9ef03611 Merge change I8f67f092
* changes:
  Fix of compatibility with multifunction extUSB adapters. Tested with HTC YC A300.
2009-11-05 14:08:25 -08:00
Amith Yamasani
9d216dfd51 am 7b2aa74f: am 4ab2c777: Merge change I14fb81af into eclair
Merge commit '7b2aa74f4644979acea456e1047c96e17e09bc6d' into eclair-mr2-plus-aosp

* commit '7b2aa74f4644979acea456e1047c96e17e09bc6d':
  Fix for 2221718: Hang in BatteryStatsService.noteBluetoothOn
2009-11-05 14:05:38 -08:00
Amith Yamasani
7b2aa74f46 am 4ab2c777: Merge change I14fb81af into eclair
Merge commit '4ab2c7770c8e55072ee7a083fa84e318e07c8c3e' into eclair-mr2

* commit '4ab2c7770c8e55072ee7a083fa84e318e07c8c3e':
  Fix for 2221718: Hang in BatteryStatsService.noteBluetoothOn
2009-11-05 13:55:33 -08:00
Amith Yamasani
99b5f8cf69 am 4ab2c777: Merge change I14fb81af into eclair
Merge commit '4ab2c7770c8e55072ee7a083fa84e318e07c8c3e' into eclair-plus-aosp

* commit '4ab2c7770c8e55072ee7a083fa84e318e07c8c3e':
  Fix for 2221718: Hang in BatteryStatsService.noteBluetoothOn
2009-11-05 13:16:40 -08:00
Mike Lockwood
20f87d7aed Throttle proximity sensor values so we do not process more than one change a second.
This is to prevent a noisy proximity sensor from causing the screen to turn on and off
in rapid succession, which can trigger race conditions in the keyguard manager.

Change-Id: I2c6e54e4b41716e038854ed9a827c901579c8865
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-05 16:13:46 -05:00
Amith Yamasani
14fb81af28 Fix for 2221718: Hang in BatteryStatsService.noteBluetoothOn
This should remove the deadlock. I'm not absolutely positive that
it fixes it, as it's not easy to reproduce.
2009-11-05 11:41:58 -08:00
Eric Olsen
d6210cdeb7 am e772eb7a: am 62335430: Merge change I4499ad72 into eclair
Merge commit 'e772eb7af049b55c89241fae799569030c1f5570' into eclair-mr2-plus-aosp

* commit 'e772eb7af049b55c89241fae799569030c1f5570':
  Fix bad merge fixes build breakage.
2009-11-04 17:46:35 -08:00
Eric Olsen
e772eb7af0 am 62335430: Merge change I4499ad72 into eclair
Merge commit '62335430b05d92ad2255bf20b76b35e012b385c9' into eclair-mr2

* commit '62335430b05d92ad2255bf20b76b35e012b385c9':
  Fix bad merge fixes build breakage.
2009-11-04 17:36:59 -08:00
Eric Olsen
8e49e998fd am 62335430: Merge change I4499ad72 into eclair
Merge commit '62335430b05d92ad2255bf20b76b35e012b385c9' into eclair-plus-aosp

* commit '62335430b05d92ad2255bf20b76b35e012b385c9':
  Fix bad merge fixes build breakage.
2009-11-04 17:36:26 -08:00
Android (Google) Code Review
62335430b0 Merge change I4499ad72 into eclair
* changes:
  Fix bad merge fixes build breakage.
2009-11-04 20:27:11 -05:00
Eric Olsen
4499ad729a Fix bad merge fixes build breakage.
Signed-off-by: Eric Olsen <eolsen@android.com>
2009-11-04 17:12:41 -08:00
Eric Olsen
122f412a01 am 76922b83: am 9053fdb3: Merge change I76127f6f into eclair
Merge commit '76922b8378f235e79fd861ba846bed833199e59f' into eclair-mr2-plus-aosp

* commit '76922b8378f235e79fd861ba846bed833199e59f':
  Add support for colored LED on jogball backlight.
2009-11-04 16:54:29 -08:00
Eric Olsen
76922b8378 am 9053fdb3: Merge change I76127f6f into eclair
Merge commit '9053fdb32b38d1240d856bd6efedf72eefba48d3' into eclair-mr2

* commit '9053fdb32b38d1240d856bd6efedf72eefba48d3':
  Add support for colored LED on jogball backlight.
2009-11-04 16:49:31 -08:00
Eric Olsen
5a301c0d17 am 9053fdb3: Merge change I76127f6f into eclair
Merge commit '9053fdb32b38d1240d856bd6efedf72eefba48d3' into eclair-plus-aosp

* commit '9053fdb32b38d1240d856bd6efedf72eefba48d3':
  Add support for colored LED on jogball backlight.
2009-11-04 16:46:49 -08:00
Christopher Tate
9d45108a5f am 888b702c: am 595596fe: Merge change I561011bc into eclair
Merge commit '888b702c81b21847b19c4e2845686ed35cc03a0e' into eclair-mr2-plus-aosp

* commit '888b702c81b21847b19c4e2845686ed35cc03a0e':
  Fix #2176803 - restores from userdebug to user builds not working
2009-11-04 16:42:10 -08:00
Android (Google) Code Review
9053fdb32b Merge change I76127f6f into eclair
* changes:
  Add support for colored LED on jogball backlight.
2009-11-04 19:39:29 -05:00
Christopher Tate
888b702c81 am 595596fe: Merge change I561011bc into eclair
Merge commit '595596fe6b6fd52bf26d224f18b8724a4d151316' into eclair-mr2

* commit '595596fe6b6fd52bf26d224f18b8724a4d151316':
  Fix #2176803 - restores from userdebug to user builds not working
2009-11-04 16:35:06 -08:00
Christopher Tate
409d10c30c am 595596fe: Merge change I561011bc into eclair
Merge commit '595596fe6b6fd52bf26d224f18b8724a4d151316' into eclair-plus-aosp

* commit '595596fe6b6fd52bf26d224f18b8724a4d151316':
  Fix #2176803 - restores from userdebug to user builds not working
2009-11-04 16:02:06 -08:00
Eric Olsen
f42f15cf45 Add support for colored LED on jogball backlight.
Signed-off-by: Eric Olsen <eolsen@android.com>
2009-11-04 14:31:26 -08:00
Christopher Tate
78dd4a7371 Fix #2176803 - restores from userdebug to user builds not working
The underlying issue is that ordinarily, the restore mechanism checks the
signature block of the package which uploaded the restore data against the
signature of the package on-device that will be handling the restore.  This is
to ensure that the restore goes to the "same" application as the one that
uploaded it.

However, applications bundled on the system partition as part of the device
build are signed not with a permanent, app-identifying signature, but rather
with the device's signature block, which is different for each kind of device
and potentially between kinds of build for the same device.  That renders the
stored backup data unusable when changing devices / builds / etc.

This change works around the problem by explicitly privileging applications that
reside on the system partition:  they have been built into the device, and so
are trusted to be able to handle data that is marked as coming from its package
name.

Change-Id: I561011bce2b54cff3e695e82e7544b126b6ac31e
2009-11-04 13:27:56 -08:00
Mike Lockwood
7efae9ae50 am 6de8bbb0: am 27c6dd7a: PowerManagerService: Fix manual brightness mode.
Merge commit '6de8bbb00a6183c7d4eec76fa7f253cf80736422' into eclair-mr2-plus-aosp

* commit '6de8bbb00a6183c7d4eec76fa7f253cf80736422':
  PowerManagerService: Fix manual brightness mode.
2009-11-04 06:19:50 -08:00
Mike Lockwood
b8d8bb40a1 am 27c6dd7a: PowerManagerService: Fix manual brightness mode.
Merge commit '27c6dd7aa4ff6f57435a3c87d8b9a782cf7c9116' into eclair-plus-aosp

* commit '27c6dd7aa4ff6f57435a3c87d8b9a782cf7c9116':
  PowerManagerService: Fix manual brightness mode.
2009-11-04 06:11:15 -08:00
Mike Lockwood
6de8bbb00a am 27c6dd7a: PowerManagerService: Fix manual brightness mode.
Merge commit '27c6dd7aa4ff6f57435a3c87d8b9a782cf7c9116' into eclair-mr2

* commit '27c6dd7aa4ff6f57435a3c87d8b9a782cf7c9116':
  PowerManagerService: Fix manual brightness mode.
2009-11-04 06:10:37 -08:00
Mike Lockwood
27c6dd7aa4 PowerManagerService: Fix manual brightness mode.
Change-Id: I10aec64e3f7ae2715475b9797565747295c19a00
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-04 08:57:07 -05:00
Amith Yamasani
b0c8cd25fb am 1283fd9e: am 86396f97: Merge changes Idcdd2978,Ied564b31,I6179126d into eclair
Merge commit '1283fd9e7f6fc2f7b74f916ad3033ae1bdd1a76f' into eclair-mr2-plus-aosp

* commit '1283fd9e7f6fc2f7b74f916ad3033ae1bdd1a76f':
  Fix 2233444 (No IME).
  Revert "Revert "Fix notification bar performance.""
  Revert "Revert "fix 2233092 - Notification shade gets stuck half-open""
2009-11-03 15:31:59 -08:00
Amith Yamasani
1209c012a2 am 86396f97: Merge changes Idcdd2978,Ied564b31,I6179126d into eclair
Merge commit '86396f97c998358390d912903395828ee244e2d5' into eclair-plus-aosp

* commit '86396f97c998358390d912903395828ee244e2d5':
  Fix 2233444 (No IME).
  Revert "Revert "Fix notification bar performance.""
  Revert "Revert "fix 2233092 - Notification shade gets stuck half-open""
2009-11-03 15:26:41 -08:00
Amith Yamasani
1283fd9e7f am 86396f97: Merge changes Idcdd2978,Ied564b31,I6179126d into eclair
Merge commit '86396f97c998358390d912903395828ee244e2d5' into eclair-mr2

* commit '86396f97c998358390d912903395828ee244e2d5':
  Fix 2233444 (No IME).
  Revert "Revert "Fix notification bar performance.""
  Revert "Revert "fix 2233092 - Notification shade gets stuck half-open""
2009-11-03 15:26:12 -08:00
Android Git Automerger
fe6168b897 am c6b2d297: am b96a9d92: Revert "fix 2233092 - Notification shade gets stuck half-open"
Merge commit 'c6b2d2970891790aa1c626a6f0d5ea39f5240161' into eclair-mr2-plus-aosp

* commit 'c6b2d2970891790aa1c626a6f0d5ea39f5240161':
  Revert "fix 2233092 - Notification shade gets stuck half-open"
2009-11-03 13:40:54 -08:00
Android Git Automerger
264863cb4b am a3f84bb2: am 6e8f47b0: Revert "Fix notification bar performance."
Merge commit 'a3f84bb2f434d507c866e3e8c52e0817c00da958' into eclair-mr2-plus-aosp

* commit 'a3f84bb2f434d507c866e3e8c52e0817c00da958':
  Revert "Fix notification bar performance."
2009-11-03 13:40:46 -08:00
Amith Yamasani
6179126dad Fix 2233444 (No IME).
Fix the flags for the StatusBarExpanded window that were causing the Window Manager to
think that it needed input.
2009-11-03 13:22:24 -08:00
Amith Yamasani
ed564b319d Revert "Revert "Fix notification bar performance.""
This reverts commit 6e8f47b0ed2ffdb55b695d9f154cccd3ea3c98de.
2009-11-03 13:20:21 -08:00
Amith Yamasani
dcdd29781a Revert "Revert "fix 2233092 - Notification shade gets stuck half-open""
This reverts commit b96a9d9296925fef6a1c0e5ad4d847d96bf9acb5.
2009-11-03 13:18:03 -08:00
Android Git Automerger
d2801942a9 am b96a9d92: Revert "fix 2233092 - Notification shade gets stuck half-open"
Merge commit 'b96a9d9296925fef6a1c0e5ad4d847d96bf9acb5' into eclair-plus-aosp

* commit 'b96a9d9296925fef6a1c0e5ad4d847d96bf9acb5':
  Revert "fix 2233092 - Notification shade gets stuck half-open"
2009-11-03 12:36:15 -08:00
Android Git Automerger
8383d06fac am 6e8f47b0: Revert "Fix notification bar performance."
Merge commit '6e8f47b0ed2ffdb55b695d9f154cccd3ea3c98de' into eclair-plus-aosp

* commit '6e8f47b0ed2ffdb55b695d9f154cccd3ea3c98de':
  Revert "Fix notification bar performance."
2009-11-03 12:36:07 -08:00
Android Git Automerger
c6b2d29708 am b96a9d92: Revert "fix 2233092 - Notification shade gets stuck half-open"
Merge commit 'b96a9d9296925fef6a1c0e5ad4d847d96bf9acb5' into eclair-mr2

* commit 'b96a9d9296925fef6a1c0e5ad4d847d96bf9acb5':
  Revert "fix 2233092 - Notification shade gets stuck half-open"
2009-11-03 12:36:03 -08:00
Android Git Automerger
a3f84bb2f4 am 6e8f47b0: Revert "Fix notification bar performance."
Merge commit '6e8f47b0ed2ffdb55b695d9f154cccd3ea3c98de' into eclair-mr2

* commit '6e8f47b0ed2ffdb55b695d9f154cccd3ea3c98de':
  Revert "Fix notification bar performance."
2009-11-03 12:35:55 -08:00
Android Git Automerger
b96a9d9296 Revert "fix 2233092 - Notification shade gets stuck half-open"
As per Dr. No; revert commit 6a7899a8d6444989657d1058666269263b5b50c0.
2009-11-03 12:29:46 -08:00
Android Git Automerger
6e8f47b0ed Revert "Fix notification bar performance."
As per Dr. No; revert commit 0d7dc3b800d0489c43ad9071615b2b4ebec80443.
2009-11-03 12:26:15 -08:00
Mike Lockwood
44795bc2be am 0ce9c58f: am d2c68794: Merge changes I116424c4,Ibd0ef67f into eclair
Merge commit '0ce9c58fe33a3b96219944762adbff99d12212a3' into eclair-mr2-plus-aosp

* commit '0ce9c58fe33a3b96219944762adbff99d12212a3':
  Remove obsolete hardware auto-brightness support.
  Add documentation for proximity and light sensors.
2009-11-03 09:47:47 -08:00