438 Commits

Author SHA1 Message Date
Tyler Gunn
2c830a2905 Remove "ask each time" SIP call setting. (1/2)
1. Removed setting from Settings.System class.
2. Added settings database migration step to change "SIP_ASK_ME_EACH_TIME"
to "SIP_ADDRESS_ONLY" as the "ask me each time" option no longer makes
sense given the new phone accounts settings.

Bug: 17321422
Change-Id: I3df1be4fcda44f2097c49af44508ac1fce72a24b
2014-09-02 08:39:35 -07:00
Chris Wren
4775109ec1 Merge "Disable lockscreen notifications for secure users on upgrade." into lmp-dev 2014-08-29 21:25:43 +00:00
Chris Wren
cd8f4f71fc Disable lockscreen notifications for secure users on upgrade.
Add a notification for those users that teaches them how to re-enable
the notifications.

Bug: 15934899
Depends-On: Ie0bcc207c4f331def207e588bbad36b8986fe114
Change-Id: I4a169e268042cfcaa4ad80cdf205904f9c90e76d
2014-08-29 20:49:36 +00:00
Julia Reynolds
b53453fae0 Audio/Micrphone user restriction/multiuser updates.
1. Persist microphone mute state.
2. Set mute state for correct user.
3. Check for settings restrictions as the correct user.

Bug: 17177502
Bug: 16701642
Change-Id: Id8b6cd90c5caceb67fbec862f90aac7ec7a00b3c
2014-08-27 16:25:00 -04:00
Nicolas Prevot
114e8994a8 Marking the Settings ContentProvider as singleUser
There is only one instance of the Settings ContentProvider, running in the user 0.
So it should be marked as singleUser.

BUG: 17133716
Change-Id: I426667ddbc8e682e7ea81f04633c0ad4f42782cb
2014-08-22 12:12:29 +01:00
Jeff Brown
49cb613c99 Reset auto-brightness setting to default.
Reset the auto-brightness setting to default since the behavior
of the feature is now quite different and is being presented to
the user in a new way as "adaptive brightness".

Bug: 17114082
Change-Id: Ica63f4caaaf50ad95dc9df88bb376f79782976f7
2014-08-20 14:45:38 -07:00
Adrian Roos
49e057d7ee Play "device trusted" sound when onTrustInitiatedByUser fires
Bug: 16840500
Change-Id: I73fbe5c2cff665ccb637abb9039d57f377d9df53
2014-08-18 16:53:27 +00:00
Amith Yamasani
4f7e2e334e Copy certain settings to the managed profile
All reads of those specific settings will go to the primary user.
Inserts to primary also go to managed profiles in order to notify
any observers.

This enables Location settings to be shared by both profiles.
Also some other settings related to IME and Accessibility since
those services are shared across the profiles.

Bug: 16457210
Change-Id: Ib8fd697b5c78027fcbaf245d82dda5e6d6aab4f0
2014-08-15 13:42:21 -07:00
Dan Sandler
52e5701eea Move LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.
Bug: 15331132
Change-Id: Ia80ccb2cfdf60116bd50601e60ff131619eafcc5
2014-08-06 18:00:53 +00:00
Narayan Kamath
11bfc2261f Don't assume languages are 2 letter codes.
Also, note that this method never worked. Locale
settings were stored with underscores (like Locale.toString)
but matched against AssetManager.getLocales() which
returned language-tag like output.

bug: 10090157

(cherry picked from commit fd138cd81a689ff46e6ae90e46adcdc53f3c5442)

Change-Id: Ifc81ac902c297387dba8c40aba0656e18af57c86
2014-08-01 13:32:12 +01:00
Baligh Uddin
50af6d7ae6 Remove deprecated locales - DO NOT MERGE
Change-Id: Iac5489639edae2373ed0ce92f7d0fe22629a249a
2014-07-19 13:05:12 -07:00
Julia Reynolds
25838509d8 INSTALL_NON_MARKET_APPS lives in Secure again.
Change-Id: Ib3c7a48b8dc2d649f2f6c8e8cd822ab342634afd
2014-07-10 12:29:40 -04:00
Julia Reynolds
5e458dd6b4 Apply user restrictions to SettingsProvider.
Change-Id: If68c715bc688bf0df63591e0b8f8bf8a2b6dd118
2014-07-07 20:09:23 +00:00
Baligh Uddin
442dbe962e Import translations. DO NOT MERGE
Change-Id: I05f000d23e0e1e8d32c1d00e024c8d67b0a684f8
Auto-generated-cl: translation import
2014-07-06 04:48:17 -07:00
Baligh Uddin
76dc35cfe7 Import translations. DO NOT MERGE
Change-Id: I0744341c6988f5b93105aab2a2a5830983578a65
Auto-generated-cl: translation import
2014-06-30 14:44:21 +00:00
Amith Yamasani
1e9c21871e Guest user first iteration
Setting for controlling if guest is enabled on the device.
Setting to hint to apps that they should skip showing first use clings.

User switcher handles creation and deletion of the guest user.
Some tweaks to the user switcher to show some feedback and make the icons
circular.

Change-Id: I187dc381d2ee7c372ec6d35e14aa9ea4dfbe5936
2014-06-12 12:59:47 -07:00
Jerome Poichet
7fc1e22150 am 576563c3: Merge "Using Manufacturer and not brand for device name" into lmp-preview-dev
* commit '576563c3d37ba58bc94e87aa385d92dc79498003':
  Using Manufacturer and not brand for device name
2014-06-09 19:29:23 +00:00
Jerome Poichet
efc3c465cf Using Manufacturer and not brand for device name
We are aware that there will be some devices out there using brand but
we are OK with this.

b/15478133 Build.MANUFACTURER is all lower case

Change-Id: Iecf8bc8777f21341abfaad1623c9da93ee159520
2014-06-08 21:50:46 -07:00
Baligh Uddin
0d824211e0 Import translations. DO NOT MERGE
Change-Id: I026e16df073c367277f51e312bae370742dcf489
Auto-generated-cl: translation import
2014-06-02 13:01:39 -07:00
Jeff Brown
a20dda4a6e Add support for wake gestures.
Bug: 15137158
Change-Id: I171c3269a7a16a00083e16e1cc4c7c1c2b98c05e
2014-05-29 15:22:40 -07:00
Geoff Mendal
438d2aa536 Import translations. DO NOT MERGE
Change-Id: Id746eaecbdcdaba6d605f9d9f978f0b6a8e0bf29
Auto-generated-cl: translation import
2014-05-28 12:36:22 -07:00
Baligh Uddin
8ec660963d Import translations. DO NOT MERGE
Change-Id: I9e5f01bda3f3438293233f11f88a4ee36c262682
Auto-generated-cl: translation import
2014-05-26 14:39:11 -07:00
Baligh Uddin
8c21a372b5 Import translations. DO NOT MERGE
Change-Id: Iefca96a5edab44bb985c635377a80711c2f168da
Auto-generated-cl: translation import
2014-05-20 11:38:34 -07:00
Christopher Tate
aa036a2db0 Move the non-market install setting from Global to per-user Secure
Bug 13760585

Change-Id: I45b0fa87e72dc5c18d687261fb95cbea5d06163a
2014-05-19 18:08:30 -07:00
Jerome Poichet
147b4d75e1 Adding device name
A new global settings to name a device. This will centralize the notion
of device name/nickname and should be used by Cast, Bluetooth, TV Remote and other
advertising applications/services.

Change-Id: I2294deb5c0d1002fb2fc158f62a2d5643d90d749
2014-05-13 12:06:52 -07:00
Chris Wren
5242cf3b38 set the sysui settings on create, as well as on update.
also update the database to catch any v100 devices that missed the settings due to this bug.

Bug: 13547456
Change-Id: Ib7ad18541f359efb328d3d59c526514c5a6303b9
2014-03-19 16:18:27 -04:00
Chris Wren
1cdd7dda61 enable heads up notifications
Bug: 13208692
Change-Id: I3682ecb30c6997c578b76a578b79a8d13a6e6323
2014-03-03 10:15:53 -05:00
Dan Sandler
82a6c5c5ff Default Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS=1.
Change-Id: I849d4def1dcf220c226349f1591a8ba00b603854
2014-02-24 01:28:44 +00:00
Evan Charlton
33da8dde5f Merge "Allow for a configurable WiFi restore bounce delay" 2014-01-29 14:58:29 +00:00
Christopher Tate
91beb94c65 resolved conflicts for merge of a5bb65aa to master
Change-Id: Ib286d5194f68c55cfd2e5c17a5eb89ea32add574
2014-01-22 19:02:04 -08:00
Evan Charlton
cc7b04353f Allow for a configurable WiFi restore bounce delay
Allow the post-restore WiFi bounce delay to be configured (for
example, allow it to be set to zero).

Bug: 9621727

Change-Id: I0b388aadbe3b45eeb4aa00bbe0e6d86f21731449
2014-01-15 07:49:51 -08:00
Oskar Grönqvist
2c4254e476 Set Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE default value
To be able to customize the "WiFi scan always available"
setting we need to set a default value.

Change-Id: I3673f2613ab9b6a947aed7e29d4cc876140c2180
2014-01-14 17:57:21 +09:00
Mike Lockwood
c02c4a7c5b SettingsProvider: Allow disabling immersive mode confirmation for specific packages
Change-Id: I2fac06cbe3321d7384278d875c91128bcc15d629
2014-01-08 10:48:03 -08:00
Baligh Uddin
38bae539f8 Remove deprecated locales
Bug:11340849
Change-Id: Ib99486303927a6bce308b113d70f8e5b5bce4a13
2013-12-09 22:41:12 +00:00
John Spurlock
6090995951 Remove unused imports from frameworks/base.
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
2013-11-20 11:31:47 -05:00
Amith Yamasani
7731de8377 am 6236cfdf: am d0383e37: am 4d0f0692: Merge "Switch settings provider to use the new Settings icon" into klp-dev
* commit '6236cfdf13d86840945f29ec4e7e38642b34eb11':
  Switch settings provider to use the new Settings icon
2013-10-15 04:02:58 -07:00
Christopher Tate
741f01a612 am 6b013b75: am 5c742333: am b83bba7c: Merge "Log noisily on uid vs user-handle confusion in the settings provider" into klp-dev
* commit '6b013b753c40a8d998027b4244883e99be42a3be':
  Log noisily on uid vs user-handle confusion in the settings provider
2013-10-15 04:01:45 -07:00
Amith Yamasani
6236cfdf13 am d0383e37: am 4d0f0692: Merge "Switch settings provider to use the new Settings icon" into klp-dev
* commit 'd0383e37bdd7fe909ee4dc0477c73a7342aa7e4e':
  Switch settings provider to use the new Settings icon
2013-10-14 19:01:42 -07:00
Christopher Tate
6b013b753c am 5c742333: am b83bba7c: Merge "Log noisily on uid vs user-handle confusion in the settings provider" into klp-dev
* commit '5c74233315fd3b4ff9710624996b2312bbbaca5e':
  Log noisily on uid vs user-handle confusion in the settings provider
2013-10-14 19:00:03 -07:00
Amith Yamasani
8292342e66 Switch settings provider to use the new Settings icon
Bug: 11193955
Change-Id: I2e32d31fc8789a950cb54ab6176b8360fc5d9ae5
2013-10-14 15:24:31 -07:00
Christopher Tate
0da1357f98 Log noisily on uid vs user-handle confusion in the settings provider
Make sure that we catch any attempts to pass a uid to the settings
provider's "for this user" code paths.

Bug 11087584
Bug 11208808

Change-Id: I1cc025b2aade9072b4a61b4499d02c82b0085fa2
2013-10-13 18:36:08 -07:00
Daniel Sandler
32bc10303c am 4be3db70: am f3a56199: am 40bacdf4: Merge "Don\'t wake users up with low battery sounds." into klp-dev
* commit '4be3db7018154406ab74e029482a7d82dbcd3a5a':
  Don't wake users up with low battery sounds.
2013-10-08 16:02:16 -07:00
Daniel Sandler
4be3db7018 am f3a56199: am 40bacdf4: Merge "Don\'t wake users up with low battery sounds." into klp-dev
* commit 'f3a56199a526bb21f4196e35a355d8476e4604ce':
  Don't wake users up with low battery sounds.
2013-10-08 13:07:53 -07:00
Daniel Sandler
dea6462aab Don't wake users up with low battery sounds.
Battery sounds will always play when the screen is on, and
then for Settings.Global.LOW_BATTERY_SOUND_TIMEOUT
milliseconds after the screen goes off. After that, low
battery alerts will be pushed out the airlock until the
screen comes back on again.

If battery sounds are suppressed via this mechanism you'll
see a log line like:

	V/PowerUI ( 3161): screen off too long (5779ms, limit
	5000ms): not waking up the user with low battery sound

The default value of LOW_BATTERY_SOUND_TIMEOUT is a settings
provider resource: R.integer.def_low_battery_sound_timeout.

Bug: 10487557
Change-Id: Iddd42038aa630631dc8f1833f20fcc5a0c646681
2013-10-08 17:37:06 +00:00
Baligh Uddin
1c8b3fa018 Import translations. DO NOT MERGE
Change-Id: I12383ccb553cbace814156dafc8aad62a007f2c0
Auto-generated-cl: translation import
2013-09-14 21:08:26 -07:00
Vinit Deshapnde
b20642b999 am 2f2184b7: am 074dc2eb: Merge "Don\'t restore EAP-TLS networks from backup" into klp-dev
* commit '2f2184b755f995dcf661c383b520e4a36f8a432d':
  Don't restore EAP-TLS networks from backup
2013-09-12 10:59:42 -07:00
Vinit Deshapnde
074dc2eb2d Merge "Don't restore EAP-TLS networks from backup" into klp-dev 2013-09-12 17:53:39 +00:00
Amith Yamasani
b5dec6a606 am dd9157ce: am b926d484: Merge "Handle the case where the restore environment doesn\'t have the ringtone" into klp-dev
* commit 'dd9157ce314f3b8d20f6b65a6f9dbf00acbe7ea1':
  Handle the case where the restore environment doesn't have the ringtone
2013-09-11 17:22:35 -07:00
Amith Yamasani
2e804444d6 Handle the case where the restore environment doesn't have the ringtone
Bug: 10130785

uncanonicalize() can return a null now, so abort restoring the ringtone
in that case.

Change-Id: I28765818c8d3e1fb3f271afdfe66ebc955cfcefe
2013-09-11 11:11:19 -07:00
Amith Yamasani
41be933285 am 485d9afe: am a0a47c73: Merge "Backup and restore ringtone and notification ringtone" into klp-dev
* commit '485d9afe60c2e42ccccd95d7934c24c5c8b2c995':
  Backup and restore ringtone and notification ringtone
2013-09-10 17:08:45 -07:00