Commit Graph

25490 Commits

Author SHA1 Message Date
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
4284c830ea Merge "Removes tap continue when done text" into nyc-dev
am: 95d7c970dc

* commit '95d7c970dc80304f84545ba4614d75b8e64c7744':
  Removes tap continue when done text
2016-02-16 21:06:22 +00: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
120a8eaea1 Fixing the sections not getting created the first time
am: 7d725461c6

* commit '7d725461c60cf0cd36e7e0a1e999fa3c84f12419':
  Fixing the sections not getting created the first time
2016-02-16 18:32:01 +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
23d28505d9 Merge "Fix package-enabled check in Developer Settings." into nyc-dev
am: 4d2e77899f

* commit '4d2e77899fe50ae7efc55228633e7c56c330f03a':
  Fix package-enabled check in Developer Settings.
2016-02-16 15:27:34 +00:00
Gustav Sennton
4d2e77899f Merge "Fix package-enabled check in Developer Settings." into nyc-dev 2016-02-16 15:18:13 +00:00
Sudheer Shanka
9e9e63b7b3 Part3 - Don't add padlock if the restriction is not set by admin.
Bug: 26687435
Change-Id: Ibfea6d7d5bd32e7a05dcc2cc32b121c9e50b6a34
2016-02-16 11:04:11 +00:00
Alan Viverette
c64d333316 Merge "Make the screen zoom preview app icon bigger to match Launcher" into nyc-dev
am: 98f5b2ab66

* commit '98f5b2ab66313f82dde2a6eebb2bee2c5b8c5134':
  Make the screen zoom preview app icon bigger to match Launcher
2016-02-15 20:07:19 +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
1fee9029eb Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 10561c0674  -s ours

* commit '10561c06740255534077bcb7afe281a3cc8ab13b':
  Import translations. DO NOT MERGE
2016-02-15 16:50:41 +00:00
Geoff Mendal
10561c0674 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-15 16:45:09 +00:00
Gustav Sennton
0851ede886 Don't show disabled packages in the WebView implementation Dev setting.
You can't choose to use a disabled WebView package as WebView
implementation (this ensures that without interference from the user the
system will always try choose a package which will eventually become
updated, rather than a package that does not receive updates) and there
are cases where a package cannot/should not be enabled (to save e.g.
bandwidth).
Therefore, with this change we no longer show disabled WebView packages
as potential WebView implementations in the WebView implementation
Developer setting.

Bug: 27188851

Change-Id: I19a9b16118703d8a54d8215c186fc99ffefc4b6d
2016-02-15 15:38:36 +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
5b82f632d6 Import translations. DO NOT MERGE am: f99586c789 -s ours
am: eb5c74dc48  -s ours

* commit 'eb5c74dc4802a405ba90648433a4509b711e923a':
  Import translations. DO NOT MERGE
2016-02-15 15:28:43 +00: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
64d4b94b45 DO NOT MERGE Modify system settings: incorrect UI state am: 2c02228ad0 am: 5527ac9cf2 am: 59495dd42a -s ours
am: 23ce96c229

* commit '23ce96c2298d51c6dfe86c341562c23f3f5e1436':
  DO NOT MERGE Modify system settings: incorrect UI state
2016-02-14 22:54:44 +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
shwetachahar
bc170fd680 Add a reset speech rate button to Text-to-Speech settings UI
which resets the speech rate to 1x.
Bug Id: 27166001

Change-Id: Ie5b923e51de645e23ef0ba5d756c271070f11984
2016-02-12 22:44:52 +00:00
Jason Monk
48ee5e20c5 Fix incorrectly sized app prefs
am: 08331aca4e

* commit '08331aca4e5b994ed26ca12bfceaa1282551359c':
  Fix incorrectly sized app prefs
2016-02-12 21:46:15 +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
33a593f325 Merge "Revert "Use SetupWizardPreferenceLayout"" into nyc-dev
am: 6b00d3fe40

* commit '6b00d3fe40b250956724c49302cf2dba4ef4ad05':
  Revert "Use SetupWizardPreferenceLayout"
2016-02-11 23:35:43 +00: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
3b0ee3ee3c Merge "Use DPM.uninstallPackageWithActiveAdmins()" into nyc-dev
am: 4ba3cbbe0e

* commit '4ba3cbbe0ecdb76dc7c06be65b34f506918d3b75':
  Use DPM.uninstallPackageWithActiveAdmins()
2016-02-11 19:56:48 +00:00
Makoto Onuki
4ba3cbbe0e Merge "Use DPM.uninstallPackageWithActiveAdmins()" into nyc-dev 2016-02-11 19:42:56 +00:00
shwetachahar
20975797b7 Remove \'Higher speech rate\' button based on the results of the speech rate slider a11y UX study.
am: 5433496186

* commit '5433496186856aa16a8092801a073e4971a97536':
  Remove 'Higher speech rate' button based on the results of the speech rate slider a11y UX study.
2016-02-11 17:21:30 +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
77e360d098 Merge "Disable clear credential option when disallowed by admin." into nyc-dev
am: fd9f4511d6

* commit 'fd9f4511d6b57e234b818df07ec8ab54632189b0':
  Disable clear credential option when disallowed by admin.
2016-02-11 14:23:45 +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
e56db2bc76 Merge "Use SetupWizardPreferenceLayout" into nyc-dev
am: 0cfda1ad91

* commit '0cfda1ad9187df570d1cae843fb0c7a49bfdef69':
  Use SetupWizardPreferenceLayout
2016-02-11 01:28:16 +00:00
Maurice Lam
0cfda1ad91 Merge "Use SetupWizardPreferenceLayout" into nyc-dev 2016-02-11 01:07:25 +00:00
Udam Saini
3e2a6c705a Merge "Fixes stack overflow on some settings preferences" into nyc-dev
am: 02ef5603b3

* commit '02ef5603b311e82ce3d849959c26b77723294eb5':
  Fixes stack overflow on some settings preferences
2016-02-11 00:40:12 +00:00
Udam Saini
02ef5603b3 Merge "Fixes stack overflow on some settings preferences" into nyc-dev 2016-02-11 00:36:13 +00:00
Udam Saini
6a8b99dabe Fixes stack overflow on some settings preferences
bug:27130222
Change-Id: If273720591ca9a4d10143b36b63eb839e4fa0a4a
2016-02-10 16:35:15 -08:00
Maurice Lam
a95e7c3c09 Use SetupWizardPreferenceLayout
Update SetupChooseLockGeneric to use SetupWizardPreferenceLayout,
which is a layout designed to be used with Preference v14.

Change-Id: I31f372b5f70382a9f6502c790cb8981277a8d5e1
2016-02-11 00:25:07 +00:00
Makoto Onuki
a31c72511a Use DPM.uninstallPackageWithActiveAdmins()
... so that uninstall won't fail even if the package has
other active admins.

It's pretty much an edge case, so we don't show the
deactivation confirmation in this case.

Bug 27107878

Change-Id: I7e8b0843ac6e39e3db3bfc643eed6940e8577417
2016-02-10 16:23:43 -08:00