423 Commits

Author SHA1 Message Date
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
Amith Yamasani
622bf2220c Backup and restore ringtone and notification ringtone
Use the new content provider API to canonicalize Uris.
If the provider doesn't support it, don't save the value,
unless it's a silent ringtone.

Bug: 10130785

Change-Id: Id08bb2812b9b2a7036a25801d1997661b0017629
2013-09-10 11:08:24 -07:00
Vinit Deshapnde
1d1319e3e1 Don't restore EAP-TLS networks from backup
Since they need certificates that are not backed up/restored; restoring
them is not that useful.

Bug: 6544151

Change-Id: Ida1a98dc4f01ec1883ce7f76e52f87a27cc814cc
2013-09-06 17:12:41 -07:00
Jeff Sharkey
a53fb42f31 am 775bdbdb: am dc8d7048: Merge changes I7277880e,Ia5584bd6 into klp-dev
* commit '775bdbdb11ad790f45ee66e8fdf8dca3fcba969a':
  Provide calling package to ContentProviders.
  Separate root and document management.
2013-09-06 09:53:04 -07:00
Jeff Sharkey
911d7f411f Provide calling package to ContentProviders.
The calling package is important for ContentProviders that want to
grant Uri permissions as a side effect of operations, so offer it
through a new API.  Validates the provided package against the
calling UID before returning.

Bug: 10626527
Change-Id: I7277880eebbd48444c024bcf5f69199133cd59e4
2013-09-06 08:08:18 -07:00
Christopher Tate
513459da2d am 3fabe12b: am d0688beb: Merge "Sanity check users before committing new Android ID" into klp-dev
* commit '3fabe12bf8a16540af38d1934d6590949c9d1fff':
  Sanity check users before committing new Android ID
2013-09-03 17:53:50 -07:00
Christopher Tate
38e7a60fd7 Sanity check users before committing new Android ID
In creation/deletion cycling we can wind up racing and attempting
to establish the Android ID on first access *after* the user has
already been deleted.  Cope gracefully with this outcome.

Bug 10608503

Change-Id: I169d5052e5a2e354ce0e1f61258e45e31f5ba171
2013-09-03 16:57:34 -07:00
Baligh Uddin
1b0a22285d Import translations. DO NOT MERGE
Change-Id: I47a12de30bcf92829bbfa2a84e42715bb779ceef
Auto-generated-cl: translation import
2013-08-28 23:27:16 -07:00
Baligh Uddin
916b98fa25 Import translations. DO NOT MERGE
Change-Id: Ica46be21e7deb6522a020816f30cd6143c528f32
Auto-generated-cl: translation import
2013-08-26 13:50:59 -07:00
Baligh Uddin
e09b597d86 Import translations. DO NOT MERGE
Change-Id: I63fcb0d1484bc7751e754e93399bcfbe8d8129e9
Auto-generated-cl: translation import
2013-08-21 15:57:17 -07:00
Baligh Uddin
7bf65a77c9 Import translations. DO NOT MERGE
Change-Id: I9a0afdbe82b57c903d2ab7c9ee8a0284a6201aad
Auto-generated-cl: translation import
2013-08-19 11:59:34 -07:00
Wink Saville
1280395539 am 9fe49fc5: am 523db46f: Merge "Set subscription_mode in the database to a default value"
* commit '9fe49fc56ef39facf7b3be5f66256bd15a87961f':
  Set subscription_mode in the database to a default value
2013-08-05 17:23:01 -07:00
Naveen Kalla
b4d485c184 Set subscription_mode in the database to a default value
If ro.telephony.default_cdma_sub is set, use that to set the
default CDMA subscription source in the database. If that is not set
use the default preferred value defined in the source code.

Change-Id: I11fff596a5fe721c64f192c889672326517dc43d
2013-08-01 18:03:42 -07:00
Wink Saville
0bc2fe425d am e2be0651: am f313da5b: am aff0ac4d: Merge "Do not set the network mode differently for LTE+CDMA"
* commit 'e2be065142dc22f1eea033334f6ba4cf16559e56':
  Do not set the network mode differently for LTE+CDMA
2013-07-01 17:01:23 -07:00
Wink Saville
e2be065142 am f313da5b: am aff0ac4d: Merge "Do not set the network mode differently for LTE+CDMA"
* commit 'f313da5bfe1953fef509ba6bab7f654516a71509':
  Do not set the network mode differently for LTE+CDMA
2013-07-01 16:03:38 -07:00
Wink Saville
f313da5bfe am aff0ac4d: Merge "Do not set the network mode differently for LTE+CDMA"
* commit 'aff0ac4d202934dde7765f7418ea2ad38b0c2faa':
  Do not set the network mode differently for LTE+CDMA
2013-07-01 16:00:23 -07:00