summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix up the first-backup-ever trackingChristopher Tate2009-09-201-19/+24
| | | | | | | | | | | | | 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.
* Merge change 25970 into eclairAndroid (Google) Code Review2009-09-201-20/+11
|\ | | | | | | | | * changes: Make removeBond() call async.
| * Make removeBond() call async.Jaikumar Ganesh2009-09-201-20/+11
| | | | | | | | | | | | | | | | | | 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
* | Merge change 25992 into eclairAndroid (Google) Code Review2009-09-203-6/+43
|\ \ | | | | | | | | | | | | * changes: Add an 'init everything' operation to the first backup pass
| * | Add an 'init everything' operation to the first backup passChristopher Tate2009-09-203-6/+43
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | Merge change 25885 into eclairAndroid (Google) Code Review2009-09-201-0/+1
|\ \ | |/ |/| | | | | * changes: handle calendars with an access level of "root"
| * handle calendars with an access level of "root"Debajit Ghosh2009-09-181-0/+1
| |
* | Merge change 25853 into eclairAndroid (Google) Code Review2009-09-204-63/+19
|\ \ | | | | | | | | | | | | * changes: Don't back up / restore certain sync-related settings
| * | Don't back up / restore certain sync-related settingsChristopher Tate2009-09-184-63/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, this no longer attempts to back up the on/off state of specific backend syncing [gmail/contacts/calendar], nor the "background data" toggle. The former was causing a great deal of spurious trips through backup as the notification was being tickled during general sync operation, and the latter makes little sense at restore time. Fixes these issues: b/2097613 - frequent "backup_data_changed" messages in event log b/2131662 - should not backup background data, master sync settings
* | | Merge change 25959 into eclairAndroid (Google) Code Review2009-09-206-37/+47
|\ \ \ | | | | | | | | | | | | | | | | * changes: Add better transition to rotary lock widget when triggering: spin around instead of snap back.
| * | | Add better transition to rotary lock widget when triggering: spin around ↵Karl Rosaen2009-09-206-37/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | Merge change 25894 into eclairAndroid (Google) Code Review2009-09-201-15/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Adding CONTENT_TYPE to CommonDataKinds.Email
| * | | | Adding CONTENT_TYPE to CommonDataKinds.EmailDmitri Plotnikov2009-09-181-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also removing deprecated API Change-Id: Ie3bd17282bf57c3a73497c91ce233ed135c79502
* | | | | Merge change 25938 into eclairAndroid (Google) Code Review2009-09-201-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Don't require WAKE_LOCK permission to enable wifi
| * | | | | Don't require WAKE_LOCK permission to enable wifiRobert Greenwalt2009-09-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Add resources to allow forcing accelerometer based orientation management ↵Mike Lockwood2009-09-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when docked. Change-Id: I708507db735e08a13daeff95e106f0a53037f760 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | | Merge change 25944 into eclairAndroid (Google) Code Review2009-09-201-9/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Wake the screen if the proximity wakelock is released while the proximity sensor is active.
| * | | | | | Wake the screen if the proximity wakelock is released while the proximity ↵Mike Lockwood2009-09-201-9/+15
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | Merge change 25937 into eclairAndroid (Google) Code Review2009-09-201-25/+48
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | | | | | Change the broadcast intent for dock state changes from a sticky broadcast toMike LeBeau2009-09-191-25/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a sticky ordered broadcast. This is so individual apps can override the default behavior and stop the related dock app from launching.
* | | | | | | Add config_use_strict_phone_number_comparation, which will be used by ↵Daisuke Miyakawa2009-09-191-1/+3
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | internal applications. Related internal issue number: 1892808
* | | | | | Implement compareStrictly() using phone_number_compare() written in C.Daisuke Miyakawa2009-09-191-120/+492
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge change 25931 into eclairAndroid (Google) Code Review2009-09-195-38/+217
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Add better APIs for the battery status, and other cleanup.
| * | | | | Add better APIs for the battery status, and other cleanup.Dianne Hackborn2009-09-195-38/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add new configs for keeping screen on while docked, which will be used elsewhere. Change-Id: Ifaa1118f14fd850ac809895f9a5c9e8c413259b8
* | | | | | Merge change 25929 into eclairAndroid (Google) Code Review2009-09-196-2/+174
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * changes: Add API to send an ordered sticky broadcast.
| * | | | | Add API to send an ordered sticky broadcast.Dianne Hackborn2009-09-196-2/+174
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ida7081204e226db0cd07ff618c08e308a909ec0c
* | | | | | Merge change 25779 into eclairAndroid (Google) Code Review2009-09-196-0/+257
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | * changes: Add new API for fetching UUIDs using SDP.
| * | | | | Add new API for fetching UUIDs using SDP.Jaikumar Ganesh2009-09-196-0/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new API which clients can use to force an SDP query. The result is broadcast using an intent having the UUIDs. The intent is broadcast after a timeout, in case of an error. This timeout is greater than the page timeout. Change-Id: I61e6db4c05b34c42f679a66987e37e2063a793b6
* | | | | | Moved the toString method in the parent Connection class.Nicolas Catania2009-09-193-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Beefed up the output to get more info in the logs about a connection. Personal data is only logged at debug level.
* | | | | | Merge change 25911 into eclairAndroid (Google) Code Review2009-09-193-2/+26
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Unhide attributes textAppearanceSearchResultSubtitle and attr/textAppearanceSearchResultTitle. 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.
| * | | | | | Unhide attributes textAppearanceSearchResultSubtitle andMike LeBeau2009-09-193-2/+26
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | attr/textAppearanceSearchResultTitle. 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.
* | | | | | Merge change 25831 into eclairAndroid (Google) Code Review2009-09-191-0/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | * changes: When double tap zoom out to overview mode, force reveal the full title bar if it is partial visible.
| * | | | | When double tap zoom out to overview mode, force reveal the fullGrace Kloba2009-09-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | title bar if it is partial visible. http://b/issue?id=2110583
* | | | | | Merge change 25858 into eclairAndroid (Google) Code Review2009-09-181-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: There is a know issue in PV regarding the video size return. Need to put a 1 second sleep before we get the video dimension
| * | | | | | There is a know issue in PV regarding the video size return. Need to put a 1 ↵Yu Shan Emily Lau2009-09-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | second sleep before we get the video dimension
* | | | | | | Merge change 25874 into eclairAndroid (Google) Code Review2009-09-181-16/+23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: ContactsContract: Adding joined columns to the CommonDataKind class definitions.
| * | | | | | | ContactsContract: Adding joined columns to the CommonDataKind class definitions.Dmitri Plotnikov2009-09-181-16/+23
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rationale is this. Since all these joined columns are currently on different classes, we routinely see code like this: private static final String[] PROJECTION_PHONE = { Data._ID, // 0 Data.CONTACT_ID, // 1 Phone.TYPE, // 2 Phone.NUMBER, // 3 Phone.LABEL, // 4 Data.DISPLAY_NAME, // 5 }; After this change, the above declaration changes to: private static final String[] PROJECTION_PHONE = { Phone._ID, // 0 Phone.CONTACT_ID, // 1 Phone.TYPE, // 2 Phone.NUMBER, // 3 Phone.LABEL, // 4 Phone.DISPLAY_NAME, // 5 }; Change-Id: I2e84bca3277aeef06eec20cee8c2119ef3b90a9f
* | | | | | | Merge change 25883 into eclairAndroid (Google) Code Review2009-09-181-112/+235
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Draw a green triangle using OpenGL 2.0 APIs.
| * | | | | | | Draw a green triangle using OpenGL 2.0 APIs.Jack Palevich2009-09-181-112/+235
| | |_|_|_|/ / | |/| | | | |
* | | | | | | Merge change 25873 into eclairAndroid (Google) Code Review2009-09-185-5/+6
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | * changes: Fix transformation on windows.
| * | | | | | Fix transformation on windows.Dianne Hackborn2009-09-185-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The window offset was being applied incorrectly in relation to the animation transform. Change-Id: Ia578129f48cf6c57ae795af862d2b6ce5d447994
* | | | | | | Merge change 25839 into eclairAndroid (Google) Code Review2009-09-181-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix potential ArrayIndexOutOfBoundsException.
| * | | | | | | Fix potential ArrayIndexOutOfBoundsException.jsh2009-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When parsing an SMS message as email, extractEmailAddressFromMessageBody() checks parts.length >= 1, but then proceeds to access parts[1] (which may not exist). Instead, check for parts.length >= 2, and treat parts.length = 1 as non-email. b/2122698
* | | | | | | | Merge change 25826 into eclairAndroid (Google) Code Review2009-09-181-0/+1
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | * changes: Suppressed the invalidFrameRate as the framework is not throwing the IOException anymore.
| * | | | | | | Suppressed the invalidFrameRate as the framework is not throwing the ↵Yu Shan Emily Lau2009-09-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IOException anymore.
* | | | | | | | Merge change 25847 into eclairAndroid (Google) Code Review2009-09-181-2/+6
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | * changes: Fix http://b/issue?id=2099487
| * | | | | | | Fix http://b/issue?id=2099487Evan Millar2009-09-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib5391cc5e9d17bc4ad964471037e7f9819802a64
* | | | | | | | ContactsContract: Adding joined columns to the Data class definition.Dmitri Plotnikov2009-09-181-1/+2
| |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rationale is this. Since all these joined columns are currently on different classes, we routinely see code like this: private static final String[] PROJECTION_PHONE = { Data._ID, // 0 RawContacts.CONTACT_ID, // 1 Phone.TYPE, // 2 Phone.NUMBER, // 3 Phone.LABEL, // 4 Contacts.DISPLAY_NAME, // 5 }; The most noxious line is RawContacts.CONTACT_ID After this change, the above declaration changes to: private static final String[] PROJECTION_PHONE = { Data._ID, // 0 Data.CONTACT_ID, // 1 Phone.TYPE, // 2 Phone.NUMBER, // 3 Phone.LABEL, // 4 Data.DISPLAY_NAME, // 5 }; Change-Id: I03bfc700e4c8c58a175bc885bf7b807d7fed0744
* | | | | | | Merge change 25628 into eclairAndroid (Google) Code Review2009-09-181-1/+11
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | * changes: Inefficient but correct fix for 2122381: call finishBackup after every performBackup
| * | | | | | Inefficient but correct fix for 2122381: call finishBackup after every ↵Dan Egnor2009-09-171-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | performBackup