summaryrefslogtreecommitdiffstats
path: root/packages/SettingsProvider
Commit message (Collapse)AuthorAgeFilesLines
* Make sure to apply the auto-restore setting when the system is restoredChristopher Tate2010-02-261-0/+13
| | | | Change-Id: If2e09d6b4e65c75e7e90754adc2425fa73d2602a
* Re-arrange android-common so framework no longer links with it.Dianne Hackborn2010-02-251-1/+1
| | | | | | | This is the framework part, moving classes around so the framework no longer needs to link to android-common. Makes some APIs public, others that didn't need to be public are private in the framework, some small things are copied.
* Filenames of sound effects are not translatable.Eric Fischer2010-02-241-7/+7
|
* Turn off lock screen sounds by default.Daniel Sandler2010-02-231-4/+4
| | | | | | | | | | This change also fixes a typo that was suppressing the dock sounds. But: so as not to surprise anyone, this change defaults dock sounds off as well. Will need to add UI somewhere to turn them on (Spare Parts?). Bug: 2465483 Change-Id: Ic2cccb416d5616a84363debb740bf5897f0831c4
* Fix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, ↵Oscar Montemayor2010-02-221-1/+20
| | | | upgrade path.
* Fix issue #2438980: Implement package watcher for voice recognizer service ↵Dianne Hackborn2010-02-222-43/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting I am getting tired of writing package monitor code, realized this is missing in a number of places, and at this point it has gotten complicated enough that I don't think anyone actually does it 100% right so: Introducing PackageMonitor. Yes there are no Java docs. I am still playing around with just what this thing is to figure out what makes sense and how people will use it. It is being used to fix this bug for monitoring voice recognizers (integrating the code from the settings provider for setting an initial value), to replace the existing code for monitoring input methods (and fix the bug where we wouldn't remove an input method from the enabled list when it got uninstalled), to now monitor live wallpaper package changes (now allowing us to avoid reverting back to the default live wallpaper when the current one is updated!), and to monitor device admin changes. Also includes a fix so you can't uninstall an .apk that is currently enabled as a device admin. Also includes a fix where the default time zone was not initialized early enough which should fix issue #2455507 (Observed Google services frame work crash). In addition, this finally introduces a mechanism to determine if the "force stop" button should be enabled, with convenience in PackageMonitor for system services to handle it. All services have been updated to support this. There is also new infrastructure for reporting battery usage as an applicatin error report.
* Fix issue #2420412: API review: DeviceAdmin API changesDianne Hackborn2010-02-171-2/+3
| | | | | | | | Note in docs that callbacks are on main thread. Rename to DeviceAdminReceiver? Document resetPassword is the device's password. Also hide android.R.attr.neverEncrypt.
* New user interface sound effects:Daniel Sandler2010-02-122-1/+59
| | | | | | | | | | | | | | | | - Low battery. (http://b/2320026) - Dock/undock events. - Keyguard lock/unlock events. New system settings have been created to turn these on/off and to specify the relevant sound files. [Production notes: The provided low battery sound and dock sounds were synthesized; the lock screen sounds are processed samples of a ballpoint pen click mechanism.] Bug: 2320026 Change-Id: I374285b0f94f59c7555bb8816580f5a8c802e90d
* Merge "Remove BACKUP_DATA permission and associated checks"Chris Tate2010-02-121-2/+0
|\
| * Remove BACKUP_DATA permission and associated checksChristopher Tate2010-02-121-2/+0
| | | | | | | | | | | | | | | | Any package can now participate in backup/restore, without requiring any manifest-declared permission. *Control* of the backup manager is still guarded by the BACKUP permission, which is signatureOrSystem. Change-Id: I116fcfcd4cd255e3c976330da1c4dea7d4faae9d
* | Watch 2274882: Add a field to the db when we wipe due to an error in the ↵Jim Miller2010-02-121-7/+12
|/ | | | | | upgrader. This should give us the ability to diagnose and fix db upgrade errors as reported by partners and end users.
* Use the new RecognitionService.SERVICE_INTERFACE instead ofMike LeBeau2010-02-111-1/+2
| | | | | RecognizerIntent.ACTION_RECOGNIZE_SPEECH when finding a voice recognition service.
* Add new setting for the ComponentName of the service to be usedMike LeBeau2010-02-111-1/+49
| | | | | | | | | | for voice recognition on the device. Right now this just queries the package manager at boot and finds the (hopefully) single available recognizer. TODO: Add an attribute to let recognition services expose a settings activity, and expose the settings activity of the chosen recognition service in the system settings for voice input & output.
* Set default value for default install locationSuchi Amalapurapu2010-02-101-1/+3
|
* Add new manifest option for install locationSuchi Amalapurapu2010-02-102-0/+3
| | | | | | | | | | | | Change recommendAppInstallLocation api add code to parse new attribute. Define flags in PackageInfo Add new settings attributes for enabling setting and value for install location Some tests The policy for install location: if explicitly set in manifest as internal only we try to install the app only on internal storage. if set to preferExternal, we try to install it on sdcard if possible. If not we fall back to internal. If the user enables setting SET_INSTALL_LOCATION(which will always be set to false in final release builds) and sets a prefered location, we try to honour it.
* use device serial number to seed RNG for generating ANDROID_IDDoug Zongker2010-02-031-2/+11
| | | | Change-Id: I1bcc55f1309cb908803bc42084846a046041eda6
* More device policy work: clarify password modes, monkeying.Dianne Hackborn2010-01-291-2/+17
| | | | | | | | Clarifies what the password modes mean, renaming them to "quality" and updating their documentation and the implementation to follow. Also adds a facility to find out if a monkey is running, which I need for the api demo to avoid letting it wipe the device.
* Remove unused providersKen Shirriff2010-01-221-1/+0
| | | | bug 2388178
* More device policy manager / admin work.Dianne Hackborn2010-01-211-1/+16
| | | | | Update API with some new features, re-arrange how you check for valid passwords, and start hooking up the back-end implementation.
* Fix 2385283: Add DevicePolicyManager calls to LockScreen.Jim Miller2010-01-201-4/+4
|
* Settings: Add settings for MountService prefs and bump DB version to 46San Mehat2010-01-082-4/+43
| | | | | | | | | | | | Adds 4 new Settings: Secure.MOUNT_PLAY_NOTIFICATION_SND - Play notification sound on events Secure.MOUNT_UMS_AUTOSTART - Auto-start UMS when host detected Secure.MOUNT_UMS_PROMPT - Show notification when host detected Secure.MOUNT_UMS_NOTIFY_ENABLED - Show notification while UMS enabled These settings are also added to the Settings backup list Signed-off-by: San Mehat <san@google.com>
* Merge "Update with latest translations."Eric Fischer2010-01-081-1/+1
|\
| * Update with latest translations.Eric Fischer2010-01-071-1/+1
| |
* | remove Settings.GservicesDoug Zongker2010-01-072-25/+17
| | | | | | | | | | | | | | Move the last few keys to secure settings, and delete the Gservices table. Change-Id: Ie3ba45aa8c1f220824aa027c547cb82884452eb5
* | change remaining frameworks/base Gservices to Secure settingsDoug Zongker2010-01-071-2/+0
|/ | | | Change-Id: I61bdb05a2526523700c2833154d5a4133881ef10
* Do not use a user tag on apps, as it is ignored.Jean-Baptiste Queru2010-01-061-1/+1
| | | | | | | | | | The build system does not honor user tags on apps, and setting it is misleading. This removes the confusion by making the makefiles behave like they read. Change-Id: I7c5feba1c7d07f915b97dd098584f29938a4c885
* am 68e9014e: am 484d2888: Fix issue 2299360: Change in in-call volume ↵Eric Laurent2009-12-271-1/+24
|\ | | | | | | | | | | | | | | | | affects the Bluetooth in-call volume and vice versa. Merge commit '68e9014e47f7350b3889e1704dde809b2a926968' * commit '68e9014e47f7350b3889e1704dde809b2a926968': Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.
| * Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call ↵Eric Laurent2009-12-221-1/+24
| | | | | | | | | | | | volume and vice versa. Add a separate system settings entry for bluetooth SCO volume.
* | resolved conflicts for merge of ad2fa35d to masterTom Taylor2009-12-221-1/+1
|\ \ | |/ | | | | Change-Id: Ia4362cd48ac0689b91003943a4cd9660da72ff90
| * Update imports to android-commonTom Taylor2009-12-211-1/+1
| | | | | | | | | | Several files were moved to android-common. Update all the references to import those files from the new location.
* | am bc1c8847: am 66cc5900: Merge change Ic70239e8 into eclair-mr2Fred Quintana2009-12-171-0/+36
|\ \ | |/ | | | | | | | | | | Merge commit 'bc1c8847841689d2f6baa1f729148b4a35af92b0' * commit 'bc1c8847841689d2f6baa1f729148b4a35af92b0': changed SettingsProvider to manage the androidid itself
| * changed SettingsProvider to manage the androidid itselfFred Quintana2009-12-171-0/+36
| |
* | am 1224b101: am 42c4c589: am a9791d30: Merge change Iae3ed706 into eclairAmith Yamasani2009-12-022-1/+24
|\ \ | |/ | | | | | | | | | | Merge commit '1224b1016d2a4ec172f13741e632e59c7528b319' * commit '1224b1016d2a4ec172f13741e632e59c7528b319': Add new setting for notification light pulsing. Bug #2238250
| * am a9791d30: Merge change Iae3ed706 into eclairAmith Yamasani2009-12-022-1/+24
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'a9791d304b8ec03e04ad4533b1820a64794e1bcc' into eclair-mr2 * commit 'a9791d304b8ec03e04ad4533b1820a64794e1bcc': Add new setting for notification light pulsing. Bug #2238250
| | * Add new setting for notification light pulsing. Bug #2238250Amith Yamasani2009-12-012-1/+24
| | | | | | | | | | | | New System setting and code to set the defaults on upgrade.
| | * Import revised translations. DO NOT MERGEEric Fischer2009-11-131-1/+1
| |/ | | | | | | Approver: jerryw
* | Encrypted File Systems Project. Installer modifications.Oscar Montemayor2009-11-241-1/+2
|/ | | | Started to modify isntaller for data redirection to a secure location.
* 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