1019 Commits

Author SHA1 Message Date
Robert Greenwalt
1412308467 am a1323c77: Merge change Iaf08eabc into eclair
Merge commit 'a1323c77b961ae1b9cfaf5305e05780b07e88226' into eclair-plus-aosp

* commit 'a1323c77b961ae1b9cfaf5305e05780b07e88226':
  Reduce the ConnectivityManager logging.
2009-09-30 22:18:54 -07:00
Robert Greenwalt
1ef95f9eed Reduce the ConnectivityManager logging.
Same great info, just fewer chars.
2009-09-30 22:10:41 -07:00
Robert Greenwalt
91a13318d4 am e6b27966: Merge change I94132420 into eclair
Merge commit 'e6b27966fd7e181a52b35cd95937b935ba05783b' into eclair-plus-aosp

* commit 'e6b27966fd7e181a52b35cd95937b935ba05783b':
  Fix network-feature timeout code.
2009-09-30 21:48:10 -07:00
Android (Google) Code Review
e6b27966fd Merge change I94132420 into eclair
* changes:
  Fix network-feature timeout code.
2009-10-01 00:43:51 -04:00
Christopher Tate
6a444d4f50 am 5f3c928f: Merge change Id93f4c9e into eclair
Merge commit '5f3c928f5ecdd2f41f238807c59241d34a02517e' into eclair-plus-aosp

* commit '5f3c928f5ecdd2f41f238807c59241d34a02517e':
  Turn off the last of the STOPSHIP verbose debugging
2009-09-30 21:17:46 -07:00
Mike Lockwood
8f20d5c9df am 51cef844: Merge change Ic7e251a7 into eclair
Merge commit '51cef8440df1971f06e41eba8a87c58a225d4e8f' into eclair-plus-aosp

* commit '51cef8440df1971f06e41eba8a87c58a225d4e8f':
  Update SD card notification icons.
2009-09-30 21:13:50 -07:00
Christopher Tate
6678aeccec am 436344ae: Turn off most of the backup-related debug logging
Merge commit '436344ae12c819f58306ceb94241a266141e1218' into eclair-plus-aosp

* commit '436344ae12c819f58306ceb94241a266141e1218':
  Turn off most of the backup-related debug logging
2009-09-30 21:13:34 -07:00
Android (Google) Code Review
5f3c928f5e Merge change Id93f4c9e into eclair
* changes:
  Turn off the last of the STOPSHIP verbose debugging
2009-09-30 23:08:25 -04:00
Christopher Tate
13f4a64ddd Turn off the last of the STOPSHIP verbose debugging
Change-Id: Id93f4c9e9fb8468a554ae1e5c5c767f72903662c
2009-09-30 20:06:45 -07:00
Android (Google) Code Review
51cef8440d Merge change Ic7e251a7 into eclair
* changes:
  Update SD card notification icons.
2009-09-30 20:18:42 -04:00
Christopher Tate
436344ae12 Turn off most of the backup-related debug logging
The core logging in BackupManagerService and in the Google backup transport are
still enabled at this point.

Change-Id: I10abfa565bbd1097dd3631051b6aca163e4af33a
2009-09-30 17:07:37 -07:00
Mike Lockwood
de46acddf5 Update SD card notification icons.
Stop using SIM card icons for USB notifications
Fixes b/1700510

Change-Id: Ic7e251a7ecad3ed46044181eae41481791df85bd
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-30 19:45:51 -04:00
Dianne Hackborn
8f4f41df55 am 48e9a0dd: Merge change Ice5e9209 into eclair
Merge commit '48e9a0dd66b832cfaf668deba584394eba0ffdfc' into eclair-plus-aosp

* commit '48e9a0dd66b832cfaf668deba584394eba0ffdfc':
  Fix issue #2150258: Suggestions become inactive and do not respond when pressed.
2009-09-30 16:24:01 -07:00
Suchi Amalapurapu
7a51b14d9f am 094e3e0b: Merge change Icb89d482 into eclair
Merge commit '094e3e0bcc81a795f35ac2ea218d0fc0109100cf' into eclair-plus-aosp

* commit '094e3e0bcc81a795f35ac2ea218d0fc0109100cf':
  Check if rename of backed up file fails before persisting new changes.
2009-09-30 16:23:45 -07:00
Android (Google) Code Review
48e9a0dd66 Merge change Ice5e9209 into eclair
* changes:
  Fix issue #2150258: Suggestions become inactive and do not respond when pressed.
2009-09-30 18:47:45 -04:00
Suchi Amalapurapu
8550f25523 Check if rename of backed up file fails before persisting new changes.
If not these system services will end up with inconsistent settings files
when the device runs out of storage.
Delete mangled settings file in PackageManager if the current write fails
so that we don't end up overwriting the backed up version with the
mangled version
Include null check when retrieving fwd locked resource for an existing package
2009-09-30 15:36:29 -07:00
Dianne Hackborn
1bcf5a8a61 Fix issue #2150258: Suggestions become inactive and do not respond when pressed.
Change-Id: Ice5e920998fbe7eb1862f0ee7dca99876482b659
2009-09-30 15:22:29 -07:00
Dianne Hackborn
e67de07627 am a33e3f79: Fix issue #2154794: Force close when start facebook application.
Merge commit 'a33e3f79259b56b03c7912af35944f34ad190e3c' into eclair-plus-aosp

* commit 'a33e3f79259b56b03c7912af35944f34ad190e3c':
  Fix issue #2154794: Force close when start facebook application.
2009-09-30 15:20:10 -07:00
Dianne Hackborn
a33e3f7925 Fix issue #2154794: Force close when start facebook application.
I think when we were scanning the updated app in the system image,
from an older version on the data partition, we were not setting
the existing package to have the system flag, so not auto-granting
any new permissions.

This also includes some other cleanup in the package manager to
remove old files in various places, and tighten up logging.

Also similar logging cleanup elsewhere.

Change-Id: I6d113c7cf7e736ab9be512d6d7c94c806a24199a
2009-09-30 15:09:33 -07:00
Dan Egnor
722d67dcb6 am 46e462a3: Merge change I852f8e46 into eclair
Merge commit '46e462a380f90ed8101f9ac3f950a3c702772842' into eclair-plus-aosp

* commit '46e462a380f90ed8101f9ac3f950a3c702772842':
  Only re-initialize backup state if @pm@ metadata is missing,
2009-09-30 14:57:30 -07:00
Android (Google) Code Review
46e462a380 Merge change I852f8e46 into eclair
* changes:
  Only re-initialize backup state if @pm@ metadata is missing, to defensively work around a still-mysterious bug where the list of saved packages ends up being empty even though we still have state pending.  If we do re-initialize, then wipe all state to make sure the right thing happens.
2009-09-30 17:48:04 -04:00
Dianne Hackborn
04e8a925c0 am 935cbda0: Merge change I174d16a3 into eclair
Merge commit '935cbda0df2d55247c30d65534ecf31b1ee164b5' into eclair-plus-aosp

* commit '935cbda0df2d55247c30d65534ecf31b1ee164b5':
  Debugging for #2027266: app drawer showing up on the side
2009-09-30 14:41:59 -07:00
Dianne Hackborn
dc6b635cfa Debugging for #2027266: app drawer showing up on the side
Nothing fixed, but this tells us what is going on.

Change-Id: I174d16a3864af2fa235e8cc7b1e74d32a375fb42
2009-09-30 14:28:16 -07:00
Dan Egnor
852f8e4660 Only re-initialize backup state if @pm@ metadata is missing,
to defensively work around a still-mysterious bug where the
list of saved packages ends up being empty even though we still
have state pending.  If we do re-initialize, then wipe all state
to make sure the right thing happens.

Don't keep open journal files -- close them after every update.
A bit less efficient, but possibly more reliable (again, this is
defensive programming here).  Also change "rwd" to "rws" mode
for fully synchronous operation.
2009-09-30 14:15:43 -07:00
Fred Quintana
32a702a7a8 am 609c2c08: Merge change Ia54b1bf0 into eclair
Merge commit '609c2c08d7d059681434ea322b551264abab8a71' into eclair-plus-aosp

* commit '609c2c08d7d059681434ea322b551264abab8a71':
  - make SyncManager get the accounts list during the constructor,
2009-09-30 11:17:52 -07:00
Android (Google) Code Review
609c2c08d7 Merge change Ia54b1bf0 into eclair
* changes:
  - make SyncManager get the accounts list during the constructor,   which will allow syncs to be scheduled during bootup. The   providers need this so that they can potentially schedule   syncs while they are starting up. - make the SyncManager message handler wait until boot   has completed to start dispatching messages
2009-09-30 14:10:01 -04:00
Fred Quintana
e91ebe2be9 - make SyncManager get the accounts list during the constructor,
which will allow syncs to be scheduled during bootup. The
  providers need this so that they can potentially schedule
  syncs while they are starting up.
- make the SyncManager message handler wait until boot
  has completed to start dispatching messages
2009-09-30 11:06:25 -07:00
Robert Greenwalt
515052fe87 am a3431e4c: Merge change I84612ea6 into eclair
Merge commit 'a3431e4c7d6307b845d7008955d99425d842ff72' into eclair-plus-aosp

* commit 'a3431e4c7d6307b845d7008955d99425d842ff72':
  Add a delay to wifi driver stop on screen off.
2009-09-30 09:33:20 -07:00
Robert Greenwalt
84612ea611 Add a delay to wifi driver stop on screen off.
We already had a delay if we were associated, but we have some race conditions
we think will be masked if we delay the driver stop for the other cases
too.  Don't wait as long (2 min instead of 15).

bug: 2147260
2009-09-30 09:04:22 -07:00
Dan Egnor
5495ee0c09 am b1b289a0: Merge change Id6688603 into eclair
Merge commit 'b1b289a01d20a3a2e08775d31994f0abca996a63' into eclair-plus-aosp

* commit 'b1b289a01d20a3a2e08775d31994f0abca996a63':
  Better event log tracking for initializeDevice() requests --
2009-09-29 20:48:12 -07:00
Dan Egnor
726247ca61 Better event log tracking for initializeDevice() requests --
on success, record "backup_initialize" event; on failure,
record "backup_transport_failure" event (and add tags to
"backup_transport_failure" events that aren't associated
with a particular package -- namely "(initialize)" and
"(finish)").
2009-09-29 20:39:01 -07:00
Christopher Tate
450a60f8ec am 072c9e74: Merge change I52e20bac into eclair
Merge commit '072c9e7473f4ff1a1b08ec08a906cc8308ed1c91' into eclair-plus-aosp

* commit '072c9e7473f4ff1a1b08ec08a906cc8308ed1c91':
  Add more useful-for-debug info to 'dumpsys backup'
2009-09-29 17:22:32 -07:00
Christopher Tate
55f931a375 Add more useful-for-debug info to 'dumpsys backup'
Change-Id: I52e20bac01ff63feaf28920a79311881992293a3
2009-09-29 17:17:34 -07:00
Christopher Tate
57a924d3ea am 49de6949: Merge change Ia75da053 into eclair
Merge commit '49de69498f6814e93939a0a0a357ac56697ef4ff' into eclair-plus-aosp

* commit '49de69498f6814e93939a0a0a357ac56697ef4ff':
  Remove DEBUG-only logging in metadata backup agent
2009-09-29 16:19:15 -07:00
Christopher Tate
b808a93932 Remove DEBUG-only logging in metadata backup agent
Change-Id: Ia75da053463249597b91ba629fd7a663cab1a07c
2009-09-29 16:10:55 -07:00
Robert Greenwalt
9c75d4af63 Fix network-feature timeout code.
Track requests independently with seperate timers.  Clean up on expiration
by just stopping that particular request, not immediately restoring the default.

bug: 2127590
2009-09-29 13:18:17 -07:00
John Michelau
a2fbe44783 am a2f5afe6: Merge change I27009b08 into eclair
Merge commit 'a2f5afe6c690ad84aec046c4fa0178f2ee590c8e' into eclair-plus-aosp

* commit 'a2f5afe6c690ad84aec046c4fa0178f2ee590c8e':
  Fix EVDO SNR signal bar calculation
2009-09-28 21:45:06 -07:00
Android (Google) Code Review
a2f5afe6c6 Merge change I27009b08 into eclair
* changes:
  Fix EVDO SNR signal bar calculation
2009-09-29 00:35:55 -04:00
Dianne Hackborn
7219195066 am 6b1cb352: Fix issue #2149126: unable to answer incoming call, various problems
Merge commit '6b1cb352b86f2cf983026f2e6814665e12eb8452' into eclair-plus-aosp

* commit '6b1cb352b86f2cf983026f2e6814665e12eb8452':
  Fix issue #2149126: unable to answer incoming call, various problems
2009-09-28 20:04:01 -07:00
Dianne Hackborn
6b1cb352b8 Fix issue #2149126: unable to answer incoming call, various problems
Now that we can have a non-app-window cross-wallpaper animation,
we need to make sure to not access a null app token.

Change-Id: Ia00debd4b2b431d15bd074927a9035e1bc0a6445
2009-09-28 19:56:43 -07:00
Mike Lockwood
c78f617bb6 am 733fdf34: Disable keyguard while docked when the lock screen is insecure.
Merge commit '733fdf34b6a8a8e3983ff7663828a928d3c19944' into eclair-plus-aosp

* commit '733fdf34b6a8a8e3983ff7663828a928d3c19944':
  Disable keyguard while docked when the lock screen is insecure.
2009-09-28 16:28:36 -07:00
Mike Lockwood
733fdf34b6 Disable keyguard while docked when the lock screen is insecure.
Change-Id: If6e11bb49a2cbbe904517e6037d1e8b99fe2717c
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-28 19:21:07 -04:00
Dianne Hackborn
ccc624ca9a am ebd45e5c: Merge change I55edce63 into eclair
Merge commit 'ebd45e5ca9690110ecb50c26b0b791054ee4c0ef' into eclair-plus-aosp

* commit 'ebd45e5ca9690110ecb50c26b0b791054ee4c0ef':
  Fix issue #2149145: Safe Mode does not work on Sholes device
2009-09-28 15:18:51 -07:00
Dianne Hackborn
6af0d50a8e Fix issue #2149145: Safe Mode does not work on Sholes device
The APIs for checking whether keys are held down now also look
at virtual keys.

However it turns out there is less than a second between the time we
start the input thread and check for safe mode, so there is not enough
time to actually open all of the devices and get the data from them
about the finger being down to determine if a virtual key is down.

So now you can also hold DPAD center, trackball center, or s to
enter safe mode.  Also give some vibrator feedback.

Change-Id: I55edce63bc0c375813bd3751766b8070beeb0153
2009-09-28 13:40:45 -07:00
John Michelau
1336a56368 Fix EVDO SNR signal bar calculation
Bug: 2149249
Change-Id: I27009b083fab7a8cae7d3b74046f50235458dde0
2009-09-28 10:17:37 -07:00
Christopher Tate
dd205d1446 am 5fbbdf2a: Merge change 27325 into eclair
Merge commit '5fbbdf2a21e5d41a3eaaa7122f4a46d30f81f7f7' into eclair-plus-aosp

* commit '5fbbdf2a21e5d41a3eaaa7122f4a46d30f81f7f7':
  Don't forget to clear "backup in progress" state when finishing a pass
2009-09-27 16:54:22 -07:00
Android (Google) Code Review
5fbbdf2a21 Merge change 27325 into eclair
* changes:
  Don't forget to clear "backup in progress" state when finishing a pass
2009-09-27 18:58:27 -04:00
Christopher Tate
a253f16cf8 Don't forget to clear "backup in progress" state when finishing a pass
If a backup pass had been skipped (either because the transport was unavailable
or -- in a common case! -- because there was simply no work pending when the
periodic backup check fired), we were forgetting to reset the "backup currently
in progress" flag.  Once we'd done that, the device would *NEVER* perform a
backup until it was rebooted, since it would forever think that there was one
currently in operation that must not be interfered with.

Change-Id: I0d6d7375dc6de99b599222a449934e70fe13ebb9
2009-09-27 15:16:44 -07:00
Dianne Hackborn
a1414d1c5b am ac939d08: Merge change 27291 into eclair
Merge commit 'ac939d086c42afeaef0982cee0e5861184dd82eb' into eclair-plus-aosp

* commit 'ac939d086c42afeaef0982cee0e5861184dd82eb':
  Fix issue #2148939: Sholes slow to wake up in landscape mode
2009-09-27 14:03:37 -07:00
Android (Google) Code Review
ac939d086c Merge change 27291 into eclair
* changes:
  Fix issue #2148939: Sholes slow to wake up in landscape mode
2009-09-27 17:00:20 -04:00