1121 Commits

Author SHA1 Message Date
Christopher Tate
416eb3bb6e am eb8aad7b: Merge change 26047 into eclair
Merge commit 'eb8aad7b2a99d3332a2fa6d8778356d634c47127' into eclair-plus-aosp

* commit 'eb8aad7b2a99d3332a2fa6d8778356d634c47127':
  Fix up the first-backup-ever tracking
2009-09-20 15:42:20 -07:00
Christopher Tate
90967f4f0d Fix up the first-backup-ever tracking
This changes a couple of bits of the Backup Manager's logic around
first-backup-ever handling.  First, it uses the same "what we've ever backed up"
handling as the rest of the system for purposes of instructing the backend to do
a wipe when the metadata is initialized for the device, instead of looking at
the presence of the @pm@ file.  Secondly, for the time being we won't be using
the saved state produced by agents' doRestore() logic.  Until the server is
migrating each restored package's data over to the new dataset, this was
resulting in the client holding an agent state blob for which no data existed on
the server under this device's identity but which the device thought was fully
up to date.
2009-09-20 15:33:35 -07:00
Christopher Tate
d4b74574a0 am 3a66413a: Merge change 25992 into eclair
Merge commit '3a66413af33f2f2a3511f644efe5b4e45198d7df' into eclair-plus-aosp

* commit '3a66413af33f2f2a3511f644efe5b4e45198d7df':
  Add an 'init everything' operation to the first backup pass
2009-09-20 13:18:26 -07:00
Christopher Tate
25a747f5c4 Add an 'init everything' operation to the first backup pass
IBackupTransport.performBackup() now takes a flag "wipeAllFirst", which if set
will result in the entire restore set for the current device/account being wiped
clean prior to the storage of the provided package.  This ensures that a device
on which backup has just been enabled will not confront potentially-stale
information, nor will the restore set potentially contain mismatched data from
orphaned packages.

The Backup Manager has also been revised to pass this flag when first backing up
its master metadata block (and never pass it thereafter unless something has
caused the backup state tracking to be erased, e.g. the user has opted out of
backup and then later re-enabled it).
2009-09-20 12:43:58 -07:00
Robert Greenwalt
f60be7bf62 am 4492bcd8: Merge change 25938 into eclair
Merge commit '4492bcd8b0437b1200e93c001ca75d9fa8c4ad30' into eclair-plus-aosp

* commit '4492bcd8b0437b1200e93c001ca75d9fa8c4ad30':
  Don't require WAKE_LOCK permission to enable wifi
2009-09-20 07:54:33 -07:00
Android (Google) Code Review
4492bcd8b0 Merge change 25938 into eclair
* changes:
  Don't require WAKE_LOCK permission to enable wifi
2009-09-20 10:48:09 -04:00
Mike Lockwood
c015130050 am b8155068: Merge change 25944 into eclair
Merge commit 'b8155068ef855147d86465817be2660a5212a6bb' into eclair-plus-aosp

* commit 'b8155068ef855147d86465817be2660a5212a6bb':
  Wake the screen if the proximity wakelock is released while the proximity sensor is active.
2009-09-19 21:33:32 -07:00
Mike LeBeau
c70f90b484 am 2b1cfef1: Merge change 25937 into eclair
Merge commit '2b1cfef19efb11d283a08042d37a326141c28429' into eclair-plus-aosp

* commit '2b1cfef19efb11d283a08042d37a326141c28429':
  Change the broadcast intent for dock state changes from a sticky broadcast to
2009-09-19 21:33:23 -07:00
Android (Google) Code Review
b8155068ef Merge change 25944 into eclair
* changes:
  Wake the screen if the proximity wakelock is released while the proximity sensor is active.
2009-09-20 00:27:28 -04:00
Mike Lockwood
200b30bba5 Wake the screen if the proximity wakelock is released while the proximity sensor is active.
This fixes a problem that resulted in the screen staying off indefinitely if the prox sensor
is active at the beginning of a bluetooth call and could result in the screen staying off
in other similar circumstances.

Change-Id: Icfa0046d3179f9bb2247e7a3c1f9ff073312667a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-20 00:23:59 -04:00
Robert Greenwalt
a99f461b98 Don't require WAKE_LOCK permission to enable wifi
The process for starting wifi was using a wakelock around a message-pass and this was causing
an exception for meer mortals (who don't have WAKE_LOCK permission).

bug: 1750535
2009-09-19 18:14:32 -07:00
Mike LeBeau
1f6c7e6a2b Change the broadcast intent for dock state changes from a sticky broadcast to
a sticky ordered broadcast. This is so individual apps can override the default
behavior and stop the related dock app from launching.
2009-09-19 18:06:52 -07:00
Dianne Hackborn
3bd5e2b22e am e69335f8: Merge change 25931 into eclair
Merge commit 'e69335f8b4f4195e57613fe6b83e18e23e0c2760' into eclair-plus-aosp

* commit 'e69335f8b4f4195e57613fe6b83e18e23e0c2760':
  Add better APIs for the battery status, and other cleanup.
2009-09-19 14:21:31 -07:00
Dianne Hackborn
edd9316ca9 Add better APIs for the battery status, and other cleanup.
Also add new configs for keeping screen on while docked, which will
be used elsewhere.

Change-Id: Ifaa1118f14fd850ac809895f9a5c9e8c413259b8
2009-09-19 14:03:05 -07:00
Dianne Hackborn
3bd5378329 am 84ab79c7: Merge change 25873 into eclair
Merge commit '84ab79c7f0263f5f5748d3c1ad0d0feedad604cc' into eclair-plus-aosp

* commit '84ab79c7f0263f5f5748d3c1ad0d0feedad604cc':
  Fix transformation on windows.
2009-09-18 18:03:41 -07:00
Dianne Hackborn
65c2387206 Fix transformation on windows.
The window offset was being applied incorrectly in relation to the
animation transform.

Change-Id: Ia578129f48cf6c57ae795af862d2b6ce5d447994
2009-09-18 17:47:02 -07:00
Dan Egnor
a63276ed69 am 90d8a6a4: Merge change 25628 into eclair
Merge commit '90d8a6a449dc12fea2b56b557c243e33746d914a' into eclair-plus-aosp

* commit '90d8a6a449dc12fea2b56b557c243e33746d914a':
  Inefficient but correct fix for 2122381: call finishBackup after every performBackup
2009-09-18 15:33:57 -07:00
Android (Google) Code Review
90d8a6a449 Merge change 25628 into eclair
* changes:
  Inefficient but correct fix for 2122381: call finishBackup after every performBackup
2009-09-18 18:25:33 -04:00
Jacek Surazski
64f0e2430f am c3a3b399: Merge change 25752 into eclair
Merge commit 'c3a3b399a9d7707b7f3c4108e0e31a1b664a6f22' into eclair-plus-aosp

* commit 'c3a3b399a9d7707b7f3c4108e0e31a1b664a6f22':
  Add a Gservices setting to controll the app error reporting feature.
2009-09-18 12:13:35 -07:00
Android (Google) Code Review
c3a3b399a9 Merge change 25752 into eclair
* changes:
  Add a Gservices setting to controll the app error reporting feature.
2009-09-18 15:07:28 -04:00
Dianne Hackborn
1e8c95318f am ffda371c: Merge change 25734 into eclair
Merge commit 'ffda371c220de9c97663fef4e9d14bee7267383d' into eclair-plus-aosp

* commit 'ffda371c220de9c97663fef4e9d14bee7267383d':
  Show the live wallpaper on the lock screen.
2009-09-18 10:25:46 -07:00
Dianne Hackborn
6136b7ef16 Show the live wallpaper on the lock screen.
This also takes care of the problem of system dialogs like the
crash dialog causing the status bar to dim behind the lock screen.

On the down side, the fade transition from the lock screen is
now gone, and I'm not sure how likely it is for it to return.

Change-Id: I7f9e6d0f3510a1fdbbe6ad252d986bd85a16475d
2009-09-18 09:27:22 -07:00
Jacek Surazski
a233943cb1 Add a Gservices setting to controll the app error reporting feature. 2009-09-18 15:01:26 +02:00
Dianne Hackborn
1f3914b7f2 am fa82f22f: Fix issue #2093608: Calendar widget takes a few seconds to launch
Merge commit 'fa82f22f1d8c4c828bdf9b670006be4f4fec772e' into eclair-plus-aosp

* commit 'fa82f22f1d8c4c828bdf9b670006be4f4fec772e':
  Fix issue #2093608: Calendar widget takes a few seconds to launch
2009-09-17 18:13:26 -07:00
Dianne Hackborn
fa82f22f1d Fix issue #2093608: Calendar widget takes a few seconds to launch
Avert your eyes!

The key change here is that RemoteViews can now call a Context API to
start its pending intent, which inside of the activity manager we can
use to determine to cancel the timeout delay for external entities
to disrupt the home screen.

Change-Id: If097cf7478cbed7a3c04a304050bd7fd5703d197
2009-09-17 18:01:35 -07:00
Robert Greenwalt
fb5c0fd8b4 am 1c7c3556: Merge change 25634 into eclair
Merge commit '1c7c355626ea870605beab6dc07d8ac7509a8b80' into eclair-plus-aosp

* commit '1c7c355626ea870605beab6dc07d8ac7509a8b80':
  Report NO_CONNECTIVITY when failover net unavail
2009-09-17 17:15:44 -07:00
Suchi Amalapurapu
abdb3037ed am 0d51d635: Merge change 25626 into eclair
Merge commit '0d51d63595014c4237010118aaac891e657c2d23' into eclair-plus-aosp

* commit '0d51d63595014c4237010118aaac891e657c2d23':
  Check if rename of current settings file was successful before persisting
2009-09-17 16:40:34 -07:00
Robert Greenwalt
c7d2530d52 Report NO_CONNECTIVITY when failover net unavail
Fix ConnectivityService so that it reports connection status correctly.

bug: 2128595
2009-09-17 16:34:39 -07:00
Android (Google) Code Review
0d51d63595 Merge change 25626 into eclair
* changes:
  Check if rename of current settings file was successful before persisting new changes to settings.
2009-09-17 19:32:34 -04:00
Suchi Amalapurapu
3d7e855df3 Check if rename of current settings file was successful before persisting
new changes to settings.
2009-09-17 16:30:14 -07:00
Dan Egnor
83861e74c3 Inefficient but correct fix for 2122381: call finishBackup after every performBackup 2009-09-17 16:19:02 -07:00
Dianne Hackborn
3955bccd2d am 4ac137ca: Merge change 25526 into eclair
Merge commit '4ac137cad9fb9aa5b69776b4ae3c8f906cc57511' into eclair-plus-aosp

* commit '4ac137cad9fb9aa5b69776b4ae3c8f906cc57511':
  Add API to retrieve memory used by running processes.
2009-09-17 12:20:12 -07:00
Android (Google) Code Review
4ac137cad9 Merge change 25526 into eclair
* changes:
  Add API to retrieve memory used by running processes.
2009-09-17 15:11:22 -04:00
Mike Lockwood
a038decb21 am c2912a66: Merge change 25490 into eclair
Merge commit 'c2912a662d984e2f23187fa31e7e71122d9472d9' into eclair-plus-aosp

* commit 'c2912a662d984e2f23187fa31e7e71122d9472d9':
  Revert "Don't activate keyguard if screen is turned off while proximity sensor is active."
2009-09-17 11:45:25 -07:00
Android (Google) Code Review
c2912a662d Merge change 25490 into eclair
* changes:
  Revert "Don't activate keyguard if screen is turned off while proximity sensor is active."
2009-09-17 14:39:43 -04:00
Dianne Hackborn
4f21c4cf07 Add API to retrieve memory used by running processes.
Change-Id: I9c1935c2ef3c78bd67ec4dfd811a1caaab4514c3
2009-09-17 11:13:45 -07:00
Yusuf T. Mobile
5c06347996 am 6c41fead: Merge change 25519 into eclair
Merge commit '6c41feadc30448adba4f771b3c1b4ecda8d875b6' into eclair-plus-aosp

* commit '6c41feadc30448adba4f771b3c1b4ecda8d875b6':
  LocationManagerService: Take fix accuracy into account in proximity zone logic.
2009-09-17 11:02:05 -07:00
Yusuf T. Mobile
2d2078aa1d LocationManagerService: Take fix accuracy into account in proximity zone logic.
Fixes http://code.google.com/p/android/issues/detail?id=2002

Change-Id: If2b0665c556269279c5813f2254f9624a556bd92
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-17 13:56:36 -04:00
Mike Lockwood
c17f07aa04 Revert "Don't activate keyguard if screen is turned off while proximity sensor is active."
This reverts commit ddfe879b783ad72603308e28e8f683454464684e.
2009-09-17 11:58:01 -04:00
Christopher Tate
69f7336328 am b8eb1cb7: Be sure to include shared lib path info when dealing with agents
Merge commit 'b8eb1cb79b2912b91a1b0198ba3e61776af07a79' into eclair-plus-aosp

* commit 'b8eb1cb79b2912b91a1b0198ba3e61776af07a79':
  Be sure to include shared lib path info when dealing with agents
2009-09-17 08:44:21 -07:00
Dianne Hackborn
11ae4695c1 am e777e0a3: Merge change 25388 into eclair
Merge commit 'e777e0a3d1645c1b54f12af5779cb7ccf0c82234' into eclair-plus-aosp

* commit 'e777e0a3d1645c1b54f12af5779cb7ccf0c82234':
  Fix #1827299: Google login screen to re-enter password is not viewable
2009-09-17 08:42:53 -07:00
Christopher Tate
b8eb1cb79b Be sure to include shared lib path info when dealing with agents
In particular, this ensures that on the client side the full classpath is known
and used by the class loader during execution of the agent.
2009-09-16 17:58:45 -07:00
Dianne Hackborn
248b188860 Fix #1827299: Google login screen to re-enter password is not viewable
This was a problem with not hiding the starting window when it got
transfered to an activity whose window (instead of token) animates
when displayed.

Change-Id: I9eb58faa6e27d53144687952a715fc083a5c5842
2009-09-16 16:46:44 -07:00
Mike Lockwood
bdd1f2e37e am 9092ab4d: Add support for launching activities when attaching to a car or desk dock.
Merge commit '9092ab4d458ad60b459d5fad52368bde5d25f665' into eclair-plus-aosp

* commit '9092ab4d458ad60b459d5fad52368bde5d25f665':
  Add support for launching activities when attaching to a car or desk dock.
2009-09-16 11:50:26 -07:00
Mike Lockwood
9092ab4d45 Add support for launching activities when attaching to a car or desk dock.
Categories CATEGORY_CAR_DOCK and CATEGORY_DESK_DOCK can be assigned to
activities to make them launchable on docked events.
This is a better mechanism than listening for ACTION_DOCK_EVENT with a broadcast receiver.

Change-Id: Ic5f3ab3555ce02ca922bc31ebba41978cefe8bda
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-16 14:43:21 -04:00
Suchi Amalapurapu
bbfbf187ef am 2a66eee3: Merge change 25157 into eclair
Merge commit '2a66eee3ef88bdc7167e5e5d0471c1e8b2e68fc6' into eclair-plus-aosp

* commit '2a66eee3ef88bdc7167e5e5d0471c1e8b2e68fc6':
  Remove deadlock in PackageManager when installing or upgrading packages.
2009-09-16 09:43:52 -07:00
Android (Google) Code Review
2a66eee3ef Merge change 25157 into eclair
* changes:
  Remove deadlock in PackageManager when installing or upgrading packages. PM first creates a temporary file from the input package uri before installing it. if the package uri points to a content uri, the content provider  has to be retrieved via the ActivityManager which could cause deadlocks with the package manager locks being held. Clean up by always copying or creating temporary files before acquiring these locks. Fix issue when restoring a failed upgrade for third party apps.
2009-09-16 12:36:36 -04:00
Chung-yih Wang
614fd72d21 am 4337476a: Fix the missing part for reading enterprise fields in wifi configuration
Merge commit '4337476a6669ce52549ce4a60f5e4d07f8e3033f' into eclair-plus-aosp

* commit '4337476a6669ce52549ce4a60f5e4d07f8e3033f':
  Fix the missing part for reading enterprise fields in wifi configuration
2009-09-15 23:45:11 -07:00
Chung-yih Wang
4337476a66 Fix the missing part for reading enterprise fields in wifi configuration
+ refactor the enterprise fields.
2009-09-16 14:28:42 +08:00
Dianne Hackborn
10bedaaf3e am 7fc39b26: Merge change 25238 into eclair
Merge commit '7fc39b26fc4ec9df7d147ff34ebba90556cdb4da' into eclair-plus-aosp

* commit '7fc39b26fc4ec9df7d147ff34ebba90556cdb4da':
  Implement issue #1780928: Need support hiding nav keys.
2009-09-15 23:11:35 -07:00