summaryrefslogtreecommitdiffstats
path: root/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
Commit message (Collapse)AuthorAgeFilesLines
* Make it possible to set electron beam animation value via overlayreplicant-4.0Paul Kocialkowski2013-07-131-0/+6
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Disable data usage by defaultPaul Kocialkowski2012-09-301-0/+4
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* implement noise suppression for phone calls (1/2)codeworkx2012-07-051-0/+3
| | | | Change-Id: Ie67f15fd154dd0e64b6f3a007c938bf162e25e77
* Make the volume overlay more functional 1/2StevenHarperUK2012-04-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | This Patch is to add new Volume Overlay Styles * Make the Icon on left touchable to go to Sound Menu * Always show the Phone Ring volume in expanded (for devices that have phone) * Always show the Alarm volume in expanded mode * Put an Option in Sound menu to choose a Style (see 2/2 patch) - Single : as default - Expandable : Enable the more link to expand all choosen volumes - Expanded : Show all volumes - Off : show no overlay * Fix a BUG that when you linked the volumes you got 2 phone icons * Fix a BUG when linked all volumes did not move when using hard buttons * Fix a BUG when you drag when linked, other expanded did not move * Added a default mode so non-telephone devices get Expandable by default Note : When you are using BT in phone call or the phone normally there is an extra expanded volume Change-Id: Ie716e55ba6d4e89a1a67c59b9934d4e088833c5b
* Added support for a fourth audio device - dockStevenHarperUK2012-04-101-0/+2
| | | | | | Adding persistant setting to choose to use usb audio Change-Id: I3860c04c8f14e8e98d79d82a354a92b78565c3d1
* Update VIBRATE_ON to a supported value when upgrading from GB.Amith Yamasani2011-12-121-1/+29
| | | | | | | | | | Bug: 5738552 If value has ringer set to VIBRATE_OFF, we need to update it to the now default, as VIBRATE_OFF is inconsistent with the new UI controls. Make sure notification vibrate setting follows ringer vibrate setting. Change-Id: I6638c8a8729d850e71db10d27a0b50d24dc11f19
* New and improved silent mode on lockscreen.Amith Yamasani2011-12-061-1/+19
| | | | | | | | | 3-state item to toggle between Silent/Vibrate/Ringer in long-press power menu. No volume dialog on lockscreen, unless Power menu is up. Set VIBRATE_IN_SILENT=1 when upgrading device. Change-Id: I097d216f96c4abdbd83420e0c477106951b3607d
* Merge "Adding a system preference whether to speak passwords in ↵Svetoslav Ganov2011-12-061-1/+20
|\ | | | | | | accessibility mode." into ics-mr1
| * Adding a system preference whether to speak passwords in accessibility mode.Svetoslav Ganov2011-12-051-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | By default we do not speak passwords if the user has no headset. However, many users find this too restrictive and would like a way to enable password announcement. While we cannot speak the passwords all the time ,to avoid leaking them, we expose a preference so each user can choose the option that best works for him/her. bug:5712607 Change-Id: I6eb0c40834abe5297f7dc74be02d180a5bef0174
* | Fix issue #5714517: App shortcuts can result in bad task intentsDianne Hackborn2011-12-051-2/+1
|/ | | | | | | | New API to let you build an Intent whose base configuration is correct, but has an additional "selector" to pick out the specific app that you would like launched. Change-Id: Ide9db6dc60e2844b7696cfe09b28337fe7dd63db
* Fix application launch shortcuts.Jeff Brown2011-11-291-38/+45
| | | | | | | | | | | | | | | | | Improved quick launch bookmarks to support category-based shortcuts instead of hardcoding package and class names for all apps. Added a set of Intent categories for typical applications on the platform. Added support for some of the HID application launch usages to reduce reliance on quick launch for special purpose keys. Some keyboard vendors have hardcoded launch keys that synthesize "Search + X" type key combos. The goal is to encourage them to stop doing this by implementing more of HID. Bug: 5674723 Change-Id: I79f1147c65a208efc3f67228c9f0fa5cd050c593
* Don't upgrade some settings from GB to ICS.Amith Yamasani2011-11-161-10/+37
| | | | | | | | | | | Copy the value of AUTO_TIME to AUTO_TIME_ZONE. Don't upgrade screen timeout and auto brightness. Bug: 5607851, 5217460 Also fix the default for vibrate mode. Bug: 5553900 Change-Id: I1b8d5215d55953f2b686e77bf55fd07110a08b8d
* Revert "Add new secure setting for controlling Messaging notifications"Tom Taylor2011-11-101-4/+0
| | | | | | | | | | | | | | | | | | | | | This reverts commit 03da2f00aac04e6565a02cf5a9bf6bb1ec926930. Committer: Tom Taylor <tomtaylor@google.com> On branch revertsetting Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: api/current.txt modified: core/java/android/provider/Settings.java modified: core/java/android/provider/Telephony.java modified: packages/SettingsProvider/res/values/defaults.xml modified: packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java We've decided not to disable messaging notifications with a secure setting. Instead, all the work will be done within the messaging app itself. Change-Id: Icde6894e76da1007b6026c8ec7dc56e488453c06
* Add new secure setting for controlling Messaging notificationsTom Taylor2011-11-071-0/+4
| | | | | | | | | | | | | Bug 5552615 We're adding a new intent to allow 3rd party apps to disable the Messaging app's notification. We want any app to be able to query the setting of whether sms notifications are on or off, but only allow system apps, particularly the Messaging app, to change that setting. Other apps can change the setting by firing off an intent which brings up a dialog activity in the Messaging app that'll let them turn off Messaging notifications. Change-Id: I4d2721191b86010efb383a24c28d911496440657
* Add NFC to airplane modeNick Pelly2011-08-091-1/+20
| | | | | | NFC now observes airplanes mode, and is by default toggleable in airplane mode. Change-Id: I5f19d35422c9eb1cffb0b5e0631b3f3c5eeaedcf
* Don't change system sound defaults for upgrades.Amith Yamasani2011-08-041-8/+0
| | | | | | | | This reverts an earlier change that reset the system sound defaults even for upgrades. Bug: 5114198 Change-Id: Ide0afbd26080ba87d177cedfa9b1d50352857a00
* Volume panel changes.Amith Yamasani2011-08-011-40/+52
| | | | | | | | | | | | Combined volume panel only in tablets. On phones show active volume. Added dummy assets for ring+notification icon. Deprecated the NOTIFICATION_USES_RING_VOLUME. Now they are always tied together. Audio manager changes still required to ensure that. Initialize all feedback sounds to true. Change-Id: I3ad7890c9be9334eedb5f3b709a4b6995fe24638
* Updaing the database versionSvetoslav Ganov2011-07-281-1/+1
| | | | Change-Id: Iff671a152ac8c96d4136f0f268167c1b60842bb5
* Updating the data base upgrade/creation code for the new touch exploraion ↵Svetoslav Ganov2011-07-281-0/+22
| | | | | | | | | | | setting. 1. Update the database creation/upgrade code to take care of the new setting to enable touch exploration. 2. Made the tocuh exploration settings persistent to the cloud. Change-Id: Ie24e9184b4a21869432d11d207cb6464fadbac3b
* Fix issue 5012047: silent mode mutes musicEric Laurent2011-07-191-8/+53
| | | | | | | | Implemented different silent mode behaviors for tablets and phones. The behavior inherited from Honeycomb was for tablets only and was muting music in silent mode. Change-Id: Ib053e7b70ca02190debc87648ab8a163f9d39577
* Animation settings reset to defaultGilles Debunne2011-07-081-12/+34
| | | | Change-Id: Ie53c031ceb88d356742e80693edc14198506d54a
* Settings: Remove unused USE_PTP_INTERFACE settingMike Lockwood2011-06-131-3/+0
| | | | | Change-Id: I743b81379053caece38c19c59bc76d6cda763d45 Signed-off-by: Mike Lockwood <lockwood@android.com>
* am 0da86d4f: am a558fdf1: Merge "Fix default preferred network." into ↵Wink Saville2011-06-091-2/+9
|\ | | | | | | | | | | | | honeycomb-LTE * commit '0da86d4fef70f94a02a504f8500df2833719da6b': Fix default preferred network.
| * Fix default preferred network.Wink Saville2011-06-081-2/+9
| | | | | | | | | | | | | | | | | | | | | | Also, for xoom-cdma-lte devices CdmaLteServiceStateTracker#getOtasp returns OTASP_NOT_NEEDED. Some cleanup. Bug: 4531115 Change-Id: I24b160062eda625ff5c3471399b9e83ae0d2869a
* | resolved conflicts for merge of ca2b552d to masterJeff Brown2011-06-031-0/+3
|\ \ | |/ | | | | Change-Id: I2f3693a59042ac5aa2d7bcdc3a504c78dc99a18b
| * Add a preference panel for mouse speed.Jeff Brown2011-06-021-0/+3
| | | | | | | | | | Bug: 4124987 Change-Id: I3ce175d268a1d043cf5878481261b1049a15a149
* | Increment database version to 65Kenny Root2011-04-201-1/+1
|/ | | | | | | | | | | The onUpgrade path was upgrading the database version to 65, but the current version was marked as 64. That led to the database being upgraded to 65 and then wiped because it didn't match 64. This was introduced in HC change 54d068ec6af0ee6d261a135400efe6816c6f5ffe Bug: 4319406 Change-Id: Ib6efcf34e820948d23d3a2b8ef3afc9012a93c22
* Add system wide management of core settingsSvetoslav Ganov2011-03-021-0/+21
| | | | | | | | | | | | | bug:3505060 Since we want to have some settings that are used very frequently by many applications (long-press timeout is one example) these should be managed efficiently to reduce lookups from different processes because in the case of a cache miss a disk I/O is performed. Now the system manages such core settings and propagates them to the application processes. Change-Id: Ie793211baf8770f2181ac8ba9d7c2609dfaa32a7
* Fix issue 3371080Eric Laurent2011-02-031-3/+26
| | | | | | | | | | | | | | | | | | | | | | Modified default volume control logic in AudioService: 1 IN_CALL volume if in video/audio chat 2 NOTIFICATION if notification is playing or was playing less than 5s ago. 3 MUSIC Modified silent mode: - now also affect MUSIC stream type - entering silent mode when VOL- hard key is pressed once while selected stream volume is already at 0 (except for VOICE_CALL stream). - exiting silent mode when pressing VOL+ hard key while in silent mode Play sound FX (audible selections, keyboard clicks) at a fixed volume. Modified audio framework: - isStreamActive() method now implemented in AudioPolicyManagerBase (previously AudioFlinger) - iStreamActive() now specifies a time window during which the stream is considered active after it actually stopped. Change-Id: I7e5a0724099450b9fc90825224180ac97322785f
* Enable retrieving default download manager settingsPaul Westbrook2011-02-011-0/+14
| | | | | | | | | | | Enable retrieving the default download manager settings from a resource, when the SettingsProvider database is created The default setting for these values is -1, which will cause DownloadManger to not enforce a limit. Bug: 3341145 Change-Id: I25294d0f75fb0bdf20d4bef54457056c25c31add
* Set the default state of NOTIFICATIONS_USE_RING_VOLUME.Amith Yamasani2011-01-201-0/+5
| | | | | | | | | | | | Bug: 3365600 This doesn't affect upgrades, only new installs. Don't backup/restore NOTIFICATIONS_USE_RING_VOLUME anymore as it doesn't work well across device types and can wedge the device into a state where you can never hear notification sounds. Change-Id: I703e1db539eb4ac45b273f46ada0b4bbf3b981bb
* Update default for auto-brightness.Amith Yamasani2011-01-071-13/+22
| | | | | Bug: 3297046 Change-Id: I92e34a85332988bb3faa1e1997ccc85abf4b5dec
* Update screen timeout again.Amith Yamasani2010-11-181-14/+24
| | | | Bug: 3165933
* Adjust default screen timeout.Amith Yamasani2010-11-051-1/+18
| | | | Bug: 3165933
* Rotation lock.Daniel Sandler2010-11-041-1/+18
| | | | | | | | | | | | | | | | | | IWindowManager now supports two new methods, freezeRotation() and thawRotation(), that allow a caller to temporarily stash the device's current rotation as the default rotation (when no other constraints are present). The system bar uses this to implement a user-accessible rotation lock by calling freezeRotation() and then turning off accelerometer-based display rotation; unless overridden by an app, the display will continue to appear in the frozen rotation until the rotation is unlocked by the user (either via the rotation lock icon in the system bar or by checking "rotate screen automatically" in Settings). Bug: 2949639 Change-Id: Icd21c169d1053719590e72401f229424b254622f
* Add an AUTO_TIME_ZONE setting so that we can switch timezones while keeping ↵Amith Yamasani2010-09-221-10/+31
| | | | | | correct time. Have the NITZ provider honor the new setting before updating the time zone.
* Accessibility support for WebViewsSvetoslav Ganov2010-09-131-6/+35
| | | | Change-Id: Ibb139192bae4d60fd53a7872b19c06312bb41558
* am 04bc8070: am 6659284d: Allow Bluetooth radio to be toggled in Airplane mode.Jake Hamby2010-08-311-1/+22
|\ | | | | | | | | | | | | Merge commit '04bc807057d1c336a5d1340595b790eee4c5b372' * commit '04bc807057d1c336a5d1340595b790eee4c5b372': Allow Bluetooth radio to be toggled in Airplane mode.
| * Allow Bluetooth radio to be toggled in Airplane mode.Jake Hamby2010-08-311-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "bluetooth" to the list of toggleable radios. Because this string is in the Settings DB, I had to bump the version number. Why is this in the settings DB anyway, rather than a carrier config option? I also discovered that the SystemUI package copied the entire contents of res/values/defaults.xml from SettingsProvider, when I originally tried to update the unreferenced SystemUI version of the setting. To prevent future confusion, I removed all of the values from the SystemUI version of res/values/defaults.xml. Change-Id: Ib8a75c85b9db5c1963b65538ee2765d5087e67d2
* | Add settings option for running MTP server in PTP mode.Mike Lockwood2010-08-311-0/+3
|/ | | | | | | | This can be used as a compatibility workaround for host operating systems without MTP support. Change-Id: If4f1856206056ca8e40c3ffbfa382f185c413598 Signed-off-by: Mike Lockwood <lockwood@android.com>
* am 1bcb6658: Merge "Fix issue #2834005: Android Settings.Secure bypass" into ↵Dianne Hackborn2010-07-121-0/+19
|\ | | | | | | | | | | | | | | | | froyo Merge commit '1bcb665825dc97789e8c1b892ec4298fd0b8c552' into gingerbread * commit '1bcb665825dc97789e8c1b892ec4298fd0b8c552': Fix issue #2834005: Android Settings.Secure bypass
| * Fix issue #2834005: Android Settings.Secure bypassDianne Hackborn2010-07-121-0/+19
| | | | | | | | Change-Id: Ic4f14e2ff5c2b4f623405d30389863a9e3e82572
* | Fix the notification vibration setting and add a test app that lets you ↵Joe Onorato2010-06-241-1/+1
|/ | | | | | | | | recover from the busted state. Bug: 2767349 Change-Id: Id0c41734e82a1256a49175a2dc6b40f0abaf4f8b
* 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
* 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