OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Robotests for BluetoothPairingDialog"
TreeHugger Robot [Wed, 26 Oct 2016 01:33:27 +0000 (01:33 +0000)]
Merge "Robotests for BluetoothPairingDialog"

7 years agoMerge "Changes event handling phases for DeviceListPreferenceFragment."
Jaewoong Jung [Wed, 26 Oct 2016 00:39:17 +0000 (00:39 +0000)]
Merge "Changes event handling phases for DeviceListPreferenceFragment."

7 years agoRobotests for BluetoothPairingDialog
Salvador Martinez [Mon, 24 Oct 2016 22:51:58 +0000 (15:51 -0700)]
Robotests for BluetoothPairingDialog

Created some tests to protect some basic bluetooth
pairing dialogs features from regressing. Most of the
tests in this CL ensure that the view is properly
created and that it is properly updating the
associated controller when a relevant action occurs.

Test: make RunSettingsRoboTests
Bug: 32180625
Change-Id: I2f4103a39ffced52353712f952e8ff3d26590169

7 years agoMerge "Nexus imprint setting is missing while adding corp account from SUW"
TreeHugger Robot [Tue, 25 Oct 2016 22:33:14 +0000 (22:33 +0000)]
Merge "Nexus imprint setting is missing while adding corp account from SUW"

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

Change-Id: I0e0536c168d7438057701783cb54a42ad4b9010e

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

Change-Id: Ie6c4a37d9aaaf9cba94c6fc050600f8acf13f53e

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 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 agoMerge "Use PasswordMetrics to remove duplicated code."
Andrew Scull [Tue, 25 Oct 2016 09:04:55 +0000 (09:04 +0000)]
Merge "Use PasswordMetrics to remove duplicated code."

7 years agoImport translations. DO NOT MERGE am: a6d9842695 -s ours am: c027907edc -s ours...
Bill Yi [Tue, 25 Oct 2016 07:01:20 +0000 (07:01 +0000)]
Import translations. DO NOT MERGE am: a6d9842695  -s ours am: c027907edc  -s ours am: f8032d0b15  -s ours am: 79d7ca6010  -s ours
am: 215732141f  -s ours

Change-Id: I2ba7f73c60709970f2aa3710b8214bda9d82b180

7 years agoImport translations. DO NOT MERGE am: 475763d01c -s ours am: 9a22968ff8 -s ours...
Bill Yi [Tue, 25 Oct 2016 07:01:00 +0000 (07:01 +0000)]
Import translations. DO NOT MERGE am: 475763d01c  -s ours am: 9a22968ff8  -s ours am: 44ab95f758  -s ours
am: 6ac5336104  -s ours

Change-Id: I1ea92544f37d89dd30ba838c5bf0854a035fe45d

7 years agoImport translations. DO NOT MERGE am: 9351e5f083 -s ours
Bill Yi [Tue, 25 Oct 2016 07:00:43 +0000 (07:00 +0000)]
Import translations. DO NOT MERGE am: 9351e5f083  -s ours
am: a6815674fb  -s ours

Change-Id: If23525cc76e53924486270674fe255fff31e6f1a

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

Change-Id: Icc5f7f210bd15607918cf967b0e5e47952034e25

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

Change-Id: Ic439351fb3ab9c1153fba758b2c4ebe229e04ff3

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

Change-Id: I4c60ee71fe030300677212e0897a204b7f29b463

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 agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 25 Oct 2016 06:26:32 +0000 (06:26 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Store Tile in view tag, not position"
Lei Yu [Tue, 25 Oct 2016 00:28:57 +0000 (00:28 +0000)]
Merge "Store Tile in view tag, not position"

7 years agoAdd swipe to see notification to "Notification preferences"
Fan Zhang [Mon, 24 Oct 2016 21:15:21 +0000 (14:15 -0700)]
Add swipe to see notification to "Notification preferences"

Bug: 31799948
Test: RunSettingsRoboTests
Change-Id: Ib892ca4d5596c1c89e1efaf636a3eefd7cee371a

7 years agoStore Tile in view tag, not position
jackqdyulei [Mon, 24 Oct 2016 21:28:55 +0000 (14:28 -0700)]
Store Tile in view tag, not position

The position(used to find the tile) is not up-to-date when recyclerview
changes, so store tile instead.

Bug: 32370624
Test: make -j40 SettingsTests
Change-Id: I10d29b3137ecb1c37b6a8468c6f2709b8497caa6

7 years agoUpdate Notification preferences UI in new IA.
Fan Zhang [Sat, 22 Oct 2016 00:05:25 +0000 (17:05 -0700)]
Update Notification preferences UI in new IA.

- Refactored ConfigureNotificationSettings to be more modular
- And tests

Bug: 31799948
Test: RunSettingsRoboTests
Change-Id: I2ecd8930a6aa501c1e625cab6ed25a46f3437e85

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 agoImport translations. DO NOT MERGE
Bill Yi [Mon, 24 Oct 2016 19:19:40 +0000 (12:19 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 22 Oct 2016 11:37:10 +0000 (11:37 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoAdd app default UI to App & Notifications.
Fan Zhang [Fri, 21 Oct 2016 21:23:56 +0000 (14:23 -0700)]
Add app default UI to App & Notifications.

Bug: 31799948
Test: RunSettingsRoboTests
Change-Id: Icca4954f82af38316cc232b8879c0f7e7869ecb3

7 years agoMerge "Fix App name and icon in Settings Battery details."
TreeHugger Robot [Sat, 22 Oct 2016 02:14:16 +0000 (02:14 +0000)]
Merge "Fix App name and icon in Settings Battery details."

7 years agoMerge "Add user and account dashboard category for new IA."
TreeHugger Robot [Sat, 22 Oct 2016 02:00:25 +0000 (02:00 +0000)]
Merge "Add user and account dashboard category for new IA."

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 22 Oct 2016 01:09:52 +0000 (18:09 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "[Fingerprint] Make enroll progress bar scalable"
Maurice Lam [Sat, 22 Oct 2016 00:17:59 +0000 (00:17 +0000)]
Merge "[Fingerprint] Make enroll progress bar scalable"

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

Change-Id: I5c063fc4c1644a9d7e5360e91c1d79375f92986a

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

Change-Id: Ic615738b57a4ca49f5c6101e86aea03dbf0f9a12

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 agoFix App name and icon in Settings Battery details.
Sundeep Ghuman [Tue, 11 Oct 2016 02:41:50 +0000 (19:41 -0700)]
Fix App name and icon in Settings Battery details.

Set correct defaultPackageName and Label for Apps in BatteryEntry.java
so PowerUsageDetails will show the correct information.

Bug: 24187923
Fixes: 24187923
Test: Open Settings, click on Apps, select any app. Note the name and
icon on the Header. Click the Battery item. The app name and icon should
match that of the previous name, as opposed to showing the package name
and default Android icon.
Change-Id: I7b6c3b404fcd298c6670cceecd29915abd325d1f

7 years agoAdd user and account dashboard category for new IA.
Doris Ling [Fri, 21 Oct 2016 18:33:54 +0000 (11:33 -0700)]
Add user and account dashboard category for new IA.

Add the initial version for the User & accounts category and set the
tile's intent if it contains metadata but fragment is null.

Test: RunSettingsRoboTests
Bug: 31801423
Change-Id: Ic63bf8aeaf47f68a184af73c9a8a72b89b597a17

7 years agoMerge "Add initial preferences to App&Notification screen."
TreeHugger Robot [Fri, 21 Oct 2016 22:20:40 +0000 (22:20 +0000)]
Merge "Add initial preferences to App&Notification screen."

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 "Elicit ItemsData class and add DiffUtil.Callback"
Lei Yu [Fri, 21 Oct 2016 20:52:18 +0000 (20:52 +0000)]
Merge "Elicit ItemsData class and add DiffUtil.Callback"

7 years agoAdd initial preferences to App&Notification screen.
Fan Zhang [Fri, 21 Oct 2016 00:15:50 +0000 (17:15 -0700)]
Add initial preferences to App&Notification screen.

Bug: 31799948
Test: manual
Change-Id: I93f9d6562f51d37fcd78bada2f7c37d6b16daabb

7 years agoElicit ItemsData class and add DiffUtil.Callback
jackqdyulei [Thu, 6 Oct 2016 01:05:52 +0000 (18:05 -0700)]
Elicit ItemsData class and add DiffUtil.Callback

In the previous version, when there is a minor change in data, we
will refresh the whole screen(and data) by invoking "recountItems"
and "notifyDataSetChanged", which did lots of unnecessary works.

In this new cl, I elicit ItemsData class, which encapsulates the list
data used in adapter. When data changed, I build another ItemsData and
use the DiffUtil.Callback to calculate diffs between ItemsDatas. In
this way we can only refresh the items that changed in adapter.

Since I cannot find usage of see_all.xml anymore, I delete the relevant
code as well as the resource files.

Bug: 30319913
Test: make RunSettingsRoboTests
Change-Id: I4f753a26f624affea6c6c35d49cfb9c43fb74fe6

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

Change-Id: I91e3c33f75a3879eb8b6832bd871909969538c1b

7 years agoSupport tile title text line wraps am: 0f813d668d am: 0e0e6c5544
Matthew Fritze [Fri, 21 Oct 2016 16:53:52 +0000 (16:53 +0000)]
Support tile title text line wraps am: 0f813d668d am: 0e0e6c5544
am: 86c8b2a1a5

Change-Id: I37e3c11aaa2f8fdd59b3f6e9a963c55661b81849

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

Change-Id: Ic447e8fbf664140f2580c4898e2a0b6618585543

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

Change-Id: I81fa4356f76b2693eca95ff5c79c6168a68ffd64

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 agoMerge "Add preupload to Settings."
TreeHugger Robot [Fri, 21 Oct 2016 02:41:18 +0000 (02:41 +0000)]
Merge "Add preupload to Settings."

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 agoAdd preupload to Settings.
Philip P. Moltmann [Fri, 21 Oct 2016 00:22:28 +0000 (17:22 -0700)]
Add preupload to Settings.

Test: Uploaded
Change-Id: I454df2797ac7314060646c66c6caf2538d36b1d0

7 years ago[Fingerprint] Make enroll progress bar scalable
Maurice Lam [Wed, 19 Oct 2016 22:16:36 +0000 (15:16 -0700)]
[Fingerprint] Make enroll progress bar scalable

Make the fingerprint enroll progress bar scalable by moving it to a
single FingerprintProgressBar view and make it fill the remaining
space.

- The background fingerprint icon was changed to include the padding
internally so it can be added as the background directly onto the
progress bar view.
- The icon in landscape mode is also fixed to use the fingerprint
icon rather than the lock icon.

Test: cd tests/robotests && mm
Bug: 32123370
Change-Id: Ia5cf37d92f0af7c1cf39287f5070c44f51d44878

7 years agoMerge "Add empty page for App & Notifications"
TreeHugger Robot [Fri, 21 Oct 2016 00:20:13 +0000 (00:20 +0000)]
Merge "Add empty page for App & Notifications"

7 years agoMerge "Set stay awake while wireless charging."
Lei Yu [Thu, 20 Oct 2016 23:33:10 +0000 (23:33 +0000)]
Merge "Set stay awake while wireless charging."

7 years agoMerge "Move scrollview to be the parent view."
Lei Yu [Thu, 20 Oct 2016 23:03:14 +0000 (23:03 +0000)]
Merge "Move scrollview to be the parent view."

7 years agoAdd empty page for App & Notifications
Fan Zhang [Thu, 20 Oct 2016 19:47:52 +0000 (12:47 -0700)]
Add empty page for App & Notifications

Bug: 31799948
Test: manual
Change-Id: Iaab1a5988af30504d4e34ff4f63ae69e86b70f27

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

Change-Id: I433323262f8b3032a8e1588c9f032d9c005b9271

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

Change-Id: I7e8d85bcc2c599c61b3739f445756681b22a1ea8

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

Change-Id: Ief7d0f6e9d90c34f8b9405d4d13c4080f669c15c

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

Change-Id: If7768bdf34204ca158dcf7e2078826a0aabc2ec7

7 years agoMove scrollview to be the parent view.
jackqdyulei [Tue, 18 Oct 2016 20:32:55 +0000 (13:32 -0700)]
Move scrollview to be the parent view.

In this cl, scroll view was moved to be the parent view for the
entire UI rather than only for a subset.

Bug: 32009766
Test: visual
Change-Id: I9aa8bb88cb39e1ca51737ec88640cc08910c4aef

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 agoMerge "Make dashboard tile refresh more effcient."
TreeHugger Robot [Thu, 20 Oct 2016 19:03:28 +0000 (19:03 +0000)]
Merge "Make dashboard tile refresh more effcient."

7 years agoMake dashboard tile refresh more effcient.
Fan Zhang [Wed, 19 Oct 2016 21:15:34 +0000 (14:15 -0700)]
Make dashboard tile refresh more effcient.

Instead of removing and re-adding all dashboard tiles, figure out a diff
and rebind/add/remove as necessary.

Bug: 32255863
Test: RunSettingsRoboTests
Change-Id: I9d87ba30ab746257d0ea71282951348ebc4e8965

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

Change-Id: Id56b66ff193ce4a462f1e848a3ca5b5d4f8924eb

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

Change-Id: Ic8230d57c512c2ccbc54be5061caac490bcbe6d4

7 years agoImport translations. DO NOT MERGE am: 7e6e9220da -s ours am: d5bc80036b -s ours
Bill Yi [Thu, 20 Oct 2016 16:33:26 +0000 (16:33 +0000)]
Import translations. DO NOT MERGE am: 7e6e9220da  -s ours am: d5bc80036b  -s ours
am: e41b0705ee  -s ours

Change-Id: I28d4997cde7ae4552ff935ff6c02b408c45b87b9

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

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

Change-Id: I147e0e6546f7d367ff81d45bc66e7829bcf45267

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

Change-Id: Ibe7e7a4797602978d09a44aab39f49045f029748

7 years agoFix help & feedback link in data usage summary screen.
Fan Zhang [Thu, 20 Oct 2016 16:06:12 +0000 (09:06 -0700)]
Fix help & feedback link in data usage summary screen.

The fragment was not providing the correct string for help & feedback
button, causing no result page when user navigates to help article page
from actionbar overflow menu.

Change-Id: I076846c44d4fc95efea743f019a7ad4aab47f214
Fixes: 32291069
Test: manual

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

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

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

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 20 Oct 2016 14:40:28 +0000 (07:40 -0700)]
Import translations. DO NOT MERGE

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

7 years agoUse PasswordMetrics to remove duplicated code.
Andrew Scull [Tue, 2 Aug 2016 13:18:58 +0000 (14:18 +0100)]
Use PasswordMetrics to remove duplicated code.

Bug: 30558331
Test: manual
Change-Id: I832a0279d39dbe9900b284abd745d4cc40946a48

7 years agoMerge "Fix insufficint contrast on Vision Settings toggles." into nyc-mr1-dev am...
Anna Galusza [Thu, 20 Oct 2016 03:57:15 +0000 (03:57 +0000)]
Merge "Fix insufficint contrast on Vision Settings toggles." into nyc-mr1-dev am: ee502d5037 am: b104675957
am: d3bb66c47a

Change-Id: I4f998f93f2fca553656f1738f95d62ec28275b6c

7 years agoFix insufficint contrast on Vision Settings toggles. am: e212817785 am: 5bf1f668ff
Anna Galusza [Thu, 20 Oct 2016 03:57:00 +0000 (03:57 +0000)]
Fix insufficint contrast on Vision Settings toggles. am: e212817785 am: 5bf1f668ff
am: 0f2799799c

Change-Id: Idd8af227e76f36e6ca7fe148abba5ce065c21c38

7 years agoMerge "Fix insufficint contrast on Vision Settings toggles." into nyc-mr1-dev am...
Anna Galusza [Thu, 20 Oct 2016 03:46:56 +0000 (03:46 +0000)]
Merge "Fix insufficint contrast on Vision Settings toggles." into nyc-mr1-dev am: ee502d5037
am: b104675957

Change-Id: Id3c38bf0f288ec55bdedb2029eac7c713773c4a9

7 years agoFix insufficint contrast on Vision Settings toggles. am: e212817785
Anna Galusza [Thu, 20 Oct 2016 03:46:42 +0000 (03:46 +0000)]
Fix insufficint contrast on Vision Settings toggles. am: e212817785
am: 5bf1f668ff

Change-Id: I0ac8ad8d8cd0091224c2bf1a76ac4845b4c6cf31

7 years agoMerge "Fix insufficint contrast on Vision Settings toggles." into nyc-mr1-dev
Anna Galusza [Thu, 20 Oct 2016 03:38:11 +0000 (03:38 +0000)]
Merge "Fix insufficint contrast on Vision Settings toggles." into nyc-mr1-dev
am: ee502d5037

Change-Id: I23a6c8eb6911902fc9b9ecab8bb87e38c73371b5

7 years agoFix insufficint contrast on Vision Settings toggles.
Anna Galusza [Thu, 20 Oct 2016 03:38:11 +0000 (03:38 +0000)]
Fix insufficint contrast on Vision Settings toggles.
am: e212817785

Change-Id: I9969b046d52d6aff86fe6b0f5d44cce2cf49e8dd

7 years agoMerge "Fix insufficint contrast on Vision Settings toggles." into nyc-mr1-dev
Anna Galusza [Thu, 20 Oct 2016 03:32:22 +0000 (03:32 +0000)]
Merge "Fix insufficint contrast on Vision Settings toggles." into nyc-mr1-dev

7 years agoFix insufficint contrast on Vision Settings toggles.
Anna Galusza [Mon, 17 Oct 2016 19:23:08 +0000 (12:23 -0700)]
Fix insufficint contrast on Vision Settings toggles.

Bug: 29161887
Change-Id: I633ed3cf0fa00d3b697377118580471afaf30132

7 years agoMerge "Fixes how we read the current WiFi network IP address."
Jaewoong Jung [Wed, 19 Oct 2016 21:21:59 +0000 (21:21 +0000)]
Merge "Fixes how we read the current WiFi network IP address."

7 years agoMove add/remove/findPref to ProgressiveDisclosureMixin.
Fan Zhang [Wed, 19 Oct 2016 19:00:32 +0000 (12:00 -0700)]
Move add/remove/findPref to ProgressiveDisclosureMixin.

This makes ProgressiveDisclosureMixin the authority for adding/removing
preferences so caller doesn't need to figure out if a preference is on
screen or collapsed.

Bug: 32255863
Test: make RunSettingsRoboTests -j40
Change-Id: I9bd69661b78efd4bb4913665f6ea09f6bdc231f5

7 years agoFixes how we read the current WiFi network IP address.
Jaewoong Jung [Thu, 13 Oct 2016 21:21:52 +0000 (14:21 -0700)]
Fixes how we read the current WiFi network IP address.

The old logic could read the current IP address only when the network has the
Internet access.

Bug: 31934577
Test: Manual inspection
Test: make RunSettingsRoboTests -j40

Change-Id: I46fe6f6fb4322e8245d3ac66ac6530228c226d16

7 years agoMerge "Add progressive disclsoure"
TreeHugger Robot [Wed, 19 Oct 2016 16:14:01 +0000 (16:14 +0000)]
Merge "Add progressive disclsoure"

7 years agoMerge "Updating colors as part of bluetooth refactoring"
Salvador Martinez [Wed, 19 Oct 2016 03:36:09 +0000 (03:36 +0000)]
Merge "Updating colors as part of bluetooth refactoring"

7 years agoMerge "Refactoring for bluetooth dialogs"
Salvador Martinez [Wed, 19 Oct 2016 03:36:09 +0000 (03:36 +0000)]
Merge "Refactoring for bluetooth dialogs"

7 years agoAdd progressive disclsoure
Fan Zhang [Tue, 18 Oct 2016 19:58:31 +0000 (12:58 -0700)]
Add progressive disclsoure

- Add a ProgressiveDisclosureMixin that contains all logic for collapse
  preference list when it's too long
- Refactored PreferenceController's updateState to take a preference
  instead of PreferenceScreen, because with progressive disclosure the
  preference can either be in screen or the mixin. DashboardFragment is
  responsible finding the preference before passing it to controller.

Bug: 32255863
Test: RunSettingsRoboTests

Change-Id: I6713abd61c954ce12732902e5b3ca4d4c0b1563e

7 years agoMerge "Add Sound to top level settings."
TreeHugger Robot [Tue, 18 Oct 2016 23:56:56 +0000 (23:56 +0000)]
Merge "Add Sound to top level settings."