1531 Commits

Author SHA1 Message Date
Mike Lockwood
6eb14c3038 PowerManagerService: Do not enable light sensor if hardware backlight management is being used.
Change-Id: Ic652ac22ec3256d71d12504148927349dfbd3384
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-24 19:43:38 -04:00
Robert Greenwalt
23546ac55d am 48153e7f: Merge change I064698b3 into eclair-mr2
Merge commit '48153e7f7fe46586c1994d69f899f75355847245' into eclair-mr2-plus-aosp

* commit '48153e7f7fe46586c1994d69f899f75355847245':
  Add wifi "HANGED" driver state triggering reload.
2009-10-23 12:10:00 -07:00
Robert Greenwalt
f75aa36fc8 Add wifi "HANGED" driver state triggering reload.
The driver can now report to us that they are hosed and we'll shut
down wifi and restart it - only to be used as a last resort.

Also fixing synch problem with updateWifiState.

bug: 2173119
2009-10-23 11:12:47 -07:00
Dianne Hackborn
8368e510a9 am c6bead14: am 7580493b: Implement feature #2117336: Create event communication APIs for live wallpaper
Merge commit 'c6bead14fe6fe70bcfd8802ee9f0259476a074ce' into eclair-mr2-plus-aosp

* commit 'c6bead14fe6fe70bcfd8802ee9f0259476a074ce':
  Implement feature #2117336: Create event communication APIs for live wallpaper
2009-10-22 20:32:09 -07:00
Dianne Hackborn
53dee9654f am 7580493b: Implement feature #2117336: Create event communication APIs for live wallpaper
Merge commit '7580493b014a2c7ea883cd291255798dc72ebbff' into eclair-plus-aosp

* commit '7580493b014a2c7ea883cd291255798dc72ebbff':
  Implement feature #2117336: Create event communication APIs for live wallpaper
2009-10-22 20:21:29 -07:00
Dianne Hackborn
c6bead14fe am 7580493b: Implement feature #2117336: Create event communication APIs for live wallpaper
Merge commit '7580493b014a2c7ea883cd291255798dc72ebbff' into eclair-mr2

* commit '7580493b014a2c7ea883cd291255798dc72ebbff':
  Implement feature #2117336: Create event communication APIs for live wallpaper
2009-10-22 20:21:07 -07:00
Dianne Hackborn
7580493b01 Implement feature #2117336: Create event communication APIs for live wallpaper
Note: currently only implements an async version (no result), and not yet
actually tested.

Change-Id: Id47ed045a4b0eb309ea8c58daf41a0e03eff1d3a
2009-10-22 20:10:53 -07:00
Eric Fischer
52ab52f35b am fa48000a: am 94f2c524: Merge change I63c2d9ed into eclair
Merge commit 'fa48000a25a32de1a117c716dcd6f9c255bffe58' into eclair-mr2-plus-aosp

* commit 'fa48000a25a32de1a117c716dcd6f9c255bffe58':
  Update the names of the widgets when the locale changes.
2009-10-22 15:58:02 -07:00
Eric Fischer
fa48000a25 am 94f2c524: Merge change I63c2d9ed into eclair
Merge commit '94f2c524214b56ac2416f79cf9e81fa598327917' into eclair-mr2

* commit '94f2c524214b56ac2416f79cf9e81fa598327917':
  Update the names of the widgets when the locale changes.
2009-10-22 15:47:24 -07:00
Eric Fischer
d11b463c73 am 94f2c524: Merge change I63c2d9ed into eclair
Merge commit '94f2c524214b56ac2416f79cf9e81fa598327917' into eclair-plus-aosp

* commit '94f2c524214b56ac2416f79cf9e81fa598327917':
  Update the names of the widgets when the locale changes.
2009-10-22 15:47:23 -07:00
Android (Google) Code Review
94f2c52421 Merge change I63c2d9ed into eclair
* changes:
  Update the names of the widgets when the locale changes.
2009-10-22 18:38:29 -04:00
Eric Fischer
63c2d9ed9c Update the names of the widgets when the locale changes.
Bug 1814373, Bug 2152730
2009-10-22 15:28:05 -07:00
Mike Lockwood
36cf8123d8 am d278ffc0: am 96e0c315: Merge change Ia3f7ef64 into eclair
Merge commit 'd278ffc0984d730b333f53636a223eae6d9b7657' into eclair-mr2-plus-aosp

* commit 'd278ffc0984d730b333f53636a223eae6d9b7657':
  PowerManager: Don't poke user activity in setKeyboardVisibility unless the state actually changed.
2009-10-22 13:43:01 -07:00
Mike Lockwood
f79518165e am 96e0c315: Merge change Ia3f7ef64 into eclair
Merge commit '96e0c3156e21bbdb0d94201b08d80379b98c472a' into eclair-plus-aosp

* commit '96e0c3156e21bbdb0d94201b08d80379b98c472a':
  PowerManager: Don't poke user activity in setKeyboardVisibility unless the state actually changed.
2009-10-22 13:32:47 -07:00
Mike Lockwood
d278ffc098 am 96e0c315: Merge change Ia3f7ef64 into eclair
Merge commit '96e0c3156e21bbdb0d94201b08d80379b98c472a' into eclair-mr2

* commit '96e0c3156e21bbdb0d94201b08d80379b98c472a':
  PowerManager: Don't poke user activity in setKeyboardVisibility unless the state actually changed.
2009-10-22 13:31:37 -07:00
Mike Lockwood
3c9435a205 PowerManager: Don't poke user activity in setKeyboardVisibility unless the state actually changed.
Fixes bug b/2158297 (lock screen should time out after 7 seconds)

Change-Id: Ia3f7ef6464129ab78283923dbfd7f7472136e676
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-22 15:45:37 -04:00
Mike Lockwood
54df9665d1 am fee0f577: Merge change I99dc6477 into eclair
Merge commit 'fee0f5773335e42f4ffdf2d2d1c344ceee3ccb33' into eclair-plus-aosp

* commit 'fee0f5773335e42f4ffdf2d2d1c344ceee3ccb33':
  Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
2009-10-22 11:16:14 -07:00
Mike Lockwood
95b0d15e2d am eadb97b4: Merge change I53f83502 into eclair
Merge commit 'eadb97b4826bb6a2fa34db9c65b5a0d6f7baade9' into eclair-plus-aosp

* commit 'eadb97b4826bb6a2fa34db9c65b5a0d6f7baade9':
  PowerManagerService: Ignore user activity while the screen is animating off.
2009-10-22 11:15:57 -07:00
Brandon Ballinger
b830788c30 am 0737b164: Merge change I959a6f46 into eclair
Merge commit '0737b1643071694cf8767e3609ad628f1679d63a' into eclair-plus-aosp

* commit '0737b1643071694cf8767e3609ad628f1679d63a':
  Fix bug	2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.
2009-10-22 11:15:32 -07:00
Mike Lockwood
4c907528d9 am 3d4247ef: am fee0f577: Merge change I99dc6477 into eclair
Merge commit '3d4247ef9541afc88af5ac8d4634f331b20ed5cb' into eclair-mr2-plus-aosp

* commit '3d4247ef9541afc88af5ac8d4634f331b20ed5cb':
  Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
2009-10-22 11:03:39 -07:00
Mike Lockwood
61cf4b906b am f8a57dcb: am eadb97b4: Merge change I53f83502 into eclair
Merge commit 'f8a57dcb5983ad465bff697bbccb0eca031e7072' into eclair-mr2-plus-aosp

* commit 'f8a57dcb5983ad465bff697bbccb0eca031e7072':
  PowerManagerService: Ignore user activity while the screen is animating off.
2009-10-22 11:03:28 -07:00
Brandon Ballinger
a18f812540 am 9f9f5621: am 0737b164: Merge change I959a6f46 into eclair
Merge commit '9f9f56212610ddd69c8af8ddeeed39265c0e58e1' into eclair-mr2-plus-aosp

* commit '9f9f56212610ddd69c8af8ddeeed39265c0e58e1':
  Fix bug	2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.
2009-10-22 11:03:16 -07:00
Mike Lockwood
3d4247ef95 am fee0f577: Merge change I99dc6477 into eclair
Merge commit 'fee0f5773335e42f4ffdf2d2d1c344ceee3ccb33' into eclair-mr2

* commit 'fee0f5773335e42f4ffdf2d2d1c344ceee3ccb33':
  Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
2009-10-22 10:49:23 -07:00
Mike Lockwood
f8a57dcb59 am eadb97b4: Merge change I53f83502 into eclair
Merge commit 'eadb97b4826bb6a2fa34db9c65b5a0d6f7baade9' into eclair-mr2

* commit 'eadb97b4826bb6a2fa34db9c65b5a0d6f7baade9':
  PowerManagerService: Ignore user activity while the screen is animating off.
2009-10-22 10:49:11 -07:00
Brandon Ballinger
9f9f562126 am 0737b164: Merge change I959a6f46 into eclair
Merge commit '0737b1643071694cf8767e3609ad628f1679d63a' into eclair-mr2

* commit '0737b1643071694cf8767e3609ad628f1679d63a':
  Fix bug	2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.
2009-10-22 10:48:49 -07:00
Dianne Hackborn
1e067a7338 am 7fad4ee7: am 8d9ddbe2: Merge change I1f30f3f1 into eclair
Merge commit '7fad4ee736b8a64c1acac7a9b40384f68562b664' into eclair-mr2-plus-aosp

* commit '7fad4ee736b8a64c1acac7a9b40384f68562b664':
  Fix #2201615: getCallingPackage returns calling process instead of calling package
2009-10-22 06:45:38 -07:00
Suchi Amalapurapu
c0e1bb88fd am 6d924c69: am 5b48223d: Merge change I14e833fa into eclair
Merge commit '6d924c69af055559ed84afaf487aa38bd6fd2e33' into eclair-mr2-plus-aosp

* commit '6d924c69af055559ed84afaf487aa38bd6fd2e33':
  If we fail to persist the current settings and fall back to the back settings file
2009-10-22 06:45:27 -07:00
Dianne Hackborn
7fad4ee736 am 8d9ddbe2: Merge change I1f30f3f1 into eclair
Merge commit '8d9ddbe2aa3db86237880102ccf320945e7f57d3' into eclair-mr2

* commit '8d9ddbe2aa3db86237880102ccf320945e7f57d3':
  Fix #2201615: getCallingPackage returns calling process instead of calling package
2009-10-22 06:38:50 -07:00
Suchi Amalapurapu
6d924c69af am 5b48223d: Merge change I14e833fa into eclair
Merge commit '5b48223d0e8b8becea0c120895d964e6472b3552' into eclair-mr2

* commit '5b48223d0e8b8becea0c120895d964e6472b3552':
  If we fail to persist the current settings and fall back to the back settings file
2009-10-22 06:38:33 -07:00
Android (Google) Code Review
fee0f57733 Merge change I99dc6477 into eclair
* changes:
  Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
2009-10-22 07:07:04 -04:00
Android (Google) Code Review
eadb97b482 Merge change I53f83502 into eclair
* changes:
  PowerManagerService: Ignore user activity while the screen is animating off.
2009-10-22 07:06:51 -04:00
Mike Lockwood
3d0ea72dd7 Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
Part of a fix for bug b/2198537

Change-Id: I99dc64772fa7644b12432d5549603025196ea3e2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-21 23:08:13 -04:00
Mike Lockwood
f003c0c15d PowerManagerService: Ignore user activity while the screen is animating off.
Fixes bug b/2202165 (Often I when pressing power to turn off I get the lock screen)

Change-Id: I53f8350203d57fbb5f143edc44985879caadd78f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-21 23:06:56 -04:00
Android (Google) Code Review
0737b16430 Merge change I959a6f46 into eclair
* changes:
  Fix bug	2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.     - Ensure system IMEs are put on the enabled list at startup/install.     - If the default IME is not installed, choose another one whenever building input method list.
2009-10-21 22:58:39 -04:00
Brandon Ballinger
6da35a0c12 Fix bug 2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.
- Ensure system IMEs are put on the enabled list at startup/install.
    - If the default IME is not installed, choose another one whenever building input method list.
2009-10-21 18:24:29 -07:00
Robert Greenwalt
337b2cd674 am a86f1ccc: Merge change Ie2d155a5 into eclair-mr2
Merge commit 'a86f1ccca0bf54f27c398b4dbb0f2f1ec7293315' into eclair-mr2-plus-aosp

* commit 'a86f1ccca0bf54f27c398b4dbb0f2f1ec7293315':
  Add a new API for initing Wifi multicast filtering
2009-10-21 16:50:46 -07:00
Robert Greenwalt
e2d155a51e Add a new API for initing Wifi multicast filtering
Gets rid of the old method which generated Log noise.

bug: 1973855
2009-10-21 15:03:44 -07:00
Dianne Hackborn
8b54776edd am 8d9ddbe2: Merge change I1f30f3f1 into eclair
Merge commit '8d9ddbe2aa3db86237880102ccf320945e7f57d3' into eclair-plus-aosp

* commit '8d9ddbe2aa3db86237880102ccf320945e7f57d3':
  Fix #2201615: getCallingPackage returns calling process instead of calling package
2009-10-20 16:20:41 -07:00
Android (Google) Code Review
8d9ddbe2aa Merge change I1f30f3f1 into eclair
* changes:
  Fix #2201615: getCallingPackage returns calling process instead of calling package
2009-10-20 19:14:20 -04:00
Suchi Amalapurapu
7ed9faae8d am 5b48223d: Merge change I14e833fa into eclair
Merge commit '5b48223d0e8b8becea0c120895d964e6472b3552' into eclair-plus-aosp

* commit '5b48223d0e8b8becea0c120895d964e6472b3552':
  If we fail to persist the current settings and fall back to the back settings file
2009-10-20 16:04:14 -07:00
Android (Google) Code Review
5b48223d0e Merge change I14e833fa into eclair
* changes:
  If we fail to persist the current settings and fall back to the back settings file when reading settings in PackageManager, we might rename the corrupted settings to backup(in case of power failure between the earlier write failure and file deletion) and end up loosing both files. So just clear up the corrupted current settings file if we have backup. The backup wouldn't exist if everything went well with persisting the earlier settings.
2009-10-20 18:51:06 -04:00
Dianne Hackborn
9bbcb916c5 Fix #2201615: getCallingPackage returns calling process instead of calling package
Change-Id: I1f30f3f1ce8928796c1ab502d0c2dc02de86e8e7
2009-10-20 15:42:38 -07:00
Dan Egnor
484a065ce3 am 2a2805b7: Merge change Ib3b06fc3 into eclair-mr2
Merge commit '2a2805b7fbd25ee11ad554e33bf34dbb2e8b71c5' into eclair-mr2-plus-aosp

* commit '2a2805b7fbd25ee11ad554e33bf34dbb2e8b71c5':
  It turns out to be useful to allow enumeration on a per-tag basis,
2009-10-20 13:29:31 -07:00
Suchi Amalapurapu
14e833faa0 If we fail to persist the current settings and fall back to the back settings file
when reading settings in PackageManager, we might rename the corrupted settings to
backup(in case of power failure between the earlier write failure and file deletion)
and end up loosing both files.
So just clear up the corrupted current settings file if we have backup.
The backup wouldn't exist if everything went well with persisting the earlier settings.

We do this in both read and write just in case.
2009-10-20 13:26:37 -07:00
Android (Google) Code Review
2a2805b7fb Merge change Ib3b06fc3 into eclair-mr2
* changes:
  It turns out to be useful to allow enumeration on a per-tag basis, and it's easy to support based on the data structures we have, so add a tag parameter to getNextEvent().
2009-10-20 16:23:01 -04:00
Dan Egnor
b3b06fc39b It turns out to be useful to allow enumeration on a per-tag basis,
and it's easy to support based on the data structures we have, so
add a tag parameter to getNextEvent().
2009-10-20 13:05:17 -07:00
Dianne Hackborn
44bb53c923 am a8f1a805: am 61462b43: Merge change I1864d098 into eclair
Merge commit 'a8f1a805c8b6dff5becbd95122462d91c1d1b254' into eclair-mr2-plus-aosp

* commit 'a8f1a805c8b6dff5becbd95122462d91c1d1b254':
  Improve wallpaper offset handling.
2009-10-20 12:18:46 -07:00
Dianne Hackborn
2b4abebd95 am cc62ee77: am 359f0b09: Merge change Ib5736616 into eclair
Merge commit 'cc62ee77d3253c7b4e454a849a771826bc35f57f' into eclair-mr2-plus-aosp

* commit 'cc62ee77d3253c7b4e454a849a771826bc35f57f':
  Fix issue #2191572: Difficulties drawing window shade
2009-10-20 12:18:35 -07:00
Dianne Hackborn
db54522d9b am 61462b43: Merge change I1864d098 into eclair
Merge commit '61462b437067a591bfc52c498ad964e566aaffac' into eclair-plus-aosp

* commit '61462b437067a591bfc52c498ad964e566aaffac':
  Improve wallpaper offset handling.
2009-10-20 11:35:25 -07:00
Dianne Hackborn
a8f1a805c8 am 61462b43: Merge change I1864d098 into eclair
Merge commit '61462b437067a591bfc52c498ad964e566aaffac' into eclair-mr2

* commit '61462b437067a591bfc52c498ad964e566aaffac':
  Improve wallpaper offset handling.
2009-10-20 11:34:47 -07:00