Commit Graph

25171 Commits

Author SHA1 Message Date
Anna Galusza
e88a05601c Don't read state twice ("on on"/"off off") in Settings Toggle preferences.
Bug: 26967006

Change-Id: I329aabc577ed8b3dc56fe86d9f7bc8f64461c2a0
2016-02-18 13:29:35 -08:00
Makoto Onuki
4bd2152cbc Merge "[Settings] Don't allow apps on external storage to be active admin" into nyc-dev 2016-02-17 22:48:43 +00:00
Makoto Onuki
9dbad57a84 [Settings] Don't allow apps on external storage to be active admin
Bug 27149287

Change-Id: I7e0905228812fbc326cf4ac4984e7f59003996a8
2016-02-17 14:18:02 -08:00
Kenny Guy
451ff8e916 Merge "Fix inconsistent use of screenlock" into nyc-dev 2016-02-17 21:51:53 +00:00
Tony Mak
6e7cfdda79 Merge "Home default setting should not shown in managed profile settings" into nyc-dev 2016-02-17 21:43:02 +00:00
Kenny Guy
9de8c4625a Fix inconsistent use of screenlock
Change screenlock to screen lock
to be consistent.

Bug: 26635057
Change-Id: I4cb06cd2dcea0499a232ed3f28a7dbbf3598c9e9
2016-02-17 20:49:45 +00:00
Noah Wang
2bf0f59048 Merge "Create messenger preview screen for magnification gesture settings screen" into nyc-dev 2016-02-17 20:20:01 +00:00
Tao Bao
28dfd93b14 Merge "Add a Developer option of "Disable automatic update"." into nyc-dev 2016-02-17 20:06:52 +00:00
Noah Wang
d51affa86a Create messenger preview screen for magnification gesture
settings screen

Change-Id: I4824c370388c4996e233c87005879d4818cfd59e
2016-02-17 12:02:04 -08:00
Tao Bao
45a2c163c3 Add a Developer option of "Disable automatic update".
For devices using A/B update or update-on-boot feature, we need a
Developer option to prevent the system updates from being installed
automatically.

We store the "disabled" status internally to turn on the automatic
update by default. But we show the opposite "enabled" status on screen
based on UX comments.

Bug: 27193001
Change-Id: I36a08a2a08fd1ba0f8f3c4b3ae5a08dc50829cd2
2016-02-17 10:41:24 -08:00
Geoff Mendal
7b54a8154e Import translations. DO NOT MERGE
am: 7efa356849  -s ours

* commit '7efa356849411f4c4562c9c84b4e9f5c68fa9e13':
  Import translations. DO NOT MERGE
2016-02-17 17:35:03 +00:00
Tony Mak
0e19d2420b Home default setting should not shown in managed profile settings
Each default preference needs to have its corresponding
PreferenceAvailabilityProvider to provide us the availability of it.
If no corresponding provider is found, it is considered to be not
available. So it encourages other developers who will add new default app
preference later to consider the availability of it.

Bug:27143673
Change-Id: I073b7122dddc579504f397c5de2bdd4df3826269
2016-02-17 17:08:02 +00:00
Geoff Mendal
a563c75537 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-17 15:39:28 +00:00
Julia Reynolds
810011d251 Merge "Alarm can end time-based rule." into nyc-dev 2016-02-17 15:34:48 +00:00
Geoff Mendal
31149fb65c Import translations. DO NOT MERGE
Change-Id: I82c0f874cb02c345985bab538378d34a0a6b781c
Auto-generated-cl: translation import
2016-02-17 07:33:57 -08:00
Geoff Mendal
7efa356849 Import translations. DO NOT MERGE
Change-Id: I8c51d320dee803b9c72bb5e0737ca44beb40819e
Auto-generated-cl: translation import
2016-02-17 07:15:28 -08:00
Julia Reynolds
97d9100fde Alarm can end time-based rule.
Bug: 21069008
Change-Id: I83527f787b7daaf936029674202a27900550b652
2016-02-17 08:43:31 -05:00
Lorenzo Colitti
6ef09978ad resolve merge conflicts of c408ab3de6 to nyc-dev
Change-Id: I647195694e4c2c8dd886246143ef9f9ac7a79a62
2016-02-17 22:32:33 +09:00
Lorenzo Colitti
c408ab3de6 Hide the legacy DHCP client option, since it no longer works.
This only removes the option from the Developer Settings screen.
Future changes will need to:

- Remove the localized strings.
- Remove the settings constants in SettingsLib.

Bug: 26991160
Change-Id: I1770bb1c206818317845ff5aa340b2a9a76118b5
2016-02-17 22:10:21 +09:00
Mahaver Chopra
4d2186a9b3 Merge "Fixes for fingerprint profile challenge" into nyc-dev 2016-02-17 10:29:45 +00:00
Udam Saini
efc87af3f8 Merge "Fixes autoadvance on find sensor page for fingerprint." into nyc-dev 2016-02-17 01:15:02 +00:00
Nathan Harold
6b9bea9ef4 Update BandMode Names to support full list, fix off-by-one UI error.
am: 575fe1af95

* commit '575fe1af95864819d457c08e169b1af5c269bcfb':
  Update BandMode Names to support full list, fix off-by-one UI error.
2016-02-17 00:51:20 +00:00
Fyodor Kupolov
9317dcac2d Merge "Remove switching from Users menu" into nyc-dev 2016-02-17 00:29:00 +00:00
Nathan Harold
575fe1af95 Update BandMode Names to support full list, fix off-by-one UI error.
-Added support for all the currently defined band modes.
-Fixed an off-by-one error in the UI that prevented single-band
 phones from being able to select a valid band.

Bug: 27145805
Change-Id: If7366294086e28ebb51aa2f4b89c881c38deacc2
2016-02-16 15:25:38 -08:00
Fyodor Kupolov
889bc3de82 Remove switching from Users menu
Bug: 26562786
Change-Id: Id0f26621b8356c3161dee861b0215b01d48007c9
2016-02-16 13:38:34 -08:00
Udam Saini
95d7c970dc Merge "Removes tap continue when done text" into nyc-dev 2016-02-16 21:00:06 +00:00
Udam Saini
9757152d16 Removes tap continue when done text
This text is hidden by the keyboard, and the continue/keyboard done
button seem more intuitive than with this text.

bug:27063940
Change-Id: I1a4dca31fbf1c1cf9c00a68f0bb00df760992cda
2016-02-16 19:42:48 +00:00
Sunny Goyal
7d725461c6 Fixing the sections not getting created the first time
Change-Id: I9b8888d1633eba29e9ec79924d26cff0fce33ead
2016-02-16 17:54:24 +00:00
Mahaver Chopra
a186c8d801 Fixes for fingerprint profile challenge
"Remove all fingerprints?" dialog should only be shown when removing the
last finger print. Fixed.
Changed the Dialog description for the same.

Bug: 26903306
Change-Id: I11b11a9173fa9b09e3fb20bb8a8e7a64594a7d81
2016-02-16 17:27:30 +00:00
Gustav Sennton
4d2e77899f Merge "Fix package-enabled check in Developer Settings." into nyc-dev 2016-02-16 15:18:13 +00:00
Alan Viverette
98f5b2ab66 Merge "Make the screen zoom preview app icon bigger to match Launcher" into nyc-dev 2016-02-15 20:02:00 +00:00
Geoff Mendal
10561c0674 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-15 16:45:09 +00:00
Geoff Mendal
d6da1965a0 Import translations. DO NOT MERGE
Change-Id: I04e3ee5ea3c7c89b94a24ea047077928cc9accb0
Auto-generated-cl: translation import
2016-02-15 07:33:11 -08:00
Geoff Mendal
eb5c74dc48 Import translations. DO NOT MERGE
am: f99586c789  -s ours

* commit 'f99586c789bf2c531721f121b5b08425cc14ded5':
  Import translations. DO NOT MERGE
2016-02-15 15:19:55 +00:00
Geoff Mendal
f99586c789 Import translations. DO NOT MERGE
Change-Id: Ib0959f6786971b40e95c4fa0a23d7bf893ecd5fb
Auto-generated-cl: translation import
2016-02-15 07:15:03 -08:00
Gustav Sennton
80675a1df5 Fix package-enabled check in Developer Settings.
The enabled-state of a package is already being accounted for when
creating an ApplicationInfo from the package manager, so checking it
again in Developer Settings to figure out whether a package is enabled
is unnecessary.

Change-Id: I1b057a28bb33fc2bbc5ea750bfa04a75860ff1d1
2016-02-15 14:42:46 +00:00
Svetoslav
23ce96c229 DO NOT MERGE Modify system settings: incorrect UI state am: 2c02228ad0 am: 5527ac9cf2
am: 59495dd42a  -s ours

* commit '59495dd42a7d613b67af0b579c70b90368e9ce9f':
  DO NOT MERGE Modify system settings: incorrect UI state
2016-02-14 22:50:34 +00:00
Svetoslav
59495dd42a DO NOT MERGE Modify system settings: incorrect UI state am: 2c02228ad0
am: 5527ac9cf2

* commit '5527ac9cf215fb894153bae8c3bb06fb5264d146':
  DO NOT MERGE Modify system settings: incorrect UI state
2016-02-14 22:38:52 +00:00
Svetoslav
5527ac9cf2 DO NOT MERGE Modify system settings: incorrect UI state
am: 2c02228ad0

* commit '2c02228ad0cd7b9d86050647c679843e829819d4':
  DO NOT MERGE Modify system settings: incorrect UI state
2016-02-14 22:28:25 +00:00
Udam Saini
d72e95c366 Fixes autoadvance on find sensor page for fingerprint.
OnStop gets called after an activity behind it on the stack is resumed
when the user pressed the back button on the navigation bar. Because of
this, we need to disable the cancelEnrollment call inside onBackPressed
instead of onStop so that on the find sensor page, the auto next advance
on pressing the fingerprint sensor will still work.

bug:27151472
Change-Id: I1e440f1f7cd91c0711dd31b8bf65a567d4d39f8b
2016-02-12 13:42:18 -08:00
Jason Monk
08331aca4e Fix incorrectly sized app prefs
Bug: 27066871
Change-Id: I0a1a4847532243c27ec5f9d96d8079c417bae91e
2016-02-12 16:31:43 -05:00
Svetoslav
2c02228ad0 DO NOT MERGE Modify system settings: incorrect UI state
The privilege for an app to write to the system settings is protected
by an app-op signature permission. App-op permissions are special: if
the app-op is deny/allow we deny/allow write access; if the app-op is
default holding the permission determies write access. The settings
code assumes that CHANGE_NETWORK_STATE is an app op permission
(system|appop) while it is a normal permission which any app gets by
declaring it used in the manifest.

The side effect is that the state of the toggle in the UI for write
system settings will initially be in the wrong state if the app uses
both WRITE_SETTINGS and CHANGE_NETWORK_STATE. However, the code in
the public API an app uses to check write settings access would return
the opposite since it checks the WRITE_SETTINGS permission and its
app op. Hence, if an app requires write settings to start the user
will see in the settings UI it has access but the app will not have
access, so the app would prompt the user to allow write settings.
The non-obvious fix is for the user to toggle the setting off and on
to get the app op in the right state and be able to launch the app.

bug:25843134

Change-Id: I3d726a66c7f9857bc7dbd5946fdbb8f340c6eb4d
(cherry picked from commit 356fb2d10d)
(cherry picked from commit 119d589ea5)
2016-02-12 20:25:18 +00:00
Alan Viverette
557ce43a37 Make the screen zoom preview app icon bigger to match Launcher
Bug: 27060024
Change-Id: I0eb58facefa8618331b5109f034d6e0134ad32d8
2016-02-11 15:56:53 -08:00
Udam Saini
6b00d3fe40 Merge "Revert "Use SetupWizardPreferenceLayout"" into nyc-dev 2016-02-11 23:32:16 +00:00
Udam Saini
73512ee684 Revert "Use SetupWizardPreferenceLayout"
This reverts commit a95e7c3c09.
This causes a bug where you cannot access fingerprint from settings.

bug:27152471
Change-Id: I4f3078a81b66d44bb6f29ed3afc501e0b56a369e
2016-02-11 23:17:48 +00:00
Makoto Onuki
4ba3cbbe0e Merge "Use DPM.uninstallPackageWithActiveAdmins()" into nyc-dev 2016-02-11 19:42:56 +00:00
shwetachahar
5433496186 Remove 'Higher speech rate' button based on the results of the speech
rate slider a11y UX study.

Also, group speech rate, sample sentence synthesis and default language
status into a single preference category as they all fall under the
general TTS settings category.

Bug: 24527715
Change-Id: If7253e2e8a468393afcb4c24f5a775cb9af79db9
2016-02-11 14:58:09 +00:00
Sudheer Shanka
fd9f4511d6 Merge "Disable clear credential option when disallowed by admin." into nyc-dev 2016-02-11 14:21:05 +00:00
Maurice Lam
0cfda1ad91 Merge "Use SetupWizardPreferenceLayout" into nyc-dev 2016-02-11 01:07:25 +00:00
Udam Saini
02ef5603b3 Merge "Fixes stack overflow on some settings preferences" into nyc-dev 2016-02-11 00:36:13 +00:00