1544 Commits

Author SHA1 Message Date
Mike Lockwood
67045f1629 am 239775a2: am 3766ae55: Merge change I707f53cd into eclair-mr2
Merge commit '239775a2ce01f7faf938a5edafe9941922542150'

* commit '239775a2ce01f7faf938a5edafe9941922542150':
  LightsService cleanup:
2009-12-01 09:09:30 -08:00
Robert Greenwalt
5154ae7665 Cleanup ConnectivityServices network configuration
Don't instantiate objects not needed for the device.

bug: 2226064
2009-11-30 12:56:02 -08:00
Mike Lockwood
239775a2ce am 3766ae55: Merge change I707f53cd into eclair-mr2
Merge commit '3766ae5551e6231c251b0af38206aea30a49df63' into eclair-mr2-plus-aosp

* commit '3766ae5551e6231c251b0af38206aea30a49df63':
  LightsService cleanup:
2009-11-30 11:00:04 -08:00
Mike Lockwood
3cb67a37f1 LightsService cleanup:
Add Light subclass to replace LightsService light setting methods
Remove LightsService.setAttentionLight() and LightsService.pulseBreathingLight()
Add support for Wifi and Bluetooth lights

Change-Id: I707f53cda27481c25649f402567a665d52e9cb62
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-27 15:02:11 -05:00
Dan Egnor
4b505ef4b1 am 413eed9e: am ed8d33b7: Merge change I5ec249ab into eclair-mr2
Merge commit '413eed9eb4fa8e3b76be46be3eb6e92675d423d4'

* commit '413eed9eb4fa8e3b76be46be3eb6e92675d423d4':
  More elimination of Formatter (I was tired of waiting several
2009-11-25 13:54:54 -08:00
Dan Egnor
413eed9eb4 am ed8d33b7: Merge change I5ec249ab into eclair-mr2
Merge commit 'ed8d33b7976c006b4bd28eb89cac36074e4eccf5' into eclair-mr2-plus-aosp

* commit 'ed8d33b7976c006b4bd28eb89cac36074e4eccf5':
  More elimination of Formatter (I was tired of waiting several
2009-11-25 13:46:00 -08:00
Android (Google) Code Review
ed8d33b797 Merge change I5ec249ab into eclair-mr2
* changes:
  More elimination of Formatter (I was tired of waiting several seconds for "dumpsys dropbox"...).
2009-11-25 13:40:10 -08:00
Dan Egnor
5ec249abe3 More elimination of Formatter (I was tired of waiting several
seconds for "dumpsys dropbox"...).
2009-11-25 13:16:47 -08:00
Dan Egnor
f3ab5c6b32 am 86ef717e: am 99cee031: Merge change Ieb7a7d57 into eclair-mr2
Merge commit '86ef717e2660dbc914dcf68295fbf9943c45bc44'

* commit '86ef717e2660dbc914dcf68295fbf9943c45bc44':
  Change the DropBoxManager API slightly (this is public, but not yet released) --
2009-11-25 13:11:59 -08:00
Dan Egnor
86ef717e26 am 99cee031: Merge change Ieb7a7d57 into eclair-mr2
Merge commit '99cee0318bdceb6e996bbe9a3e0f961d622e0365' into eclair-mr2-plus-aosp

* commit '99cee0318bdceb6e996bbe9a3e0f961d622e0365':
  Change the DropBoxManager API slightly (this is public, but not yet released) --
2009-11-25 13:04:19 -08:00
Android (Google) Code Review
99cee0318b Merge change Ieb7a7d57 into eclair-mr2
* changes:
  Change the DropBoxManager API slightly (this is public, but not yet released) -- take a File instead of a ParcelFileDescriptor (gets opened internally) -- that way the caller doesn't have to worry about closing their PFD and so on. (Pretty much 100% of the time the caller will be uploading a file, anyway.)
2009-11-25 12:59:48 -08:00
Mike Lockwood
d107146ca1 am f6a1dab0: am f3e291a0: Merge change Id7b9903e into eclair-mr2
Merge commit 'f6a1dab030095ad1ed58d387ff21a112bca5b610'

* commit 'f6a1dab030095ad1ed58d387ff21a112bca5b610':
  Add setAttentionLight() to IPowerManager for the Phone app.
2009-11-25 12:51:10 -08:00
Mike Lockwood
f6a1dab030 am f3e291a0: Merge change Id7b9903e into eclair-mr2
Merge commit 'f3e291a05d1e30fe409b06ca43538ca22ee2e69b' into eclair-mr2-plus-aosp

* commit 'f3e291a05d1e30fe409b06ca43538ca22ee2e69b':
  Add setAttentionLight() to IPowerManager for the Phone app.
2009-11-25 12:44:40 -08:00
Dan Egnor
eb7a7d57ca Change the DropBoxManager API slightly (this is public, but not yet released) --
take a File instead of a ParcelFileDescriptor (gets opened internally) --
that way the caller doesn't have to worry about closing their PFD and so on.
(Pretty much 100% of the time the caller will be uploading a file, anyway.)
2009-11-25 12:38:00 -08:00
Android (Google) Code Review
f3e291a05d Merge change Id7b9903e into eclair-mr2
* changes:
  Add setAttentionLight() to IPowerManager for the Phone app.
2009-11-25 12:34:28 -08:00
Mike Lockwood
b11832de73 Add setAttentionLight() to IPowerManager for the Phone app.
Change-Id: Id7b9903e1efaf56a2336519a8653962b6ae2c13d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-25 15:25:55 -05:00
Doug Zongker
2875f209cb am 79347f94: am a85a0ac1: Merge change I4413e8bc into eclair-mr2
Merge commit '79347f94fa2b06425d1e6fdc766a2a22d88fb2c5'

* commit '79347f94fa2b06425d1e6fdc766a2a22d88fb2c5':
  close file descriptors passed to drop box
2009-11-25 12:15:07 -08:00
Mike Lockwood
726a570258 resolved conflicts for merge of dfaf2e03 to master
Change-Id: I440d2042dd404a421789063e42102699fa33b7c0
2009-11-25 15:05:51 -05:00
Doug Zongker
79347f94fa am a85a0ac1: Merge change I4413e8bc into eclair-mr2
Merge commit 'a85a0ac1072c7653fdafa791416658154b76ac0d' into eclair-mr2-plus-aosp

* commit 'a85a0ac1072c7653fdafa791416658154b76ac0d':
  close file descriptors passed to drop box
2009-11-25 11:58:23 -08:00
Mike Lockwood
dfaf2e03ad am 30348b0d: Merge change I086d681f into eclair-mr2
Merge commit '30348b0de11b6c6cba43dfc7960e4d2084af6d8b' into eclair-mr2-plus-aosp

* commit '30348b0de11b6c6cba43dfc7960e4d2084af6d8b':
  Remove HardwareService and move vibrator support to VibratorService.
2009-11-25 11:54:18 -08:00
Android (Google) Code Review
a85a0ac107 Merge change I4413e8bc into eclair-mr2
* changes:
  close file descriptors passed to drop box
2009-11-25 11:54:17 -08:00
Mike Lockwood
3a32213c40 Remove HardwareService and move vibrator support to VibratorService.
The lights support is only needed by PowerManagerService and NotificationManagerService, so we do not need a Binder API for it.
Move backlight and notification light support to new LightsService class.
The camera flash is now handled directly by the camera HAL, so the flash Hardware service flash support is obsolete.

Change-Id: I086d681f54668e7f7de3e8b90df3de19d59833c5
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-25 12:54:58 -05:00
Doug Zongker
4413e8bc4c close file descriptors passed to drop box
The ParcelFileDescriptors passed to DropBoxManager.addFile() are
supposed to be closed after the call.
2009-11-25 09:16:48 -08:00
Dianne Hackborn
f8557a85de am 80d5fc0f: am 9ad091ab: am 118d92f7: Merge change I16925b91 into eclair
Merge commit '80d5fc0f5add0c42e617ea6f4318b8a2b61370df'

* commit '80d5fc0f5add0c42e617ea6f4318b8a2b61370df':
  Finish fixing issue #2228381: android.view.InflateException...
2009-11-24 15:15:14 -08:00
Dianne Hackborn
80d5fc0f5a am 9ad091ab: am 118d92f7: Merge change I16925b91 into eclair
Merge commit '9ad091ab1065e85222da0927bb33913530f56f65' into eclair-mr2-plus-aosp

* commit '9ad091ab1065e85222da0927bb33913530f56f65':
  Finish fixing issue #2228381: android.view.InflateException...
2009-11-24 15:08:13 -08:00
Dianne Hackborn
9ad091ab10 am 118d92f7: Merge change I16925b91 into eclair
Merge commit '118d92f73fe9dd1cc9cb900205cd1ec0dac28a1b' into eclair-mr2

* commit '118d92f73fe9dd1cc9cb900205cd1ec0dac28a1b':
  Finish fixing issue #2228381: android.view.InflateException...
2009-11-24 15:01:51 -08:00
Dan Egnor
e9719c8d38 am 5057d9f5: am b29fefe6: Merge change Ic4cf6caa into eclair-mr2
Merge commit '5057d9f5582a9d7f1c522178a3f5a5c414e0c05a'

* commit '5057d9f5582a9d7f1c522178a3f5a5c414e0c05a':
  Copy SYSTEM_LAST_KMSG from /proc/last_kmsg instead of /data/dontpanic/last_kmsg.
2009-11-24 15:01:44 -08:00
Dan Egnor
5057d9f558 am b29fefe6: Merge change Ic4cf6caa into eclair-mr2
Merge commit 'b29fefe6aeed68c22c7711263357348006ab8b79' into eclair-mr2-plus-aosp

* commit 'b29fefe6aeed68c22c7711263357348006ab8b79':
  Copy SYSTEM_LAST_KMSG from /proc/last_kmsg instead of /data/dontpanic/last_kmsg.
2009-11-24 14:52:31 -08:00
Oscar Montemayor
a8529f6867 Encrypted File Systems Project. Installer modifications.
Started to modify isntaller for data redirection to a secure location.
2009-11-24 11:44:19 -08:00
Dianne Hackborn
195f6a0ff3 Finish fixing issue #2228381: android.view.InflateException...
...Binary XML file line #37: Error inflating class <unknown> after adding a secondary account

The problem was that we weren't dealing well with the situation where we start a transition
from activity A to B, then transition back to A before B is shown (it finishes before being
shown), then transition from A to C.  At this point we had some state showing that we
were in the process of showing A from it being hidden (due to the middle transition from
B to A), which would cause the layout pass to ensure its window is hidden before the
transition starts.

The solution is to detect the case where we are showing a token and it is already actually
shown, and in this case not do all of the token setup for it to wait for its windows to
be displayed before it is shown.  This isn't needed, the windows are already displayed
or the token is already set up to wait for them to be displayed.

Change-Id: I16925b91e1e2449dd65ade162a5758173c6e2695
2009-11-24 11:34:55 -08:00
Dan Egnor
c4cf6caa99 Copy SYSTEM_LAST_KMSG from /proc/last_kmsg instead of /data/dontpanic/last_kmsg.
(In preparation for not copying to /data/dontpanic/last_kmsg at all.)
2009-11-23 19:23:49 -08:00
Dianne Hackborn
01d9fe1d06 am cfe90ce4: am 05799981: Fix issue #2281046: Size and pressure don\'t change
Merge commit 'cfe90ce461eacf3ae6a8556594a0f682a31cfb84' into eclair-mr2-plus-aosp

* commit 'cfe90ce461eacf3ae6a8556594a0f682a31cfb84':
  Fix issue #2281046: Size and pressure don't change
2009-11-23 16:03:16 -08:00
Dianne Hackborn
cfe90ce461 am 05799981: Fix issue #2281046: Size and pressure don\'t change
Merge commit '05799981d8d930e0b929cdb99f9407e3ee18c142' into eclair-mr2

* commit '05799981d8d930e0b929cdb99f9407e3ee18c142':
  Fix issue #2281046: Size and pressure don't change
2009-11-23 15:58:18 -08:00
Dianne Hackborn
05799981d8 Fix issue #2281046: Size and pressure don't change
Change-Id: Iadc1d438a494bb1495ee6d93d0dd3b4a491a378f
2009-11-23 15:49:15 -08:00
Eric Olsen
f7a5721895 am b2796da2: am 0d631b9b: Merge change Ie7096ebb into eclair
Merge commit 'b2796da2ed4d0ef3bd94e187156c3d21e7e2a07f' into eclair-mr2-plus-aosp

* commit 'b2796da2ed4d0ef3bd94e187156c3d21e7e2a07f':
  Add logging of headset events to help debug issue.
2009-11-23 14:30:35 -08:00
Eric Olsen
b2796da2ed am 0d631b9b: Merge change Ie7096ebb into eclair
Merge commit '0d631b9b58db54bee58da717b38b8020bc3d0437' into eclair-mr2

* commit '0d631b9b58db54bee58da717b38b8020bc3d0437':
  Add logging of headset events to help debug issue.
2009-11-23 13:55:25 -08:00
Mike Lockwood
fa351d388d am e5683369: Merge change I60dfecdc into eclair-mr2
Merge commit 'e5683369d2f3cbda3e6c09c66b4d6df77c9b3c0a' into eclair-mr2-plus-aosp

* commit 'e5683369d2f3cbda3e6c09c66b4d6df77c9b3c0a':
  Add window manager support for overriding button and keyboard backlight values.
2009-11-23 13:13:39 -08:00
Eric Olsen
e7096ebba1 Add logging of headset events to help debug issue.
Signed-off-by: Eric Olsen <eolsen@android.com>
2009-11-23 13:06:07 -08:00
Mike Lockwood
fb73f79340 Add window manager support for overriding button and keyboard backlight values.
The new backlightBrightness field works similarly as the existing WindowManager.LayoutParams.screenBrightness field

Needed for bugs:
    b/2233655 (under low ambient light the touch keys remain illuminated during video playback and never timeout)
    b/2221079 (Backlight for home/search/back/etc buttons should turn off when in dock in night mode)

Change-Id: I60dfecdc7bb653b0db38094464de651220b3d438
2009-11-23 15:16:55 -05:00
Eric Laurent
6ed9c32c04 am 132dab8f: am a0f9a4f7: Merge change I2083b297 into eclair
Merge commit '132dab8f91f5e87581660069753f238ea9914732' into eclair-mr2-plus-aosp

* commit '132dab8f91f5e87581660069753f238ea9914732':
  Fix issue 2265111: Loss of downlink audio while listening, and get a MT call.
2009-11-23 11:21:01 -08:00
Eric Laurent
132dab8f91 am a0f9a4f7: Merge change I2083b297 into eclair
Merge commit 'a0f9a4f73579c2afa4dd82499a69abce94a3f23f' into eclair-mr2

* commit 'a0f9a4f73579c2afa4dd82499a69abce94a3f23f':
  Fix issue 2265111: Loss of downlink audio while listening, and get a MT call.
2009-11-23 11:16:27 -08:00
Dianne Hackborn
1f0a0ed549 am 41039247: am 8abd5f0d: Fix issue #2267665 IME keyboard appears as Blank in compose view...
Merge commit '4103924742c376716ce5866f6d2f53eac4f3cb59' into eclair-mr2-plus-aosp

* commit '4103924742c376716ce5866f6d2f53eac4f3cb59':
  Fix issue #2267665 IME keyboard appears as Blank in compose view...
2009-11-23 11:12:04 -08:00
Android (Google) Code Review
a0f9a4f735 Merge change I2083b297 into eclair
* changes:
  Fix issue 2265111: Loss of downlink audio while listening, and get a MT call.
2009-11-23 11:11:55 -08:00
Dianne Hackborn
4103924742 am 8abd5f0d: Fix issue #2267665 IME keyboard appears as Blank in compose view...
Merge commit '8abd5f0d519afa787e7c64e429df17ccc661ce75' into eclair-mr2

* commit '8abd5f0d519afa787e7c64e429df17ccc661ce75':
  Fix issue #2267665 IME keyboard appears as Blank in compose view...
2009-11-23 11:05:54 -08:00
Dianne Hackborn
8abd5f0d51 Fix issue #2267665 IME keyboard appears as Blank in compose view...
...if you re-lunch messaging application after deleting the
character and pressing home key

Change-Id: Idc7da05e54730958644e80069764237e5db6f288
2009-11-23 10:58:56 -08:00
Mike Lockwood
1866591c19 am 34c5813e: am 174b7269: Merge change Id886fb28 into eclair
Merge commit '34c5813e488fd4f044e545f177a20f553580ce6a' into eclair-mr2-plus-aosp

* commit '34c5813e488fd4f044e545f177a20f553580ce6a':
  Fix deadlock in WindowManagerService.reenableKeyguard()
2009-11-23 10:45:24 -08:00
Mike Lockwood
34c5813e48 am 174b7269: Merge change Id886fb28 into eclair
Merge commit '174b726917c12d61f9135a180afc8413d845dc2d' into eclair-mr2

* commit '174b726917c12d61f9135a180afc8413d845dc2d':
  Fix deadlock in WindowManagerService.reenableKeyguard()
2009-11-23 10:40:13 -08:00
Mike Lockwood
983ee099de Fix deadlock in WindowManagerService.reenableKeyguard()
If reenableKeyguard() is called before the previous disableKeyguard() call is processed,
then TokenWatcher.sendNotificationLocked() will cancel the request, resulting in neither
the TokenWatcher acquired() or released() methods being called.
In that case, reenableKeyguard() will hang waiting for released() to set
mWaitingUntilKeyguardReenabled to false.  Now we only wait in reenableKeyguard()
if the TokenWatcher acquired() method is called and the keyguard has actually been disabled.

This should fix bug b/2270192

Change-Id: Id886fb28df607dbb4543124f2db6997121d6a682
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-22 02:00:13 -05:00
Mike Lockwood
589f8d7d41 am 53e9c126: am a1ce6551: Merge change I69324a33 into eclair
Merge commit '53e9c126f5fc39459554f0290a2c863f645d397a' into eclair-mr2-plus-aosp

* commit '53e9c126f5fc39459554f0290a2c863f645d397a':
  AlarmManagerService: Fix daylight savings time offset computation
2009-11-20 13:36:14 -08:00
Mike Lockwood
53e9c126f5 am a1ce6551: Merge change I69324a33 into eclair
Merge commit 'a1ce6551e1fd8a1ed4af58857413c0a7f701b5c2' into eclair-mr2

* commit 'a1ce6551e1fd8a1ed4af58857413c0a7f701b5c2':
  AlarmManagerService: Fix daylight savings time offset computation
2009-11-20 13:32:17 -08:00