OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoBack-port ag/2491664
Phil Weaver [Wed, 12 Jul 2017 21:07:07 +0000 (14:07 -0700)]
Back-port ag/2491664

Bug: 62196835
Test: Verify overlays disappear on a11y capabilities
dialog.

Change-Id: Ic675012dd9faa8e53d1d4b126b3ba68fecdab992
(cherry picked from commit e76e053595660ed2a75adb33ee124a7bfbed164b)

6 years agoFix phishing attack in ChooseLockGeneric
Steven Ng [Mon, 15 May 2017 17:30:04 +0000 (18:30 +0100)]
Fix phishing attack in ChooseLockGeneric

Cherry-pick of 436256c36d69549c77320d073bef27649c1b1d6e

Test: 1) make and run SettingsTests. It passes.
      2) Manual test 1
         a) On a device supports fingerprint, set a password but not fingerprint.
         b) adb shell am start -a android.app.action.SET_NEW_PARENT_PROFILE_PASSWORD
         c) Confirm Lock password screen is shown
         d) Select "Skip fingerprint". There isn't a second lock password confirmation screen.
         e) A new password can be set successfully.
      3) Manual test 2
         a) Repeat step 2)a) - 2)c)
         b) Select "Fingerprint + PIN". There isn't a second lock password confirmation screen.
         c) A new password and fingerprint can be enrolled successfully.

Bug: 33059280
Change-Id: I1078c6e303fc41aeeb370e5d6518d1f16b5837f1
Merged-In: I1078c6e303fc41aeeb370e5d6518d1f16b5837f1
(cherry picked from commit 14153fd25b4757add2107d35e71fcfbb55c1e419)
(cherry picked from commit 21e0e3ddce7a5c3ed649251f390e05ac91d47c41)

6 years agoresolve merge conflicts of 3964c51bf2 to nyc-dev
Dmitry Dementyev [Thu, 9 Mar 2017 00:32:00 +0000 (16:32 -0800)]
resolve merge conflicts of 3964c51bf2 to nyc-dev

Bug: 33123882
Test: manual tests
Merged-In: If68343d155364654fa7db55ace3fb3c4db508c7e
Change-Id: I17ceca883819a161c4eab2a414abf0b64c320378
(cherry picked from commit 0f04a5a93f846d6f2d528ab6ae0c9e37d701e438)

7 years agoMerge "[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."" into...
Philip P. Moltmann [Tue, 14 Feb 2017 16:03:27 +0000 (16:03 +0000)]
Merge "[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."" into nyc-mr2-dev

7 years ago[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."
Philip P. Moltmann [Mon, 13 Feb 2017 20:58:46 +0000 (20:58 +0000)]
[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."

This reverts commit 81758edffae751c31fb1795febe470c171f7fb1b.

Bug: 30662828
Change-Id: I5c877a3a888f075afcfb9f49ec92cf3ad43f6304

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 13 Feb 2017 07:02:41 +0000 (23:02 -0800)]
Import translations. DO NOT MERGE

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

7 years agoDO NOT MERGE Fix "3 dot" icon size so it displays fully
Fan Zhang [Sat, 11 Feb 2017 18:50:13 +0000 (10:50 -0800)]
DO NOT MERGE Fix "3 dot" icon size so it displays fully

Viewport size was set wrong due to bad merge, causing the last dot got
truncated slightly.

Change-Id: I5d5bbd703e780b21957613d88a2250bc3ba69bb8
Fix: 28194068
Test: visual

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 9 Feb 2017 02:55:40 +0000 (18:55 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Ignore orientation change to preserve ApnEditor." into nyc-mr2-dev
Junda Liu [Tue, 7 Feb 2017 20:35:46 +0000 (20:35 +0000)]
Merge "Ignore orientation change to preserve ApnEditor." into nyc-mr2-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Tue, 7 Feb 2017 04:20:22 +0000 (04:20 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Feb 2017 01:12:48 +0000 (17:12 -0800)]
Import translations. DO NOT MERGE

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

7 years agoUpdate "more" icon so the 3 dots are perfectly round.
Fan Zhang [Mon, 6 Feb 2017 20:39:00 +0000 (12:39 -0800)]
Update "more" icon so the 3 dots are perfectly round.

Bug: 28194068
Test: visual
Change-Id: I23040c7fa638084fc653484e431039701c34bcb0

7 years agoIgnore orientation change to preserve ApnEditor.
Junda Liu [Sat, 4 Feb 2017 00:39:23 +0000 (16:39 -0800)]
Ignore orientation change to preserve ApnEditor.

Test: manually w/ Vzw and Tmo SIM on marlin. UI rotates while preserving
all values
Bug: b/34956985
Change-Id: I1db34893fd91f99e38913565e7b67ccbfdcb0c93

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 3 Feb 2017 07:43:15 +0000 (23:43 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "[DO NOT MERGE] Use new QueuedWork interface." into nyc-mr2-dev
TreeHugger Robot [Wed, 1 Feb 2017 23:08:53 +0000 (23:08 +0000)]
Merge "[DO NOT MERGE] Use new QueuedWork interface." into nyc-mr2-dev

7 years agoDO NOT MERGE - Require password to FR in carrier demo mode
Christine Franks [Fri, 20 Jan 2017 19:24:14 +0000 (11:24 -0800)]
DO NOT MERGE - Require password to FR in carrier demo mode

Bug: 34341567
Test: manual - password is not required for regular user factory
resets and is required in carrier demo mode.

Change-Id: Icadb6edb3d85ae58b45862c182b6b03bf2c3ce16

7 years agoDO NOT MERGE - Allow FR in carrier demo mode
Christine Franks [Tue, 24 Jan 2017 00:44:02 +0000 (16:44 -0800)]
DO NOT MERGE - Allow FR in carrier demo mode

Bug: 34341567
Test: manual - in carrier demo mode, go to Settings > Backup and
Reset > Factory data reset > Reset phone > Erase everything and
this entire path is viewable.

Change-Id: I373a2e94f205f6e6e4dd9a54dcf08532a64e5187

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 31 Jan 2017 07:10:41 +0000 (23:10 -0800)]
Import translations. DO NOT MERGE

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

7 years ago[DO NOT MERGE] Use new QueuedWork interface.
Philip P. Moltmann [Mon, 12 Dec 2016 23:29:55 +0000 (15:29 -0800)]
[DO NOT MERGE] Use new QueuedWork interface.

Test: Ran SharedPreferences CTS tests

Bug: 33385963
Bug: 30662828

Change-Id: I8025a087b43462324d0d45555094cbb54a671404
(cherry picked from commit 231c9fbfa68d54ce44fad36df0701d4fd566a5aa)

7 years agoMerge "Remove fake data" into nyc-mr2-dev
TreeHugger Robot [Fri, 27 Jan 2017 20:31:39 +0000 (20:31 +0000)]
Merge "Remove fake data" into nyc-mr2-dev

7 years agoMerge "Fix null pointer exception when surveys are turned off" into nyc-mr2-dev
TreeHugger Robot [Fri, 27 Jan 2017 19:59:03 +0000 (19:59 +0000)]
Merge "Fix null pointer exception when surveys are turned off" into nyc-mr2-dev

7 years agoRemove fake data
Salvador Martinez [Wed, 25 Jan 2017 22:56:03 +0000 (14:56 -0800)]
Remove fake data

Missed one location that adds fake data
to the payload the first time these were
removed. This patch removes any remaining
fake data being attached to a survey payload.

Test: Robotests still pass
Bug: 34716378
Change-Id: Iccb60ce24ae5c494dcd287107f8d293f4a56b2d5
Merged-In: I055c2b2e027f721e14ea5b6b7efccd5267018b8c

7 years agoFix null pointer exception when surveys are turned off
Salvador Martinez [Tue, 24 Jan 2017 23:16:52 +0000 (15:16 -0800)]
Fix null pointer exception when surveys are turned off

In some conditions the survey provider could be null on
download completion which could lead to a NPE. This
has been addressed by not requiring an instance for
the removal of the receiver.

Test: RunSettingsRoboTests (master)
Bug: 33707203
Change-Id: Id1ab1a24c697fed8e4dd259682a088b50c35f38a
Merged-In: Icfb545697f24172db734dd7dad421796edf68186

7 years agoMerge "Finalize string for usage alerts." into nyc-mr2-dev
TreeHugger Robot [Fri, 27 Jan 2017 03:37:44 +0000 (03:37 +0000)]
Merge "Finalize string for usage alerts." into nyc-mr2-dev

7 years agoFinalize string for usage alerts.
Andrew Sapperstein [Fri, 27 Jan 2017 01:30:30 +0000 (17:30 -0800)]
Finalize string for usage alerts.

Test: manual
Bug: 34200177
Change-Id: I5c28b2844b035d551ef2707b9797443074d0d23f

7 years agoMerge "*DO NOT MERGE* Create new suggestion category for backup." into nyc-mr2-dev
Stefano Tommasini [Thu, 26 Jan 2017 10:31:14 +0000 (10:31 +0000)]
Merge "*DO NOT MERGE* Create new suggestion category for backup." into nyc-mr2-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Thu, 26 Jan 2017 07:06:17 +0000 (07:06 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 26 Jan 2017 04:04:52 +0000 (20:04 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc...
Jerry Zhang [Wed, 25 Jan 2017 20:30:17 +0000 (20:30 +0000)]
Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc-mr2-dev

7 years ago*DO NOT MERGE* Create new suggestion category for backup.
Stefanot [Wed, 25 Jan 2017 11:20:50 +0000 (11:20 +0000)]
*DO NOT MERGE* Create new suggestion category for backup.

Test: manual

BUG: 34219298
Change-Id: I288d36b2b48582e5f8e0d1720d1f7004ad8dae2c

7 years agoRefactor setCurrentFunction and setUsbDataUnlocked into one method
Jerry Zhang [Wed, 12 Oct 2016 21:42:56 +0000 (14:42 -0700)]
Refactor setCurrentFunction and setUsbDataUnlocked into one method

This allows us to get rid of an extraneous config switch and
simplify some code.

Bug: 31814300
Test: Manually change usb configuration
Change-Id: Id78da530ff485ecd7a915056832eec1dd8c91954
(cherry picked from commit 5d36a177d95184aaa0763d07aa38ff028f5a9b9c)

7 years agoMerge "Add SuggestionFeatureProvider interface." into nyc-mr2-dev
Stefano Tommasini [Sat, 21 Jan 2017 19:44:15 +0000 (19:44 +0000)]
Merge "Add SuggestionFeatureProvider interface." into nyc-mr2-dev

7 years agoAdd SuggestionFeatureProvider interface.
Stefanot [Fri, 13 Jan 2017 14:58:41 +0000 (14:58 +0000)]
Add SuggestionFeatureProvider interface.

The interface is added so that a vendor can add new suggestions to the
settings app, and customize details for these suggestions.

Test: make RunSettingsRoboTests

BUG: 34219298

Change-Id: I373c63709b1aaf68360aa2561a2ecfc3194e0e2b

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 20 Jan 2017 20:31:51 +0000 (12:31 -0800)]
Import translations. DO NOT MERGE

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

7 years agoFix Bluetooth pairing dialogue crash
Jack He [Tue, 1 Nov 2016 22:38:38 +0000 (15:38 -0700)]
Fix Bluetooth pairing dialogue crash

When pairing passkey is invalid, onCreate() should return early to
prevent any dialog from displaying, which will then call onDestroy()
to destroy the activity. However mReceiver should be registered before
onDestroy() is called as onDestroy() will call unregisterReceiver(mReceiver)
that will throw an IllegalArgumentException when mReceiver was not registered.

This fix adds a flag that tracks whether mReceiver has been registered.
In addition, this fix fails the passkey confirmation request upon invalid
passkey.

Bug: 32577328
Test: Test with PTS TC_SERVER_SA_BI_01_C
Change-Id: Ifc047bad6bd99abca04404af9cd54d2034cd35aa
(cherry picked from commit 6f8e9eda2d9ed830d47971d93327792906db2dc1)

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 19 Jan 2017 03:10:06 +0000 (19:10 -0800)]
Import translations. DO NOT MERGE

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

7 years agoImplements additional battery info menu behavior.
Jaewoong Jung [Tue, 20 Dec 2016 02:39:41 +0000 (18:39 -0800)]
Implements additional battery info menu behavior.

This is a manual cherry-pick of commit
6a43a06cac12494cd27e5b5cad4149a272d90038.

Bug: 33352540
Test: Updated existing tests.
Change-Id: I990029d2ea9032301362d614959259965b8ecb10

7 years agoMerge "Adds a menu item for additional battery info to battery settings." into nyc...
Jaewoong Jung [Fri, 13 Jan 2017 22:38:10 +0000 (22:38 +0000)]
Merge "Adds a menu item for additional battery info to battery settings." into nyc-mr2-dev

7 years agoAdds a menu item for additional battery info to battery settings.
Jaewoong Jung [Tue, 13 Dec 2016 01:32:31 +0000 (17:32 -0800)]
Adds a menu item for additional battery info to battery settings.

This is a manual cherry-pick of commit
1e0f8ff5e549636e98b7fa0f12761be934f8f36b.

Bug: 33352540
Test: No additional test failures.

Change-Id: Ibfc1a9463c93d3c087ed712fe45d3d0717472c6a

7 years agoRemoved fake data
Salvador Martinez [Fri, 16 Dec 2016 00:13:38 +0000 (16:13 -0800)]
Removed fake data

Was using fake data for testing that we could attach
payloads. This is no longer needed since we are now
attaching real data.

Test: Manual Verification on GCS
Bug: 27823357
Change-Id: I055c2b2e027f721e14ea5b6b7efccd5267018b8c

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 12 Jan 2017 14:02:43 +0000 (06:02 -0800)]
Import translations. DO NOT MERGE

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

7 years agoAdded survey triggering mechanisms
Salvador Martinez [Thu, 8 Dec 2016 20:44:47 +0000 (12:44 -0800)]
Added survey triggering mechanisms

Surveys can now be triggered on a subset of Settings screens.
Surveys can also be modified/created for this subset of
screens remotely.

Test: RoboTests(master) && JUnitTests
Bug: 27823357
Change-Id: I1534af5573bef6f6c65c9c99b6f5a2917c3325b9

7 years agoAdded feature for surveys provider to Settings
Salvador Martinez [Wed, 19 Oct 2016 19:51:45 +0000 (12:51 -0700)]
Added feature for surveys provider to Settings

It is now possible to create and show surveys to a user
asking them for feedback within the Settings app.

Test: In Master Branch
Bug: 27823357
Change-Id: I824899045f6ce30e5b6f46d20888da673114f658

7 years agoMerge "DO NOT MERGE Fix Notification Settings when unblockable app is blocked." into...
Geoffrey Pitsch [Tue, 10 Jan 2017 19:06:00 +0000 (19:06 +0000)]
Merge "DO NOT MERGE Fix Notification Settings when unblockable app is blocked." into nyc-mr2-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Tue, 10 Jan 2017 07:18:41 +0000 (07:18 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 9 Jan 2017 21:14:43 +0000 (13:14 -0800)]
Import translations. DO NOT MERGE

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

7 years agoDO NOT MERGE: Fix NPE in ConfigureWifiSettings.
pkanwar [Mon, 9 Jan 2017 20:21:22 +0000 (12:21 -0800)]
DO NOT MERGE: Fix NPE in ConfigureWifiSettings.

NPE was introduced as part of recent changes for Carrier Wifi networks.
This CL adds a null check.

Bug: 34050661
Change-Id: I585f6499b1ca06d9bd25ad3449f035c5a616a140

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 5 Jan 2017 01:46:43 +0000 (17:46 -0800)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 30 Dec 2016 08:59:18 +0000 (00:59 -0800)]
Import translations. DO NOT MERGE

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

7 years agoDO NOT MERGE Fix Notification Settings when unblockable app is blocked.
Geoffrey Pitsch [Wed, 28 Dec 2016 17:29:40 +0000 (12:29 -0500)]
DO NOT MERGE Fix Notification Settings when unblockable app is blocked.

When an app was blocked in the past, don't hide the controls
so the user is able to unblock the app.  After unblocking, the
controls will be hidden the next time settings is visited.

Bug:32557897
Change-Id: I7ab17f647b197162932b131c41bb18cf5c18917d

7 years agoMerge "Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List" into nyc-mr2-dev
Nathan Harold [Fri, 23 Dec 2016 01:11:39 +0000 (01:11 +0000)]
Merge "Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List" into nyc-mr2-dev

7 years agoMerge "DO NOT MERGE: Add UI toggle to control connections to carrier networks." into...
Pankaj Kanwar [Thu, 22 Dec 2016 20:41:54 +0000 (20:41 +0000)]
Merge "DO NOT MERGE: Add UI toggle to control connections to carrier networks." into nyc-mr2-dev

7 years agoDO NOT MERGE: Add UI toggle to control connections to carrier networks.
pkanwar [Sun, 11 Dec 2016 23:36:34 +0000 (15:36 -0800)]
DO NOT MERGE: Add UI toggle to control connections to carrier networks.

Bug: 31003437
Change-Id: Ieb6dfc0dc989068e151a1d0e376f56f67c9790b2

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Dec 2016 05:59:21 +0000 (21:59 -0800)]
Import translations. DO NOT MERGE

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

7 years agoDO NOT MERGE OMADM Trigger in *#*#INFO#*#* hidden menu.
Youhan Wang [Fri, 16 Dec 2016 23:53:16 +0000 (15:53 -0800)]
DO NOT MERGE OMADM Trigger in *#*#INFO#*#* hidden menu.

Failed Treehugger automerge to master, will be cherry-picked to master
manually.

Bug:32874442
Change-Id: Ie64eb28671ec4afafd352d1f86b61c4ce1108338

7 years agoAlways include BAND_MODE=AUTOMATIC in the Radio Band Mode List
Nathan Harold [Tue, 20 Dec 2016 02:04:52 +0000 (18:04 -0800)]
Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List

To facilitate user recovery from issues where the band mode
list is incomplete and may not report the full list of bands,
the user should *always* have the ability to set the band mode
selection to AUTOMATIC.

Bug: 28124606
Test: compilation, UI check
Change-Id: Ib961d9b058ade5a51dfec0777971c8c98dee2033
(cherry picked from commit f8555e481263e936ab853a32431c188d34419467)

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 15 Dec 2016 05:03:28 +0000 (21:03 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "DO NOT MERGE: Fix DPM.ACTION_SET_NEW_PASSWORD" into nyc-mr2-dev
TreeHugger Robot [Wed, 14 Dec 2016 02:08:36 +0000 (02:08 +0000)]
Merge "DO NOT MERGE: Fix DPM.ACTION_SET_NEW_PASSWORD" into nyc-mr2-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 13 Dec 2016 01:30:02 +0000 (17:30 -0800)]
Import translations. DO NOT MERGE

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

7 years agoDO NOT MERGE: Fix DPM.ACTION_SET_NEW_PASSWORD
Tony Mak [Mon, 12 Dec 2016 02:29:55 +0000 (02:29 +0000)]
DO NOT MERGE: Fix DPM.ACTION_SET_NEW_PASSWORD

This is a cherry-pick of ag/1640561.

1. Context.getActivityToken is not available in n mr2, passed the token
   from the activity to the controller instead.

2. Haven't pick the tests from master to mr2 branch because robotest
   is not set up in mr2 branch.

Fix: 32959373

Change-Id: I2f73d01ab11e91b337beb90c05bbcb857dfd40dc

7 years agoMerge changes from topic 'ims-radio-info-mr2' into nyc-mr2-dev
Youhan Wang [Fri, 9 Dec 2016 22:17:08 +0000 (22:17 +0000)]
Merge changes from topic 'ims-radio-info-mr2' into nyc-mr2-dev

* changes:
  Add Ims Registration Info to RadioInfo
  Enable and Disable IMS Provisioning Based on Platform Capability

7 years agoAdd Ims Registration Info to RadioInfo
Nathan Harold [Thu, 27 Oct 2016 20:45:00 +0000 (13:45 -0700)]
Add Ims Registration Info to RadioInfo

Replaced not used pdp list.

Bug:32874442
Change-Id: Iadb21a3108aaaa3afcde3972e6f98bfbbd5413f1

7 years agoEnable and Disable IMS Provisioning Based on Platform Capability
Nathan Harold [Fri, 28 Oct 2016 18:45:59 +0000 (11:45 -0700)]
Enable and Disable IMS Provisioning Based on Platform Capability

Bug:32874442
Change-Id: I4be301864a3d48ef14834caa707e9d64536fd836

7 years agoMove private volume storage calculations into a shared lib.
Daniel Nishi [Mon, 19 Sep 2016 19:16:21 +0000 (12:16 -0700)]
Move private volume storage calculations into a shared lib.

Bug: 30895163
Test: m RunStorageManagerRoboTests
Change-Id: I3e464c8b721373ebc1527eb5411622c69bf587d1

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 14 Nov 2016 17:50:59 +0000 (09:50 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 32839141
Change-Id: I6145b97714693ec78cbc8b7d2235ed5830e7f714

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 5 Nov 2016 05:19:32 +0000 (22:19 -0700)]
Import translations. DO NOT MERGE

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

7 years agoAdd subtypes to tron logging for Wifi toggles.
Stephen Chen [Mon, 31 Oct 2016 19:59:41 +0000 (12:59 -0700)]
Add subtypes to tron logging for Wifi toggles.

For ACTION_WIFI_CONNECT, added subtype to specify whether user is
connecting to saved network.
For ACTION_WIFI_OFF, added subtype to specify whether user was connected
to a network at the time.

Bug: 32371451
Test: Verify logs by running:
adb logcat -b events | egrep '(sysui_|notification_)'
Merged-In: I1d4445bda2fbeb062831e6f858ccc711bff65105

Change-Id: I6b87dc10fcfe412f1c72ae944c2dd4d81da12b53

7 years agoFix crash when opening account sync detail for external app am: c9cdc25f41
Fan Zhang [Tue, 1 Nov 2016 17:23:38 +0000 (17:23 +0000)]
Fix crash when opening account sync detail for external app am: c9cdc25f41
am: f3e86ca481

Change-Id: I3ca70edada88ee6d7c4dde2ba7e5972233357add

7 years agoFix crash when opening account sync detail for external app
Fan Zhang [Tue, 1 Nov 2016 17:21:36 +0000 (17:21 +0000)]
Fix crash when opening account sync detail for external app
am: c9cdc25f41

Change-Id: Ic8016695966d64c02c4e2fbe37703db8c771930e

7 years agoFix crash when opening account sync detail for external app
Fan Zhang [Mon, 31 Oct 2016 19:45:49 +0000 (12:45 -0700)]
Fix crash when opening account sync detail for external app

Bug: 32426306
Test: Manual, and added unit test
Change-Id: I8703c9a13a60e57d7dd2bab2ae3cf6be362e351a
(cherry picked from commit e3ad2b56c31f3f9fa751647197b8b2ca5cdb0fb6)

7 years agoImport translations. DO NOT MERGE am: bb6af9902d -s ours am: 061b294714 -s ours
Bill Yi [Thu, 27 Oct 2016 05:31:37 +0000 (05:31 +0000)]
Import translations. DO NOT MERGE am: bb6af9902d  -s ours am: 061b294714  -s ours
am: 4666b50754  -s ours

Change-Id: I89ed1044560f40ebb78d0e1b9bf07a4a7cd575b7

7 years agoImport translations. DO NOT MERGE am: e7f9b0b30b -s ours
Bill Yi [Thu, 27 Oct 2016 05:31:24 +0000 (05:31 +0000)]
Import translations. DO NOT MERGE am: e7f9b0b30b  -s ours
am: f8b4927683  -s ours

Change-Id: I9d28fc31d3dc6ead839e36b000d16cec353562fd

7 years agoImport translations. DO NOT MERGE am: bb6af9902d -s ours
Bill Yi [Thu, 27 Oct 2016 05:27:37 +0000 (05:27 +0000)]
Import translations. DO NOT MERGE am: bb6af9902d  -s ours
am: 061b294714  -s ours

Change-Id: If6f1925ffdab47128db255040e97a45733f819d5

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 27 Oct 2016 05:27:22 +0000 (05:27 +0000)]
Import translations. DO NOT MERGE
am: e7f9b0b30b  -s ours

Change-Id: I4297eed21e6b8854801a3e9a6f9904b1dadaab72

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 27 Oct 2016 05:22:55 +0000 (05:22 +0000)]
Import translations. DO NOT MERGE
am: bb6af9902d  -s ours

Change-Id: I601e2eb4a89830873bee3f05b77d90b0e9dff9bb

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 27 Oct 2016 04:04:20 +0000 (21:04 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 27 Oct 2016 03:59:24 +0000 (20:59 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 27 Oct 2016 03:51:47 +0000 (20:51 -0700)]
Import translations. DO NOT MERGE

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

7 years agoNexus imprint setting is missing while adding corp account from SUW am: 378dec1495
Steven Ng [Tue, 25 Oct 2016 22:19:05 +0000 (22:19 +0000)]
Nexus imprint setting is missing while adding corp account from SUW am: 378dec1495
am: 046a63450f

Change-Id: I3a393fb00ab8f312ca078b08feb42decb106fb81

7 years agoNexus imprint setting is missing while adding corp account from SUW
Steven Ng [Tue, 25 Oct 2016 22:15:03 +0000 (22:15 +0000)]
Nexus imprint setting is missing while adding corp account from SUW
am: 378dec1495

Change-Id: I829c9738c70ec8242fb2c3fdcf7eecd5ff39df7c

7 years agoNexus imprint setting is missing while adding corp account from SUW
Steven Ng [Tue, 25 Oct 2016 16:23:30 +0000 (17:23 +0100)]
Nexus imprint setting is missing while adding corp account from SUW

+ This is caused by the encryption interstitial result code not handled
  in ChooseLockGeneric. Change the request code of launching encryption
  interstitial screen to CHOOSE_LOCK_BEFORE_FINGERPRINT_REQUEST if it
  is set new password flow.

Testing
Test: See below
1) Auto
   make RunSettingsRoboTests
2) Manual
   On a device (Nexus 5x) that shows encryption interstital screen and
   supports fingerprint.
   1) Nexus imprint flow (regression test)
      Fingerprint can be enrolled with the following flow.
      Settings > Security > Nexus Imprint > FingerprintEnrollIntroduction
      > ChooseLockGeneric (Unlock selection) > Encryption Interstitial
      > Password setup > Notification Interstitial
      > Find sensor and fingerprint enrollment
   2) Set new password test
      i) $ adb shell am start -a android.app.action.SET_NEW_PASSWORD
      ii) Click Nexus Imprint + Pattern.
      iii) Choose "Require pattern to start device"
      iv) Set a pattern lock.
      v) Choose any of the notification behavior.
      vi) Can enroll a fingerprint.

Bug: 32382952

Change-Id: Ie66ffca2e8c3cc46b5e8b619bd35986e4f41d5ab

7 years agoImport translations. DO NOT MERGE am: a6d9842695 -s ours am: c027907edc -s ours
Bill Yi [Tue, 25 Oct 2016 06:38:04 +0000 (06:38 +0000)]
Import translations. DO NOT MERGE am: a6d9842695  -s ours am: c027907edc  -s ours
am: f8032d0b15  -s ours

Change-Id: I08630831bbe4204fd9a86c30e9710abea02cb78c

7 years agoImport translations. DO NOT MERGE am: 475763d01c -s ours
Bill Yi [Tue, 25 Oct 2016 06:37:49 +0000 (06:37 +0000)]
Import translations. DO NOT MERGE am: 475763d01c  -s ours
am: 9a22968ff8  -s ours

Change-Id: Id515f8c57aeb9c6a478d025b4a7223acb8163b72

7 years agoImport translations. DO NOT MERGE am: a6d9842695 -s ours
Bill Yi [Tue, 25 Oct 2016 06:30:52 +0000 (06:30 +0000)]
Import translations. DO NOT MERGE am: a6d9842695  -s ours
am: c027907edc  -s ours

Change-Id: I09c421885fb40a57e309a083413797bac5de053b

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 25 Oct 2016 06:30:37 +0000 (06:30 +0000)]
Import translations. DO NOT MERGE
am: 475763d01c  -s ours

Change-Id: I4b54504ffad69e916590de47d505979b82325827

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 25 Oct 2016 06:30:08 +0000 (06:30 +0000)]
Import translations. DO NOT MERGE
am: a6d9842695  -s ours

Change-Id: Ic902f00f1abc643ecfb2e567d7368815bf727d62

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 24 Oct 2016 19:40:25 +0000 (12:40 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 24 Oct 2016 19:35:20 +0000 (12:35 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 24 Oct 2016 19:27:49 +0000 (12:27 -0700)]
Import translations. DO NOT MERGE

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

7 years agoEnsure that the gesture animation video is paused properly.
Doris Ling [Fri, 21 Oct 2016 23:44:19 +0000 (23:44 +0000)]
Ensure that the gesture animation video is paused properly.
am: 4245ad4771

Change-Id: Ib6bd653fe0f1fd0859c37df4655908e67ecc4444

7 years agoEnsure that the gesture animation video is paused properly.
Doris Ling [Fri, 21 Oct 2016 21:28:54 +0000 (14:28 -0700)]
Ensure that the gesture animation video is paused properly.

Add the handling to pause the animation video when user navigates away
from the gesture settings.

Test: Manual - play gesture animation videos, then switch to another app
in recents. Verifies from logcat that NuPlayerDriver is not active.
Fix: 32064123

Change-Id: I3d0fb3946e4d0d77a686aa97cfabe667862cac17

7 years agoMerge "Support tile title text line wraps" into nyc-mr1-dev
Matthew Fritze [Fri, 21 Oct 2016 16:36:20 +0000 (16:36 +0000)]
Merge "Support tile title text line wraps" into nyc-mr1-dev
am: f5cd60372c

Change-Id: Ie0d699bcc355519060df04b46b213ce368e47e6a

7 years agoSupport tile title text line wraps
Matthew Fritze [Fri, 21 Oct 2016 16:36:19 +0000 (16:36 +0000)]
Support tile title text line wraps
am: 0f813d668d

Change-Id: I47a4f7f95f0bce43a55e661209d48142f82e5b42

7 years agoMerge "Support tile title text line wraps" into nyc-mr1-dev
TreeHugger Robot [Fri, 21 Oct 2016 16:30:49 +0000 (16:30 +0000)]
Merge "Support tile title text line wraps" into nyc-mr1-dev

7 years agoSupport tile title text line wraps
Matthew Fritze [Thu, 20 Oct 2016 22:35:29 +0000 (15:35 -0700)]
Support tile title text line wraps

Change-Id: Ice430d03877618aacad21e5ee6167516f60f02fd
Fixes: 32239411
Test: Manual

7 years agoMerge "Fix help & feedback link in data usage summary screen." into nyc-mr1-dev
Fan Zhang [Thu, 20 Oct 2016 20:25:38 +0000 (20:25 +0000)]
Merge "Fix help & feedback link in data usage summary screen." into nyc-mr1-dev
am: 08254e5b4f

Change-Id: Ia9c30a0a03a1dcaec42573c3578f5a1ed80aa9b6

7 years agoFix help & feedback link in data usage summary screen.
Fan Zhang [Thu, 20 Oct 2016 20:25:37 +0000 (20:25 +0000)]
Fix help & feedback link in data usage summary screen.
am: 9b52836251

Change-Id: I1417eebbf5218baa24a79f2f1988844b8d06d674

7 years agoMerge "Fix help & feedback link in data usage summary screen." into nyc-mr1-dev
TreeHugger Robot [Thu, 20 Oct 2016 20:18:44 +0000 (20:18 +0000)]
Merge "Fix help & feedback link in data usage summary screen." into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE am: 4bfccb32a7 -s ours
Bill Yi [Thu, 20 Oct 2016 16:33:20 +0000 (16:33 +0000)]
Import translations. DO NOT MERGE am: 4bfccb32a7  -s ours
am: 4559d2bfac  -s ours

Change-Id: Iff8ca804ae251a0462f148a236e7b4e8c9dd3e4d

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 20 Oct 2016 16:25:35 +0000 (16:25 +0000)]
Import translations. DO NOT MERGE
am: 4bfccb32a7  -s ours

Change-Id: I7c16649111b0057307773f7674c11c1aa9732c4c