8013 Commits

Author SHA1 Message Date
Mike LeBeau
894bedacc4 Unhide themes TextAppearance.SearchResult.Title and TextAppearance.SearchResult.Subtitle.
We had discussed doing this in Donut but looks like it never happened. We need these
attributes for voice search so now's as good a time as any.

Followup CL to 25911.
2009-09-20 20:21:48 -07:00
Android (Google) Code Review
e705ca961f Merge change 26103 into eclair
* changes:
  Handle restore of the original naive wallpaper backup schema
2009-09-20 22:49:44 -04:00
Christopher Tate
7c2bb66db7 Handle restore of the original naive wallpaper backup schema 2009-09-20 19:47:46 -07:00
Android (Google) Code Review
718970bcf3 Merge change 26061 into eclair
* changes:
  Send the UUID intent even if apps have not requested for it.
2009-09-20 20:36:54 -04:00
Android (Google) Code Review
c6a22beff2 Merge change 26081 into eclair
* changes:
  workaround for [2113743] Sholes: frozen then runtime restart going to list view
2009-09-20 20:12:30 -04:00
Mathias Agopian
4a06bb4f33 workaround for [2113743] Sholes: frozen then runtime restart going to list view 2009-09-20 17:08:45 -07:00
Android (Google) Code Review
5ea916b17c Merge change 26050 into eclair
* changes:
  Track CPU speed stepping to get more accurate CPU cost per app.
2009-09-20 19:59:16 -04:00
Wu-cheng Li
ffe1cf251a Unhide Camera lock and unlock API. 2009-09-21 07:28:44 +08:00
Jaikumar Ganesh
6179965e85 Send the UUID intent even if apps have not requested for it.
This will help apps listening to this intent to update icons etc
if the remote uuid changes. For example, the settings app used to
refresh the icons when the class bits change. It can do it now
when the remote ends uuids changes too.

Change-Id: Ib9af45780e83118d8877b0ef16f5b39b87fb4bef
2009-09-20 16:16:08 -07:00
Jaikumar Ganesh
2092361d58 Maintain pending outgoing bonding address.
This helps us to distinguish between incoming and outgoing Bonding requests.

Change-Id: I69e6a269b7dd6aad60e6f5711cad812291a7d313
2009-09-20 16:16:08 -07:00
Android (Google) Code Review
cc7f40a88d Merge change 26060 into eclair
* changes:
  log an error when loading an existing GL driver fails
2009-09-20 19:09:29 -04:00
Mathias Agopian
40621774ec log an error when loading an existing GL driver fails 2009-09-20 16:07:26 -07:00
Amith Yamasani
e43530ab57 Track CPU speed stepping to get more accurate CPU cost per app.
More CPU speed stepping happening with newer devices, so we need
to qualify CPU time with the CPU speed, since power consumption
varies greatly by speed. Apps that peg the CPU should get a higher
penaltly.

Also, fix for 2062930: NPE at VolumePreference.onKey()
2009-09-20 16:03:50 -07:00
Doug Zongker
44f5747815 log hash of account name in sync event log
Add an account field to the sync event, which is the java hash of the
account name.  (A hash is used for privacy reasons.)
2009-09-20 15:52:43 -07:00
Android (Google) Code Review
eb8aad7b2a Merge change 26047 into eclair
* changes:
  Fix up the first-backup-ever tracking
2009-09-20 18:35:39 -04: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
Android (Google) Code Review
6b96512601 Merge change 26034 into eclair
* changes:
  Clean up spin animation in rotary selector, and be even more generous for triggering.
2009-09-20 18:09:27 -04:00
Android (Google) Code Review
238dc72f74 Merge change 26004 into eclair
* changes:
  Fix issue #1862317: Browser does not appear to honor anchors (#es) in links
2009-09-20 18:06:23 -04:00
Karl Rosaen
052e187eda Clean up spin animation in rotary selector, and be even more generous for triggering. 2009-09-20 15:03:20 -07:00
Android (Google) Code Review
f1871e273e Merge change 26009 into eclair
* changes:
  Fix issue with printing gles version in aapt dump badging option If the name attribute for uses-feature or uses-permission is empty the error value is still empty indicating error and preventing the else part from being checked as it should be.
2009-09-20 17:28:28 -04:00
Android (Google) Code Review
c0df3a473f Merge change 25746 into eclair
* changes:
  Fix 2092386: Support yuyv for camera preview format.
2009-09-20 16:48:45 -04:00
Android (Google) Code Review
b7da7dd0a3 Merge change 25870 into eclair
* changes:
  Add ring back tone notification.
2009-09-20 16:43:53 -04:00
Android (Google) Code Review
00a3823db5 Merge change 26008 into eclair
* changes:
  Modified random variable to use java.security.SecureRandom for authentication challenge genration.
2009-09-20 16:41:36 -04:00
John Wang
bbd754b8fe Add ring back tone notification.
Some networks may not play ring back tone, RIL will send UNSOL ringback notification.

Apps can register for ring back tone msg and play tone to user for receiving ALERTING message.

The return value indicates to play or stop ring tone.
2009-09-20 13:40:38 -07:00
Suchi Amalapurapu
40b94725dc Fix issue with printing gles version in aapt dump badging option
If the name attribute for uses-feature or uses-permission is empty
the error value is still empty indicating error and preventing the
else part from being checked as it should be.
2009-09-20 13:40:02 -07:00
Android (Google) Code Review
1d390e7f9e Merge change 25976 into eclair
* changes:
  Fix adapter name change problem.
2009-09-20 16:39:48 -04:00
Chih-Chung Chang
eb68c46a40 Fix 2092386: Support yuyv for camera preview format.
Change-Id: I3ef821fed2132a9faf92983324c7e036d0f5641e
2009-09-21 04:38:19 +08:00
Oscar Montemayor
25f2c4cd95 Modified random variable to use java.security.SecureRandom for authentication challenge genration. 2009-09-20 13:23:36 -07:00
Android (Google) Code Review
0647b580aa Merge change 25970 into eclair
* changes:
  Make removeBond() call async.
2009-09-20 16:14:54 -04:00
Android (Google) Code Review
3a66413af3 Merge change 25992 into eclair
* changes:
  Add an 'init everything' operation to the first backup pass
2009-09-20 16:10:59 -04: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
Dianne Hackborn
6cca1599f7 Fix issue #1862317: Browser does not appear to honor anchors (#es) in links
Also a little improved debugging output of bad resource identifiers.

Change-Id: I054064ef22855608ffd722e4ccf12ce57d1992b2
2009-09-20 12:40:03 -07:00
Android (Google) Code Review
7d9db612bd Merge change 25885 into eclair
* changes:
  handle calendars with an access level of "root"
2009-09-20 15:14:16 -04:00
Jaikumar Ganesh
6a9d93cc1a Fix adapter name change problem.
This got introduced as a result of the Bluetooth API changes.

Change-Id: I04ce4a91f0e4f74253407897c2f3973f7b0a0055
2009-09-20 11:48:16 -07:00
Jaikumar Ganesh
995ae82f38 Make removeBond() call async.
This call has been synchronus since Bluez3.36.
However, since the semantics for all Bluetooth API calls are
asynchronous make this so too. It does fix an occasional ANR
seen while unpairing.

Change-Id: If81f8ec262ea1f6f62775282ab33855a8669c41a
2009-09-20 11:28:34 -07:00
Android (Google) Code Review
d163f4babe Merge change 25853 into eclair
* changes:
  Don't back up / restore certain sync-related settings
2009-09-20 13:28:41 -04:00
Android (Google) Code Review
9603715ae3 Merge change 25959 into eclair
* changes:
  Add better transition to rotary lock widget when triggering: spin around instead of snap back.
2009-09-20 12:59:59 -04:00
Karl Rosaen
278ec5d6f5 Add better transition to rotary lock widget when triggering: spin around instead of snap back.
Also add some icons and make a layout tweak, used by the lock screen (coming in a commit
to android.policy).
2009-09-20 09:51:46 -07:00
Android (Google) Code Review
eb96a3c3d3 Merge change 25894 into eclair
* changes:
  Adding CONTENT_TYPE to CommonDataKinds.Email
2009-09-20 10:49:05 -04: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
b4c0b3d8cc Add resources to allow forcing accelerometer based orientation management when docked.
Change-Id: I708507db735e08a13daeff95e106f0a53037f760

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-20 01:57:09 -04: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
Android (Google) Code Review
2b1cfef19e Merge change 25937 into eclair
* changes:
  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-20 00:24:44 -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
Daisuke Miyakawa
927b86f3a7 Add config_use_strict_phone_number_comparation, which will be used by internal applications.
Related internal issue number: 1892808
2009-09-19 18:48:03 -07: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
Daisuke Miyakawa
9a24bc563f Implement compareStrictly() using phone_number_compare() written in C.
As per several discussions, we stick to the default behavior now.
In stead, we provide compareStrictly() as a hidden method, so that some
internal components are able to use the method if needed.

Since these are static methods, they cannot refer to the configuration files,
whose values can be obtained only via Resources object.

Please make callers' side if you want to use strict version of compare().

Internal issue number: 1892808
2009-09-19 14:44:02 -07:00
Android (Google) Code Review
e69335f8b4 Merge change 25931 into eclair
* changes:
  Add better APIs for the battery status, and other cleanup.
2009-09-19 17:13:23 -04: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