summaryrefslogtreecommitdiffstats
path: root/packages/SettingsProvider/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken logic in SettingsProvider.parseProviderList.Mike Lockwood2010-12-011-3/+6
| | | | | | | We were accidentally stripping both leading and trailing commas when removing a provider from the enabled provider list. Signed-off-by: Mike Lockwood <lockwood@android.com>
* make android_id random seed depend on time as well as ro.serialnoDoug Zongker2010-09-281-9/+4
| | | | Change-Id: I0a48aacd8da30896d91fa05b7791335e6ed751e5
* Revert "settings: Load the default IME in the provider."Steve Kondik2010-08-181-3/+0
| | | | This reverts commit 7cc400ee542cb718b94ce5135c62b7abdbd46231.
* settings: Load the default IME in the provider.Steve Kondik2010-08-181-0/+3
|
* Fix issue #2834005: Android Settings.Secure bypassDianne Hackborn2010-07-222-0/+28
| | | | Change-Id: Ic4f14e2ff5c2b4f623405d30389863a9e3e82572
* Fix an upgrade bug in SettingsProvider.Amith Yamasani2010-04-121-1/+2
| | | | | | | | Bug: 2569112 Wrong usage of local method. Change-Id: I9d7c68baa7cf8dd2b7e4345555c1edc374de94e6
* Fix 2579461Suchi Amalapurapu2010-04-071-33/+30
| | | | | | | | Move install location values to secure settings. Diable attribute for UI. Set default value to auto. Add command line interface to set install location via pm. Change-Id: I80e97b3d24845adad7102f40dcbe238f00efa406
* Fix for Never not existing in latest timeout values.Amith Yamasani2010-03-301-1/+39
| | | | | | Bug: 2535288 Change-Id: I15ca60c7afe58fbe57e557e6d0028dc200d8b322
* API CHANGE: rename BackupHelperAgent => BackupAgentHelper per API CouncilChristopher Tate2010-03-291-2/+2
| | | | | | Part of bug #2545514 Change-Id: Ic775e3b942c485252149c1b6c15c88517fa4e3e5
* close SQLiteStatement objects in finally blockVasu Nori2010-03-221-209/+233
| | | | | | | unclosed SQLiteStatement objects cause finalizer warnings. nix them by closing this object in finally block. Change-Id: Iea86ff169f935bb743aa0c32aa4aeb0cb4fcd4ad
* Close db statement.Ken Shirriff2010-03-111-0/+1
| | | | | | Fix finalizer error bug 2483608 Change-Id: I49c33dc68cd3f24772990a467790ecaa06e13a18
* Dont include code size for apps on sdcard.Suchi Amalapurapu2010-03-101-4/+24
| | | | | | | | | Use constants defined in PackageHelper for user preferences to install auto, internal, external. Set default install location to external. Update settings db version number Change-Id: Ib5110c9377990e20a48cee923e55898dfddfd1e6
* Add VIBRATE_IN_SILENT to the settings database & backup.Daniel Sandler2010-03-101-2/+24
| | | | Change-Id: Id31e24ef0536278ccb66b22bba7ed2b47eb1a371
* SettingsProvider: dup-suppress from cache.Brad Fitzpatrick2010-03-091-1/+22
| | | | | | | | | | | On insert(), check to see if the value is redundant by checking if it's the same value already in our cache (but without faulting it in to check). If so, avoid hitting sqlite or spamming all the notification listeners with such uselessness. This reportedly is happening a fair bit. Change-Id: If58feb3ff1d00027dd927e0900087388cbcd72ae
* SettingsProvider: defensively cap size of settings kept cached in memory.Brad Fitzpatrick2010-03-091-12/+28
| | | | Change-Id: I50289ece2d7f5f50d2ea2efbacac7a0bb1483bf6
* Support unbundled bookmarks.Romain Guy2010-03-091-49/+32
| | | | | | Bug #2460685 Change-Id: I402e342673cd8de88664a595401a141e09583e1d
* Cache hot settings in-memory in the SettingsProvider.Brad Fitzpatrick2010-03-081-11/+111
| | | | | | | | This brings down Settings lookups to 0.5 ms on sholes. (down from ~10.5 ms originally, and ~2.5 ms after the ContentProvider.call() interface) Change-Id: Ibde7c3d21e0b0e5714714a2075f314726edfc19d
* Move lockscreen settings to secure table to prevent tampering. b/2343673Amith Yamasani2010-03-081-31/+53
| | | | Migrate old settings to secure on upgrade.
* Refactor android.backup => android.app.backupChristopher Tate2010-03-053-6/+6
| | | | Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8
* Add "call" method on ContentProvider.Brad Fitzpatrick2010-03-051-0/+42
| | | | | | | | | | | | | This permits implementing interfaces which are faster than using remote Cursors. It then uses it for Settings & SettingProvider, which together account for ~50% of total ContentProvider event loop stalls across Froyo dogfooders. For fetching Settings this looks like it should reduce average Settings lookup from 10 ms to 0.4 ms on Sholes, once the SettingsProvider serves most gets from in-memory cache. Currently it brings the Sholes average down from 10ms to 2.5 ms while still using SQLite queries on each get.
* 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.
* 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.
* New user interface sound effects:Daniel Sandler2010-02-121-1/+47
| | | | | | | | | | | | | | | | - 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
* 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-101-0/+2
| | | | | | | | | | | | 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-081-4/+37
| | | | | | | | | | | | 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>
* 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
* 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.
* 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.
* changed SettingsProvider to manage the androidid itselfFred Quintana2009-12-171-0/+36
|
* Add new setting for notification light pulsing. Bug #2238250Amith Yamasani2009-12-011-1/+21
| | | | New System setting and code to set the defaults on upgrade.
* 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>
* 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
* 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-261-1/+27
|/ | | | 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-211-1/+22
| | | | | | | | | | | | | | | 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