summaryrefslogtreecommitdiffstats
path: root/packages/SettingsProvider
Commit message (Collapse)AuthorAgeFilesLines
* Remove PowerManager.setAutoBrightness()Mike Lockwood2009-10-161-26/+0
| | | | | | | | We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead. Add SCREEN_BRIGHTNESS_MODE_MANUAL and SCREEN_BRIGHTNESS_MODE_AUTOMATIC constants. Change-Id: I01935be3fcb48cf76392d2c594205cb47babc5b2 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Remove unneeded icon.Daniel Sandler2009-10-011-0/+0
| | | | | | (Obviated by commit a408791148e816215f65ad81a187051c5fb47c68.) Change-Id: I6e01fa52f2bbeb28c969e6a033ab0b1032cbc848
* Turn off the last of the STOPSHIP verbose debuggingChristopher Tate2009-09-301-1/+0
| | | | Change-Id: Id93f4c9e9fb8468a554ae1e5c5c767f72903662c
* Turn off most of the backup-related debug loggingChristopher Tate2009-09-301-1/+1
| | | | | | | The core logging in BackupManagerService and in the Google backup transport are still enabled at this point. Change-Id: I10abfa565bbd1097dd3631051b6aca163e4af33a
* Placeholder mdpi assetsMike Cleron2009-09-301-0/+0
|
* Newer iconsMike Cleron2009-09-301-0/+0
|
* New iconsMike Cleron2009-09-292-0/+0
|
* Merge change 27177 into eclairAndroid (Google) Code Review2009-09-271-0/+29
|\ | | | | | | | | * changes: Add auto-brightness mode to the list of backed-up settings
| * Add auto-brightness mode to the list of backed-up settingsChristopher Tate2009-09-251-0/+29
| | | | | | | | Change-Id: I4302b79691ed717d810748b239311cba198f6381
* | Turn on haptic feedback by default.Dianne Hackborn2009-09-262-1/+28
|/ | | | Change-Id: I85efeca1a0aca91992e28236077c668e0d14cbbb
* Don't restore any setting that we don't think should be backed upChristopher Tate2009-09-221-14/+25
| | | | | | | | The ad-hoc blacklist has been replaced by a check that whitelists each restored datum against the set of keys that we actually back up. Keys read from the restore data which are not found in the whitelist are not applied. Also adds in some more debugging output, marked to be disabled for ship.
* Turn animations on by default.Dianne Hackborn2009-09-212-2/+23
| | | | | | | | | | | | | | | Add API to skip the animation for a particular start activity, so that a latter better one can be used. Fix Theme.NoDisplay to actually work. Fiddle with various animations: don't do a different animation for task switching, try a scale animation for switching in/out of the wallpaper. Adjust the animation duration so that at normal speed we have something more like the slower animation option (so slow is now the default). Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
* Don't back up / restore certain sync-related settingsChristopher Tate2009-09-182-52/+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
* Move backlight brightness from HardwareService to PowerManagerMike Lockwood2009-09-151-5/+5
| | | | | | | | to prevent apps from changing the hardware behind its back. Fixes b/2041941 Lock screen flashes the screen very bright before dimming Change-Id: Ice757f7ae87902bdfb3634471cf44f020ebfaae4 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Add automatic lighting control frameworkDan Murphy2009-09-152-1/+21
| | | | | | | | | | | | | | | | | | Add changes to have the ability to turn on and off the automatic light sensing for the device. This is fully configurable and is by default not present. Vendors should override the ALS setting to enable the automatic lighting controls. These changes will add a check box to the Brightness settings menu to give control to the user to allow the device's display lighting to be controlled via the slide bar or the auto lighting system. If the user selects auto then the slide bar will become invisible. Manual mode will present the slide bar to the user. Change-Id: I146a6d75b99b08c9b839218ce6b85adf21f9fd73 Signed-off-by: Dan Murphy <D.Murphy@motorola.com> Signed-off-by: Mike Lockwood <lockwood@android.com>
* Don't backup/restore telephony material from secure settingsChristopher Tate2009-09-111-0/+24
| | | | | | | | | * Remove several nonportable telephony settings from the set to be included in the backed-up dataset * Explicitly ignore those settings if they're encountered during a restore operation, so that we don't inadvertently do things like configure a GSM phone to use CDMA logic.
* Save and restore partial supplicant data, not the whole file.Amith Yamasani2009-09-111-39/+51
| | | | | This makes it compatible between different device types with different wifi chipsets.
* Fix for bug # 2023074: settings db updater broken at version 34.Jim Miller2009-09-091-0/+8
|
* Import revised translations. DO NOT MERGEEric Fischer2009-09-0812-0/+228
|
* Expand apps' control over the settings restore processChristopher Tate2009-09-011-0/+1
| | | | | | | | | | | | | | | | | | | Applications can now specify two more aspects of the restore process: whether they need to run with their own custom Application subclass rather than being launched in the usual restricted mode during restore, and whether it's okay for the backup manager to kill the app process once restore has completed. The new manifest attributes for these are, respectively, android:restoreNeedsApplication and android:killAfterRestore. If unspecified in the manifest, restoreNeedsApplication is false, and killAfterRestore is true. In order to support kill-after-restore cleanly, this change also adds a new system-process-only interface to the Activity Manager, which will schedule a "commit suicide" event on the target app's main thread looper. The framework backup agents have been given the appropriate new backup attributes as well.
* SettingsProvider: Fix botched merge from donut to eclair.Mike Lockwood2009-08-251-16/+23
| | | | | | donut and eclair had different ideas of what it means to upgrade from verion 34 to 35. Signed-off-by: Mike Lockwood <lockwood@android.com>
* Bluetooth: API change.Nick Pelly2009-08-181-2/+2
| | | | | | | | | | | | | | | Split BluetoothDevice into BluetoothDevice and BluetoothAdapter. BluetoothAdapter: Represents the local BT adapter. Operations on the local adapter (start a scan, etc). BluetoothDevice: Represents a remote BT device. Operations on remote devices (pair, connect, etc). IBluetoothDevice.aidl -> Bluetooth.aidl BluetoothDeviceService.java -> BluetoothDeviceService.java TODO: Javadoc
* Backup participants must now hold the BACKUP_DATA permissionChristopher Tate2009-08-131-0/+2
| | | | | | | | Packages that do not use android.permission.BACKUP_DATA will neither be backed up nor restored. That permission is currently signature-only. In the future if access to the backup/restore infrastructure is made available to arbitrary 3rd party applications, the permission checks (and indeed, the permission itself) can simply be removed.
* Change WIFI keyChristian Sonntag2009-08-071-2/+7
|
* Retain state of wifi connection after restoreChristian Sonntag2009-08-071-3/+10
|
* Fix error in settings.db upgrader. See bug 1999477 for details.Jim Miller2009-08-041-1/+1
|
* Wifi: Add support for enabling Wifi while in airplane mode.Mike Lockwood2009-07-292-1/+20
| | | | | | | | | | If the new system settings value for AIRPLANE_MODE_TOGGLEABLE_RADIOS contains RADIO_WIFI, then the user will be allowed to enable Wifi while in airplane mode. Turning on airplane mode will still disable Wifi, but the user will be free to reenable it in the Settings app. Signed-off-by: Mike Lockwood <lockwood@android.com>
* Merge change 8878Android (Google) Code Review2009-07-281-5/+63
|\ | | | | | | | | * changes: Support for selection of silent ringtone from the ringtone picker. This doesn't actually enable that, but adds the necessary code to make it work when enabled, and cleans up some ringtone related code.
| * Support for selection of silent ringtone from the ringtone picker.Marco Nelissen2009-07-281-5/+63
| | | | | | | | This doesn't actually enable that, but adds the necessary code to make it work when enabled, and cleans up some ringtone related code.
* | resolved conflicts for merge of cdb9e971 to masterEric Fischer2009-07-2817-187/+11
|\ \ | |/ |/|
| * Mark the the airplane mode internal strings as not translatable.Eric Fischer2009-07-2817-187/+11
| | | | | | | | Bug 2017552
* | Fix issue 1795088 Improve audio routing codeEric Laurent2009-07-231-3/+23
| | | | | | | | | | | | | | Initial commit for review. Integrated comments after patch set 1 review. Fixed lockup in AudioFlinger::ThreadBase::exit() Fixed lockup when playing tone with AudioPlocyService startTone()
* | am 9db0d36c: Merge change 7600 into donutAndroid (Google) Code Review2009-07-171-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '9db0d36c6141d8e0ccf6ca6c450872f03b55c15f' * commit '9db0d36c6141d8e0ccf6ca6c450872f03b55c15f': Update youtube bookmark
| * Update youtube bookmarkJim Miller2009-07-161-2/+2
| |
* | am c353268c: Merge change 6968 into donutAndroid (Google) Code Review2009-07-1316-0/+328
|\ \ | |/ | | | | | | | | | | Merge commit 'c353268c20a8ea425ac9f1e328684855cfc805e0' * commit 'c353268c20a8ea425ac9f1e328684855cfc805e0': Import new translations
| * Import new translationsEric Fischer2009-07-1316-0/+328
| |
* | am d1e5e3ff: Merge change 6639 into donutAndroid (Google) Code Review2009-07-093-23/+100
|\ \ | |/ | | | | | | | | | | Merge commit 'd1e5e3ffc22478bad8525dec4f1c6d57fe0ad368' * commit 'd1e5e3ffc22478bad8525dec4f1c6d57fe0ad368': Restore audio settings and wifi.
| * Restore audio settings and wifi.Amith Yamasani2009-07-093-23/+100
| | | | | | | | | | | | | | | | Optimize backups by writing an entity only if the checksum of the data has changed. Call into the hidden AudioService API to apply changed audio settings. After restoring wifi data, make sure that the permissions and ownership are set properly for the supplicant process to access it. Locale isn't restoring properly - TODO added.
* | resolved conflicts for merge of d6fe243c to master-b master2009-07-073-15/+73
|\ \ | |/
| * Backup / Restore locale preference.Amith Yamasani2009-07-073-15/+74
| | | | | | | | | | | | | | | | Also backup development settings MOCK_LOCATION and USB_DEBUGGING. Backup and restore more of the Audio settings. Won't work yet without a reboot. Disable Wifi supplicant restore temporarily. It seems to be disabling Wifi due to permissions problems. Don't restore Ringtones.
* | resolved conflicts for merge of b7195159 to master-b master2009-07-062-19/+60
|\ \ | |/
| * Restore GPS state and ringer/vibrate toggles.Amith Yamasani2009-07-062-19/+60
| | | | | | | | Inform backup manager when sync flags change. Set ringer/vibrate mode.
| * Make backup agent run in the system process as well.Amith Yamasani2009-07-021-1/+2
| |
| * Backup Wifi supplicant data.Amith Yamasani2009-07-021-1/+1
| | | | | | | | | | WifiService requests a backup when it writes wifi configuration to disk. Backup the wifi supplicant file when settings provider runs backup.
* | Merge change 6285Android (Google) Code Review2009-07-061-1/+2
|\ \ | | | | | | | | | | | | * changes: Make backup agent run in the system process as well.
| * | Make backup agent run in the system process as well.Amith Yamasani2009-07-061-1/+2
| | |
* | | Backup Wifi supplicant data.Amith Yamasani2009-07-061-1/+1
|/ / | | | | | | | | WifiService requests a backup when it writes wifi configuration to disk. Backup the wifi supplicant file when settings provider runs backup.
* | Revert "hand rolled out 220f4d633be1098e7887dbd06f179138bf19f1ad due to ↵-b master2009-07-064-2/+446
| | | | | | | | | | | | interface changes on master, the change will need to be made again" This reverts commit f8e3ba5bfad14f3037d72eb6243258c13169cbd8.
* | hand rolled out 220f4d633be1098e7887dbd06f179138bf19f1ad due to interface ↵The Android Open Source Project2009-07-034-440/+2
| | | | | | | | changes on master, the change will need to be made again
* | am 288fe16c: Merge change 6043 into donutAndroid (Google) Code Review2009-07-034-2/+440
|\ \ | |/ | | | | | | | | | | Merge commit '288fe16c20e2c20556839046d38c487b0b18735c' * commit '288fe16c20e2c20556839046d38c487b0b18735c': System and Secure settings backup.