OSDN Git Service

android-x86/packages-apps-Settings.git
8 years agoMoves the encryption interstitial to use the list layout
Udam Saini [Wed, 17 Feb 2016 01:54:13 +0000 (17:54 -0800)]
Moves the encryption interstitial to use the list layout

bug:27206957
Change-Id: Ib577440a2696539f44021bb4ba0100e9f1699c6c

8 years agoWifiConfigController: set ca_path and ca_cert to null if unused
Samuel Tan [Sat, 20 Feb 2016 00:12:03 +0000 (00:12 +0000)]
WifiConfigController: set ca_path and ca_cert to null if unused
am: d147f0090c

* commit 'd147f0090ce28e1ad70f7a9b582dec91161139e8':
  WifiConfigController: set ca_path and ca_cert to null if unused

8 years agoMerge "Revert "Revert "Use SetupWizardPreferenceLayout""" into nyc-dev
Maurice Lam [Fri, 19 Feb 2016 22:03:41 +0000 (22:03 +0000)]
Merge "Revert "Revert "Use SetupWizardPreferenceLayout""" into nyc-dev

8 years agoMerge "Rename storage and usb to just storage" into nyc-dev
Jason Monk [Fri, 19 Feb 2016 21:26:00 +0000 (21:26 +0000)]
Merge "Rename storage and usb to just storage" into nyc-dev

8 years agoRename storage and usb to just storage
Jason Monk [Fri, 19 Feb 2016 20:32:33 +0000 (15:32 -0500)]
Rename storage and usb to just storage

Bug: 23840185
Change-Id: If0ea6be5a43b8aea1b49c46f3f95a92bef05aaf7

8 years agoAdd disabled by policy empty views to more screens.
Sudheer Shanka [Tue, 16 Feb 2016 14:19:32 +0000 (14:19 +0000)]
Add disabled by policy empty views to more screens.

Bug: 27214401
Change-Id: I6cd4292a63610671070bf2134105e9e348c3ab32

8 years agoMerge "Part3 - Don't add padlock if the restriction is not set by admin." into nyc-dev
Sudheer Shanka [Fri, 19 Feb 2016 19:31:44 +0000 (19:31 +0000)]
Merge "Part3 - Don't add padlock if the restriction is not set by admin." into nyc-dev

8 years agoMerge "Part2 - Don't add padlock if the restriction is not set by admin." into nyc-dev
Sudheer Shanka [Fri, 19 Feb 2016 19:31:44 +0000 (19:31 +0000)]
Merge "Part2 - Don't add padlock if the restriction is not set by admin." into nyc-dev

8 years agoPart2 - Don't add padlock if the restriction is not set by admin.
Sudheer Shanka [Thu, 11 Feb 2016 17:17:21 +0000 (17:17 +0000)]
Part2 - Don't add padlock if the restriction is not set by admin.

Bug: 26687435
Change-Id: I85ef42e1ff1216791d1393a975e8559191b3781f

8 years agoMerge "Delete Notification Topics." into nyc-dev
Julia Reynolds [Fri, 19 Feb 2016 19:17:23 +0000 (19:17 +0000)]
Merge "Delete Notification Topics." into nyc-dev

8 years agoMerge "Update ShowAdminSupportDetailsDialog launchmode to singleTop." into nyc-dev
Sudheer Shanka [Fri, 19 Feb 2016 18:57:20 +0000 (18:57 +0000)]
Merge "Update ShowAdminSupportDetailsDialog launchmode to singleTop." into nyc-dev

8 years agoWifiConfigController: set ca_path and ca_cert to null if unused
Samuel Tan [Thu, 18 Feb 2016 22:56:10 +0000 (14:56 -0800)]
WifiConfigController: set ca_path and ca_cert to null if unused

The WPA supplicant ca_cert and ca_path directives should not
both be non-null, since our EAP settings logic only allows one
or the other to be used.

Modify logic in getConfig() to explicitly set ca_path or ca_cert
to null if it is not used. This explicit null value is necessary
to override a previously non-null value saved in an existing
configuration.

Also, always set the domain_suffix_match directive, which
will lead to this directive to be reset when the Domain
field is hidden.

BUG: 27194668
TEST: 1) Install custom ca certificate onto device as "testcert"
TEST: 2) Configure an EAP-TLS network with CA certificate
         "testcert", Domain "testdomain",
         User certificate "Do not provide", identity empty, and save.
TEST: 3) Read network variables in data/misc/wifi/wpa_supplicant.conf
         and ensure that ca_cert is "testcert", ca_path is not
         present, and domain_suffix_match is "testdomain".
TEST: 4) Modify that same EAP-TLS network configured in step 2 with
         CA certificate "Use system certificates", Domain "testdomain",
         User certificate "Do not provide", identity empty, and save.
TEST: 5) Read network variables in data/misc/wifi/wpa_supplicant.eonf
         and ensure that ca_cert is "keystore://CACERT_testcert",
         ca_path is not present, and domain_suffix_match is
         "testdomain".
TEST: 6) Modify that same EAP-TLS network configured in step 2 to be
         an EAP-PWD network. Leave Identity and Password blank, and
         save.
TEST: 7) Read network variables in data/misc/wifi/wpa_supplicant.eonf
         and ensure that ca_cert, ca_path, and domain_suffix_match are
         not present.

Change-Id: I547f3e359bc8e9b77e51e10e60356b857230636f

8 years agoMerge "Update strings related to policy transparency." into nyc-dev
Sudheer Shanka [Fri, 19 Feb 2016 16:33:30 +0000 (16:33 +0000)]
Merge "Update strings related to policy transparency." into nyc-dev

8 years agoUpdate ShowAdminSupportDetailsDialog launchmode to singleTop.
Sudheer Shanka [Thu, 18 Feb 2016 17:48:01 +0000 (17:48 +0000)]
Update ShowAdminSupportDetailsDialog launchmode to singleTop.

Bug: 26977320
Change-Id: I8d89ba9243c807657fb4b2b8c93e75aab53d907e

8 years agoMerge "add developer setting for multiprocess webview" into nyc-dev
Toby Sargeant [Fri, 19 Feb 2016 09:14:55 +0000 (09:14 +0000)]
Merge "add developer setting for multiprocess webview" into nyc-dev

8 years agoMerge "Don't read state twice ("on on"/"off off") in Settings Toggle preferences...
Anna Galusza [Thu, 18 Feb 2016 23:45:17 +0000 (23:45 +0000)]
Merge "Don't read state twice ("on on"/"off off") in Settings Toggle preferences. Bug: 26967006" into nyc-dev

8 years agoMerge "Prevent Magnification video from being paused by the user and automatically...
Anna Galusza [Thu, 18 Feb 2016 23:45:00 +0000 (23:45 +0000)]
Merge "Prevent Magnification video from being paused by the user and automatically pause the video on onPause and resume in onResume. b/26984643 b/26705583" into nyc-dev

8 years agoTrack IWallpaperManager interface changes
Christopher Tate [Thu, 11 Feb 2016 03:38:29 +0000 (19:38 -0800)]
Track IWallpaperManager interface changes

Bug 25454162

Change-Id: I7ae64730ff485027462e3e96d32f7190f2d07dc8

8 years agoMerge "Avoid division by zero in storage." into nyc-dev
Jeff Sharkey [Thu, 18 Feb 2016 22:45:07 +0000 (22:45 +0000)]
Merge "Avoid division by zero in storage." into nyc-dev

8 years agoAvoid division by zero in storage.
Jeff Sharkey [Thu, 18 Feb 2016 22:43:54 +0000 (15:43 -0700)]
Avoid division by zero in storage.

Bug: 26387833
Change-Id: I144475d4b82d91dcfd2271cd775e43d595914cef

8 years agoPrevent Magnification video from being paused by the user and automatically
Anna Galusza [Wed, 17 Feb 2016 23:18:15 +0000 (15:18 -0800)]
Prevent Magnification video from being paused by the user and automatically
pause the video on onPause and resume in onResume.
b/26984643
b/26705583

Change-Id: I7b805cf001ba3097fec4e7bd178588c3b23b455f

8 years agoDon't read state twice ("on on"/"off off") in Settings Toggle preferences.
Anna Galusza [Thu, 18 Feb 2016 21:26:29 +0000 (13:26 -0800)]
Don't read state twice ("on on"/"off off") in Settings Toggle preferences.
Bug: 26967006

Change-Id: I329aabc577ed8b3dc56fe86d9f7bc8f64461c2a0

8 years agoRound display scaling densities down to the nearest 2 DPI
Alan Viverette [Thu, 18 Feb 2016 20:56:25 +0000 (15:56 -0500)]
Round display scaling densities down to the nearest 2 DPI

This will prevent scaling artifacts due to odd densities. We will not
make any adjustments to the "normal" density, which will preserve
tvdpi or whatever the device manufacturer needed to use.

Rounding the density down is always safe, since it will not push us
below our 320dp lower bound on minimum effective screen dimension.

Bug: 27225670
Change-Id: Ib084bb3d4fc70a59106ac74df5394c21e9f8c7bd

8 years agoMerge "Show emergency info preference for all users" into nyc-dev
Maria Garcia Puyol [Thu, 18 Feb 2016 19:19:04 +0000 (19:19 +0000)]
Merge "Show emergency info preference for all users" into nyc-dev

8 years agoMerge "Make battery settings use new battery graph." into nyc-dev
Jason Monk [Thu, 18 Feb 2016 19:14:13 +0000 (19:14 +0000)]
Merge "Make battery settings use new battery graph." into nyc-dev

8 years agoMake battery settings use new battery graph.
Jason Monk [Wed, 17 Feb 2016 13:53:10 +0000 (08:53 -0500)]
Make battery settings use new battery graph.

Change-Id: I633a8750f9668c6315cd42866297ac3460375c22

8 years agoMerge "Fix date and time and apn editing" into nyc-dev
Jason Monk [Thu, 18 Feb 2016 19:11:43 +0000 (19:11 +0000)]
Merge "Fix date and time and apn editing" into nyc-dev

8 years agoShow emergency info preference for all users
mariagpuyol [Thu, 18 Feb 2016 03:23:24 +0000 (19:23 -0800)]
Show emergency info preference for all users

Change-Id: I8bfcedb8a15c9ca0194f5f526dd288857c19a1de

8 years agoMerge "Add Screen Zoom preview screen with settings page, launch Talkback tutorial...
Anna Galusza [Thu, 18 Feb 2016 17:53:33 +0000 (17:53 +0000)]
Merge "Add Screen Zoom preview screen with settings page, launch Talkback tutorial whenever the Talkback setting in SUW is pressed, and remove check for parent Activity from SettingsPreferenceFragment. Bug: 26734639" into nyc-dev

8 years agoMerge "Call reportFailedPasswordAttempt from Work Challenge" into nyc-dev
Clara Bayarri [Thu, 18 Feb 2016 11:16:26 +0000 (11:16 +0000)]
Merge "Call reportFailedPasswordAttempt from Work Challenge" into nyc-dev

8 years agoAdd Screen Zoom preview screen with settings page, launch Talkback tutorial
Anna Galusza [Wed, 3 Feb 2016 23:51:12 +0000 (15:51 -0800)]
Add Screen Zoom preview screen with settings page, launch Talkback tutorial
whenever the Talkback setting in SUW is pressed, and remove check for parent
Activity from SettingsPreferenceFragment.
Bug: 26734639

Change-Id: I5671735437844ac54ea68322838d9b6b5c81957f

8 years agoMerge "Add a reset speech rate button to Text-to-Speech settings UI which resets...
Shweta Chahar [Thu, 18 Feb 2016 00:15:50 +0000 (00:15 +0000)]
Merge "Add a reset speech rate button to Text-to-Speech settings UI which resets the speech rate to 1x. Bug Id: 27166001" into nyc-dev

8 years agoMerge "[Settings] Don't allow apps on external storage to be active admin" into nyc-dev
Makoto Onuki [Wed, 17 Feb 2016 22:48:42 +0000 (22:48 +0000)]
Merge "[Settings] Don't allow apps on external storage to be active admin" into nyc-dev

8 years agoFix date and time and apn editing
Jason Monk [Wed, 17 Feb 2016 22:27:23 +0000 (17:27 -0500)]
Fix date and time and apn editing

Bug: 27219773
Bug: 25822074
Change-Id: Iec5d56846bf5d3a875180e8907529518949a0d7e

8 years ago[Settings] Don't allow apps on external storage to be active admin
Makoto Onuki [Wed, 17 Feb 2016 19:15:04 +0000 (11:15 -0800)]
[Settings] Don't allow apps on external storage to be active admin

Bug 27149287

Change-Id: I7e0905228812fbc326cf4ac4984e7f59003996a8

8 years agoMerge "Fix inconsistent use of screenlock" into nyc-dev
Kenny Guy [Wed, 17 Feb 2016 21:51:53 +0000 (21:51 +0000)]
Merge "Fix inconsistent use of screenlock" into nyc-dev

8 years agoMerge "Home default setting should not shown in managed profile settings" into nyc-dev
Tony Mak [Wed, 17 Feb 2016 21:43:02 +0000 (21:43 +0000)]
Merge "Home default setting should not shown in managed profile settings" into nyc-dev

8 years agoadd developer setting for multiprocess webview
Tobias Sargeant [Thu, 11 Feb 2016 14:52:38 +0000 (14:52 +0000)]
add developer setting for multiprocess webview

Change-Id: I9cd547ad4168b56b8b5c9eab9e2407daea74a30e

8 years agoFix inconsistent use of screenlock
Kenny Guy [Wed, 17 Feb 2016 20:49:45 +0000 (20:49 +0000)]
Fix inconsistent use of screenlock

Change screenlock to screen lock
to be consistent.

Bug: 26635057
Change-Id: I4cb06cd2dcea0499a232ed3f28a7dbbf3598c9e9

8 years agoMerge "Create messenger preview screen for magnification gesture settings screen...
Noah Wang [Wed, 17 Feb 2016 20:20:01 +0000 (20:20 +0000)]
Merge "Create messenger preview screen for magnification gesture settings screen" into nyc-dev

8 years agoDelete Notification Topics.
Julia Reynolds [Fri, 12 Feb 2016 14:17:37 +0000 (09:17 -0500)]
Delete Notification Topics.

Bug: 23220370
Change-Id: I072b68650af35ae3d5c5ccf6222dc31f5f36f9bb

8 years agoUpdate strings related to policy transparency.
Sudheer Shanka [Wed, 17 Feb 2016 18:06:52 +0000 (18:06 +0000)]
Update strings related to policy transparency.

Bug: 25603665
Change-Id: I1eb46979fbb1e1562a165a9879ac0106ff689bd3

8 years agoMerge "Add a Developer option of "Disable automatic update"." into nyc-dev
Tao Bao [Wed, 17 Feb 2016 20:06:51 +0000 (20:06 +0000)]
Merge "Add a Developer option of "Disable automatic update"." into nyc-dev

8 years agoCreate messenger preview screen for magnification gesture
Noah Wang [Fri, 5 Feb 2016 03:11:33 +0000 (19:11 -0800)]
Create messenger preview screen for magnification gesture
settings screen

Change-Id: I4824c370388c4996e233c87005879d4818cfd59e

8 years agoAdd a Developer option of "Disable automatic update".
Tao Bao [Tue, 16 Feb 2016 04:03:22 +0000 (20:03 -0800)]
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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 17 Feb 2016 17:35:03 +0000 (17:35 +0000)]
Import translations. DO NOT MERGE
am: 7efa356849  -s ours

* commit '7efa356849411f4c4562c9c84b4e9f5c68fa9e13':
  Import translations. DO NOT MERGE

8 years agoHome default setting should not shown in managed profile settings
Tony Mak [Wed, 17 Feb 2016 17:08:02 +0000 (17:08 +0000)]
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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 17 Feb 2016 15:39:28 +0000 (15:39 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Alarm can end time-based rule." into nyc-dev
Julia Reynolds [Wed, 17 Feb 2016 15:34:48 +0000 (15:34 +0000)]
Merge "Alarm can end time-based rule." into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 17 Feb 2016 15:33:57 +0000 (07:33 -0800)]
Import translations. DO NOT MERGE

Change-Id: I82c0f874cb02c345985bab538378d34a0a6b781c
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 17 Feb 2016 15:15:28 +0000 (07:15 -0800)]
Import translations. DO NOT MERGE

Change-Id: I8c51d320dee803b9c72bb5e0737ca44beb40819e
Auto-generated-cl: translation import

8 years agoAlarm can end time-based rule.
Julia Reynolds [Thu, 11 Feb 2016 18:58:48 +0000 (13:58 -0500)]
Alarm can end time-based rule.

Bug: 21069008
Change-Id: I83527f787b7daaf936029674202a27900550b652

8 years agoresolve merge conflicts of c408ab3de6 to nyc-dev
Lorenzo Colitti [Wed, 17 Feb 2016 13:27:56 +0000 (22:27 +0900)]
resolve merge conflicts of c408ab3de6 to nyc-dev

Change-Id: I647195694e4c2c8dd886246143ef9f9ac7a79a62

8 years agoHide the legacy DHCP client option, since it no longer works.
Lorenzo Colitti [Wed, 17 Feb 2016 13:06:10 +0000 (22:06 +0900)]
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

8 years agoCall reportFailedPasswordAttempt from Work Challenge
Clara Bayarri [Thu, 28 Jan 2016 17:50:53 +0000 (17:50 +0000)]
Call reportFailedPasswordAttempt from Work Challenge

Entering the wrong credential in ConfirmDeviceCredentials should
also count as failed attempts for the password, after which the
DPC have set a restriction to wipe the work profile.

Fixed related issues, such as the CredentialChecker re-sending
the result after onResume causing additional attempts to be counted.

The new error message String is also displayed initially when there
are pending attempts to inform the user that they are not starting
from fresh.

Bug: 26677759
Change-Id: I70cfae4c05e705ad7fe93bc071426459b79e7d0c

8 years agoMerge "Fixes for fingerprint profile challenge" into nyc-dev
Mahaver Chopra [Wed, 17 Feb 2016 10:29:45 +0000 (10:29 +0000)]
Merge "Fixes for fingerprint profile challenge" into nyc-dev

8 years agoRevert "Revert "Use SetupWizardPreferenceLayout""
Maurice Lam [Fri, 12 Feb 2016 23:51:43 +0000 (15:51 -0800)]
Revert "Revert "Use SetupWizardPreferenceLayout""

This reverts commit 73512ee6842166bbf0b37d70983595911b87db2d.

With ag/866290, this change can be applied again.

Bug: 27152471
Change-Id: I0fd78218b989e99873765f7678f0113fb2c08f16

8 years agoMerge "Fixes autoadvance on find sensor page for fingerprint." into nyc-dev
Udam Saini [Wed, 17 Feb 2016 01:15:02 +0000 (01:15 +0000)]
Merge "Fixes autoadvance on find sensor page for fingerprint." into nyc-dev

8 years agoUpdate BandMode Names to support full list, fix off-by-one UI error.
Nathan Harold [Wed, 17 Feb 2016 00:51:20 +0000 (00:51 +0000)]
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.

8 years agoMerge "Remove switching from Users menu" into nyc-dev
Fyodor Kupolov [Wed, 17 Feb 2016 00:29:00 +0000 (00:29 +0000)]
Merge "Remove switching from Users menu" into nyc-dev

8 years agoUpdate BandMode Names to support full list, fix off-by-one UI error.
Nathan Harold [Fri, 12 Feb 2016 18:03:36 +0000 (10:03 -0800)]
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

8 years agoRemove switching from Users menu
Fyodor Kupolov [Sat, 30 Jan 2016 01:29:54 +0000 (17:29 -0800)]
Remove switching from Users menu

Bug: 26562786
Change-Id: Id0f26621b8356c3161dee861b0215b01d48007c9

8 years agoMerge "Removes tap continue when done text" into nyc-dev
Udam Saini [Tue, 16 Feb 2016 21:00:06 +0000 (21:00 +0000)]
Merge "Removes tap continue when done text" into nyc-dev

8 years agoRemoves tap continue when done text
Udam Saini [Tue, 16 Feb 2016 18:47:39 +0000 (10:47 -0800)]
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

8 years agoFixing the sections not getting created the first time
Sunny Goyal [Thu, 11 Feb 2016 22:55:47 +0000 (14:55 -0800)]
Fixing the sections not getting created the first time

Change-Id: I9b8888d1633eba29e9ec79924d26cff0fce33ead

8 years agoFixes for fingerprint profile challenge
Mahaver Chopra [Mon, 15 Feb 2016 21:35:14 +0000 (21:35 +0000)]
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

8 years agoMerge "Fix package-enabled check in Developer Settings." into nyc-dev
Gustav Sennton [Tue, 16 Feb 2016 15:18:13 +0000 (15:18 +0000)]
Merge "Fix package-enabled check in Developer Settings." into nyc-dev

8 years agoPart3 - Don't add padlock if the restriction is not set by admin.
Sudheer Shanka [Thu, 11 Feb 2016 18:48:14 +0000 (18:48 +0000)]
Part3 - Don't add padlock if the restriction is not set by admin.

Bug: 26687435
Change-Id: Ibfea6d7d5bd32e7a05dcc2cc32b121c9e50b6a34

8 years agoMerge "Make the screen zoom preview app icon bigger to match Launcher" into nyc-dev
Alan Viverette [Mon, 15 Feb 2016 20:02:00 +0000 (20:02 +0000)]
Merge "Make the screen zoom preview app icon bigger to match Launcher" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 15 Feb 2016 16:45:08 +0000 (16:45 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 15 Feb 2016 15:33:11 +0000 (07:33 -0800)]
Import translations. DO NOT MERGE

Change-Id: I04e3ee5ea3c7c89b94a24ea047077928cc9accb0
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 15 Feb 2016 15:19:55 +0000 (15:19 +0000)]
Import translations. DO NOT MERGE
am: f99586c789  -s ours

* commit 'f99586c789bf2c531721f121b5b08425cc14ded5':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 15 Feb 2016 15:15:03 +0000 (07:15 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ib0959f6786971b40e95c4fa0a23d7bf893ecd5fb
Auto-generated-cl: translation import

8 years agoFix package-enabled check in Developer Settings.
Gustav Sennton [Mon, 15 Feb 2016 14:27:38 +0000 (14:27 +0000)]
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

8 years agoDO NOT MERGE Modify system settings: incorrect UI state am: 2c02228ad0 am: 5527ac9cf2
Svetoslav [Sun, 14 Feb 2016 22:50:34 +0000 (22:50 +0000)]
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

8 years agoDO NOT MERGE Modify system settings: incorrect UI state am: 2c02228ad0
Svetoslav [Sun, 14 Feb 2016 22:38:52 +0000 (22:38 +0000)]
DO NOT MERGE Modify system settings: incorrect UI state am: 2c02228ad0
am: 5527ac9cf2

* commit '5527ac9cf215fb894153bae8c3bb06fb5264d146':
  DO NOT MERGE Modify system settings: incorrect UI state

8 years agoDO NOT MERGE Modify system settings: incorrect UI state
Svetoslav [Sun, 14 Feb 2016 22:28:25 +0000 (22:28 +0000)]
DO NOT MERGE Modify system settings: incorrect UI state
am: 2c02228ad0

* commit '2c02228ad0cd7b9d86050647c679843e829819d4':
  DO NOT MERGE Modify system settings: incorrect UI state

8 years agoAdd a reset speech rate button to Text-to-Speech settings UI
shwetachahar [Fri, 12 Feb 2016 17:17:33 +0000 (17:17 +0000)]
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

8 years agoFixes autoadvance on find sensor page for fingerprint.
Udam Saini [Fri, 12 Feb 2016 21:42:18 +0000 (13:42 -0800)]
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

8 years agoFix incorrectly sized app prefs
Jason Monk [Fri, 12 Feb 2016 21:31:43 +0000 (16:31 -0500)]
Fix incorrectly sized app prefs

Bug: 27066871
Change-Id: I0a1a4847532243c27ec5f9d96d8079c417bae91e

8 years agoDO NOT MERGE Modify system settings: incorrect UI state
Svetoslav [Tue, 24 Nov 2015 19:31:13 +0000 (11:31 -0800)]
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 356fb2d10d9f4c236b0f10d0e2facb93028b9f3c)
(cherry picked from commit 119d589ea5aa9c2ccc5164279d718a20d0865f20)

8 years agoMake the screen zoom preview app icon bigger to match Launcher
Alan Viverette [Thu, 11 Feb 2016 23:56:53 +0000 (15:56 -0800)]
Make the screen zoom preview app icon bigger to match Launcher

Bug: 27060024
Change-Id: I0eb58facefa8618331b5109f034d6e0134ad32d8

8 years agoMerge "Revert "Use SetupWizardPreferenceLayout"" into nyc-dev
Udam Saini [Thu, 11 Feb 2016 23:32:16 +0000 (23:32 +0000)]
Merge "Revert "Use SetupWizardPreferenceLayout"" into nyc-dev

8 years agoRevert "Use SetupWizardPreferenceLayout"
Udam Saini [Thu, 11 Feb 2016 23:16:27 +0000 (23:16 +0000)]
Revert "Use SetupWizardPreferenceLayout"

This reverts commit a95e7c3c09d8939c77c50450d8aaf23e9915a793.
This causes a bug where you cannot access fingerprint from settings.

bug:27152471
Change-Id: I4f3078a81b66d44bb6f29ed3afc501e0b56a369e

8 years agoMerge "Use DPM.uninstallPackageWithActiveAdmins()" into nyc-dev
Makoto Onuki [Thu, 11 Feb 2016 19:42:56 +0000 (19:42 +0000)]
Merge "Use DPM.uninstallPackageWithActiveAdmins()" into nyc-dev

8 years agoRemove 'Higher speech rate' button based on the results of the speech
shwetachahar [Mon, 8 Feb 2016 12:00:35 +0000 (12:00 +0000)]
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

8 years agoMerge "Disable clear credential option when disallowed by admin." into nyc-dev
Sudheer Shanka [Thu, 11 Feb 2016 14:21:05 +0000 (14:21 +0000)]
Merge "Disable clear credential option when disallowed by admin." into nyc-dev

8 years agoMerge "Use SetupWizardPreferenceLayout" into nyc-dev
Maurice Lam [Thu, 11 Feb 2016 01:07:24 +0000 (01:07 +0000)]
Merge "Use SetupWizardPreferenceLayout" into nyc-dev

8 years agoMerge "Fixes stack overflow on some settings preferences" into nyc-dev
Udam Saini [Thu, 11 Feb 2016 00:36:13 +0000 (00:36 +0000)]
Merge "Fixes stack overflow on some settings preferences" into nyc-dev

8 years agoFixes stack overflow on some settings preferences
Udam Saini [Thu, 11 Feb 2016 00:07:41 +0000 (16:07 -0800)]
Fixes stack overflow on some settings preferences

bug:27130222
Change-Id: If273720591ca9a4d10143b36b63eb839e4fa0a4a

8 years agoUse SetupWizardPreferenceLayout
Maurice Lam [Tue, 9 Feb 2016 05:20:50 +0000 (21:20 -0800)]
Use SetupWizardPreferenceLayout

Update SetupChooseLockGeneric to use SetupWizardPreferenceLayout,
which is a layout designed to be used with Preference v14.

Change-Id: I31f372b5f70382a9f6502c790cb8981277a8d5e1

8 years agoUse DPM.uninstallPackageWithActiveAdmins()
Makoto Onuki [Thu, 11 Feb 2016 00:21:18 +0000 (16:21 -0800)]
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

8 years agoDevice Admin activation screen: Show buttons vertically.
Makoto Onuki [Wed, 10 Feb 2016 00:31:00 +0000 (16:31 -0800)]
Device Admin activation screen: Show buttons vertically.

Bug 25392386

Change-Id: Ie7e7ff107af3c307d99818b4c9a5e1b95fa329f2

8 years agoMerge "Adding an easy uninstall for active device admin" into nyc-dev
Suprabh Shukla [Wed, 10 Feb 2016 22:58:29 +0000 (22:58 +0000)]
Merge "Adding an easy uninstall for active device admin" into nyc-dev

8 years agoAdding an easy uninstall for active device admin
Suprabh Shukla [Wed, 27 Jan 2016 21:00:10 +0000 (13:00 -0800)]
Adding an easy uninstall for active device admin

Currently the uninstall button is disabled for a package
with an active device admin. This change enables the button,
which when clicked gives the user an option to deactivate
all the DAs in the package and then uninstall the package.

Bug: b/22359208

cherry pick of I8b955305927751185a4c982dadb5b1b6b07efe5e

Change-Id: Ib2ab0e35b74fc8dba7168174b2bc8fd383fe94fe

8 years agoUX fixes for the language draggable cell
Mihai Nita [Fri, 5 Feb 2016 19:55:45 +0000 (11:55 -0800)]
UX fixes for the language draggable cell

This should bring things closer to the recommended UX guidelines.

It changes the way the checkbox / label play together,
and changes the "localization missing" warning icon to a string.
Also some cleanup of hard-coded styles and sizes.

Bug: 26758865
Bug: 26707846
Change-Id: I07a78a1e4a41122b91e895e363a217d3e9cacd40

8 years agoMerge "Fixes showing learn more screen from fingerprint intro page" into nyc-dev
Udam Saini [Wed, 10 Feb 2016 21:36:55 +0000 (21:36 +0000)]
Merge "Fixes showing learn more screen from fingerprint intro page" into nyc-dev

8 years agoDisable clear credential option when disallowed by admin.
Sudheer Shanka [Wed, 10 Feb 2016 21:35:54 +0000 (21:35 +0000)]
Disable clear credential option when disallowed by admin.

Bug: 27119114
Change-Id: I0f60880b125149cd1a9aa5f4e9a5340f49042367

8 years agoModify emergency info subtitle
mariagpuyol [Wed, 10 Feb 2016 19:11:59 +0000 (11:11 -0800)]
Modify emergency info subtitle

Change-Id: Iaa2ba23a1c0a74552e0f9b71d1e45711126a711c

8 years agoFixes showing learn more screen from fingerprint intro page
Udam Saini [Wed, 10 Feb 2016 19:22:32 +0000 (11:22 -0800)]
Fixes showing learn more screen from fingerprint intro page

bug:27063484
Change-Id: I2413ddff4953dc171aabbb0e9a6beb2f8d04552f