OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Release the media player when the video preference is not visible."
TreeHugger Robot [Thu, 3 Jan 2019 20:15:33 +0000 (20:15 +0000)]
Merge "Release the media player when the video preference is not visible."

5 years agoMerge "Add display white balance setting"
Christine Franks [Thu, 3 Jan 2019 16:25:28 +0000 (16:25 +0000)]
Merge "Add display white balance setting"

5 years agoMerge "Show "Done" button to prevent user from getting stuck"
TreeHugger Robot [Thu, 3 Jan 2019 07:20:19 +0000 (07:20 +0000)]
Merge "Show "Done" button to prevent user from getting stuck"

5 years agoMerge "Adjust landscape layout of QR code scanner/generator"
Johnson Lu [Thu, 3 Jan 2019 05:49:22 +0000 (05:49 +0000)]
Merge "Adjust landscape layout of QR code scanner/generator"

5 years agoRelease the media player when the video preference is not visible.
Raff Tsai [Wed, 2 Jan 2019 09:07:22 +0000 (17:07 +0800)]
Release the media player when the video preference is not visible.

Mediaplayer is not released when the device is paused, and hence it
keep consuming battery.

Fixes: 120945749
Test: adb root && watch -n 0.5 -d "adb shell cat /sys/kernel/debug/msm_vidc/core0/inst*/info\|egrep -i \"height\|width\|instance\|fps\|name\""
      Use above command to check if any decoder instance exists.

Change-Id: Ia0edbba0c2fd3c70753bc36d23d82c0770f95672

5 years agoMerge "Update Settings text styles to use DeviceDefault."
TreeHugger Robot [Thu, 3 Jan 2019 04:03:16 +0000 (04:03 +0000)]
Merge "Update Settings text styles to use DeviceDefault."

5 years agoAdjust landscape layout of QR code scanner/generator
Johnson Lu [Thu, 3 Jan 2019 03:41:26 +0000 (11:41 +0800)]
Adjust landscape layout of QR code scanner/generator

Bug: 118794858
Test: RunSettingsRoboTests
Change-Id: Ifaef7c5fe02abbb377efeb0ab345976ab439aeb0

5 years agoMerge "Use settings gear widget layout"
TreeHugger Robot [Thu, 3 Jan 2019 02:36:31 +0000 (02:36 +0000)]
Merge "Use settings gear widget layout"

5 years agoMerge "Add the missing unit test"
TreeHugger Robot [Thu, 3 Jan 2019 01:19:38 +0000 (01:19 +0000)]
Merge "Add the missing unit test"

5 years agoMerge "Add lost prefController to WifiTetherSettings"
Lei Yu [Wed, 2 Jan 2019 23:07:08 +0000 (23:07 +0000)]
Merge "Add lost prefController to WifiTetherSettings"

5 years agoAdd the missing unit test
Lifu Tang [Thu, 27 Dec 2018 19:43:50 +0000 (11:43 -0800)]
Add the missing unit test

Bug: 120910747
Test: build and run the unit test
Change-Id: Id1feb51a1577e9d0c90bff812d78e581e5dc5168

5 years agoUse settings gear widget layout
Beverly [Wed, 2 Jan 2019 20:59:09 +0000 (15:59 -0500)]
Use settings gear widget layout

Instead of a custom image view for zen_rule_widget

Test: manual
Change-Id: I9e2bd75a8fa661434cf5e5f6ab65bd21d29c30ed
Fixes: 120913779

5 years agoUpdate Settings text styles to use DeviceDefault.
Amin Shaikh [Wed, 19 Dec 2018 19:42:59 +0000 (14:42 -0500)]
Update Settings text styles to use DeviceDefault.

- Replace all TextAppearance.Material styles with the equivalent
TextAppearance.DeviceDefault style
- Reparent Theme.Settings.HomeBase to inherit from Theme.Settings. This
ensures that the correct textAppearance theme attributes are applied
throughout the Settings application.

Bug: 121211932
Test: manually opening Settings and enabling/disabling HotDogOverlay
Change-Id: Ibe4873ed0294de79dbb6aeca464d14c291239c4b

5 years agoAdd lost prefController to WifiTetherSettings
jackqdyulei [Wed, 2 Jan 2019 19:24:12 +0000 (11:24 -0800)]
Add lost prefController to WifiTetherSettings

One controller is lost during a refactor(ag/4774003), this CL adds
it back.

Change-Id: Ie50a3ac009f302d4fd7a179117fe026031cc1ae8
Fixes: 122235175
Test: RunSettingsRoboTests

5 years agoRefine Wi-Fi DPP fragments.
Arc Wang [Thu, 27 Dec 2018 09:00:15 +0000 (17:00 +0800)]
Refine Wi-Fi DPP fragments.

1. WifiDppQrCodeBaseFragment only declairs common UI components between fragments.
2. Initiate UI components in onViewCreated of each View.
3. Remove the only one usage of @NonNull since it should be used consistently
   throughout the class if we want to use it.
4. Use android.R.id for icon/title/summary

Bug: 120645817
Test: atest WifiDppConfiguratorActivityTest
      atest WifiDppEnrolleeActivityTest
      atest WifiDppQrCodeGeneratorFragmentTest
      atest WifiDppQrCodeScannerFragmentTest

Change-Id: I54f99a3072533cec46f0e47753ee0331fecf2ada

5 years agoImplement Wi-Fi QR code scanner flow.
Arc Wang [Thu, 27 Dec 2018 05:54:15 +0000 (13:54 +0800)]
Implement Wi-Fi QR code scanner flow.

1. Implements WifiNetworkConfig Wi-Fi connection method
2. Shows error message when the QR code is not valid and hides it after 2s
3. In configurator mode, launchs AddDeviceFragment for a valid QR code
4. In enrollee mode, connects Wi-Fi for a valid QR code

Bug: 118794978
Test: manual test
      atest WifiQrCodetest
      atest WifiDppConfiguratorActivityTest
      atest WifiDppEnrolleeActivityTest
      atest WifiDppQrCodeScannerFragmentTest

Change-Id: Ie4731b22df295c60906156d33ea28dad9c084ce4

5 years agoAdd connect() method in WifiNetworkConfig to connect Wi-fi.
Arc Wang [Thu, 27 Dec 2018 03:39:22 +0000 (11:39 +0800)]
Add connect() method in WifiNetworkConfig to connect Wi-fi.

This method uses data of ZXing Wi-Fi QR code to connect.

Bug: 118794978
Test: manual test
Change-Id: I249f2f638c8d2fe231c50ba50eae8dfc0dc40a5c

5 years agoFix ZXing Wi-Fi QR code parsing bug.
Arc Wang [Thu, 27 Dec 2018 02:19:21 +0000 (10:19 +0800)]
Fix ZXing Wi-Fi QR code parsing bug.

ZXing Wi-Fi QR code uses ';' as the delimiter for key/value pairs,
should not treat an escaped "\;" as the delimiter.

This fix also change the parsing result:

  If there is no specified key, the result value is null.
  If specified key exists with empty value, the result value is an empty string.

Bug: 118797380
Test: atest WifiQrCodetest
Change-Id: I786ce7c4fa66dcb31d8a61d7a3251c2f539ccc99

5 years agoMerge "Change privacy setting string"
Cosmo Hsieh [Wed, 2 Jan 2019 05:40:11 +0000 (05:40 +0000)]
Merge "Change privacy setting string"

5 years agoRefine decorate view of QR Code scanner
Johnson Lu [Mon, 24 Dec 2018 09:29:06 +0000 (17:29 +0800)]
Refine decorate view of QR Code scanner

1.Draw rounded corner line.
2.Paint 70% white transparency background.

Bug: 118797380
Test: make RunSettingsRoboTests
Change-Id: I1192e32cf4ec801a3efcad4287c2e547deeac3bf

5 years ago[automerger skipped] Import translations. DO NOT MERGE am: 9e39db9d62 -s ours
Bill Yi [Sat, 29 Dec 2018 02:07:21 +0000 (18:07 -0800)]
[automerger skipped] Import translations. DO NOT MERGE am: 9e39db9d62  -s ours
am: 5285ef3490  -s ours

Change-Id: If76fe3e71cc1705530953a23eee19a2c53d4876c

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sat, 29 Dec 2018 02:03:18 +0000 (18:03 -0800)]
[automerger skipped] Import translations. DO NOT MERGE
am: 9e39db9d62  -s ours

Change-Id: I7fee4d617fe40d725dbd8bee03e138b95fb3cb9c

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 28 Dec 2018 21:41:40 +0000 (13:41 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2fd8dffe12b55f223316b37c9c097194e7cf426f

5 years agoMerge "Fix distortion in conditional cards"
Mill Chen [Fri, 28 Dec 2018 03:35:21 +0000 (03:35 +0000)]
Merge "Fix distortion in conditional cards"

5 years agoChange privacy setting string
cosmohsieh [Wed, 19 Dec 2018 08:25:02 +0000 (16:25 +0800)]
Change privacy setting string

Change privacy setting (mac randomized) string

Test: manual and robotests
Change-Id: I264c89e0b8ccaeff0a057ff7d791d006a5e7d7cd

5 years agoMerge "Show QR Code picture for WiFi sharing"
Johnson Lu [Fri, 28 Dec 2018 01:00:37 +0000 (01:00 +0000)]
Merge "Show QR Code picture for WiFi sharing"

5 years agoMerge "Add PreferenceChangeListener to ApnSettings" am: 66d28c3e37 am: 9745ec5421
Pengquan Meng [Fri, 28 Dec 2018 00:08:07 +0000 (16:08 -0800)]
Merge "Add PreferenceChangeListener to ApnSettings" am: 66d28c3e37 am: 9745ec5421
am: 1f2ba13698

Change-Id: I6f62e47e04e74cd1d2d9ec7fa3b35032ab8c3ad6

5 years agoMerge "Add PreferenceChangeListener to ApnSettings" am: 66d28c3e37
Pengquan Meng [Thu, 27 Dec 2018 23:55:34 +0000 (15:55 -0800)]
Merge "Add PreferenceChangeListener to ApnSettings" am: 66d28c3e37
am: 9745ec5421

Change-Id: I6a6021f131f568b51fb491248d71e4ccbcdc49ef

5 years agoMerge "Add PreferenceChangeListener to ApnSettings"
Pengquan Meng [Thu, 27 Dec 2018 23:51:21 +0000 (15:51 -0800)]
Merge "Add PreferenceChangeListener to ApnSettings"
am: 66d28c3e37

Change-Id: Ideef529174f7b8b89f5668f7c9366cea090df68f

5 years agoMerge "Add PreferenceChangeListener to ApnSettings"
Pengquan Meng [Thu, 27 Dec 2018 23:36:18 +0000 (23:36 +0000)]
Merge "Add PreferenceChangeListener to ApnSettings"

5 years ago[automerger skipped] Merge "Update color-check-baseline.xml" am: 81cb8a2612 -s ours...
Lei Yu [Thu, 27 Dec 2018 21:56:45 +0000 (13:56 -0800)]
[automerger skipped] Merge "Update color-check-baseline.xml" am: 81cb8a2612  -s ours am: 3461bd0644  -s ours
am: 2b976cce96  -s ours

Change-Id: I73a07959ae2ce9fa968af7cada9f0c943ed63c18

5 years ago[automerger skipped] Merge "Update color-check-baseline.xml" am: 81cb8a2612 -s ours
Lei Yu [Thu, 27 Dec 2018 21:49:35 +0000 (13:49 -0800)]
[automerger skipped] Merge "Update color-check-baseline.xml" am: 81cb8a2612  -s ours
am: 3461bd0644  -s ours

Change-Id: I6e510de1b75e2656e4f82727e2a9911f3e32d8d7

5 years ago[automerger skipped] Merge "Update color-check-baseline.xml"
Lei Yu [Thu, 27 Dec 2018 21:45:22 +0000 (13:45 -0800)]
[automerger skipped] Merge "Update color-check-baseline.xml"
am: 81cb8a2612  -s ours

Change-Id: Id047f4c0964dc1f38ebf4c1afc46796c9c793ea1

5 years agoShow "Done" button to prevent user from getting stuck
Kevin Chyn [Thu, 27 Dec 2018 21:38:35 +0000 (13:38 -0800)]
Show "Done" button to prevent user from getting stuck

When the user has already reached max enrollments, we should show a done
button. It's possible to get to the introduction page (back button during
SUW, or launching android.settings.BIOMETRIC_ENROLL).

Bug: 111548033
Test: Done button is shown and works as expected when max enrollments
Change-Id: Ia70c21f63606393116e222ca940ee93bcfb25995

5 years agoMerge "Update color-check-baseline.xml"
Lei Yu [Thu, 27 Dec 2018 21:35:31 +0000 (21:35 +0000)]
Merge "Update color-check-baseline.xml"

5 years agoAdd PreferenceChangeListener to ApnSettings
Pengquan Meng [Thu, 27 Dec 2018 21:22:55 +0000 (13:22 -0800)]
Add PreferenceChangeListener to ApnSettings

The PreferenceChangeListener was removed from aosp/779634, when the
selected apn is changed, the result is not saved to the database.

In this CL, we add the PreferenceChangeListener back.

Bug: 121229775
Test: build & manual test
Change-Id: Ief1a2e05c072e5eff8060731b044c19878d346be

5 years agoMerge "Fix App data usage screen header title changing after device orientation"
TreeHugger Robot [Thu, 27 Dec 2018 15:59:25 +0000 (15:59 +0000)]
Merge "Fix App data usage screen header title changing after device orientation"

5 years agoMerge "Clean up assertion methods in SliceTester"
Yanting Yang [Thu, 27 Dec 2018 12:11:01 +0000 (12:11 +0000)]
Merge "Clean up assertion methods in SliceTester"

5 years agoFix App data usage screen header title changing after device orientation
Edgar Wang [Thu, 27 Dec 2018 06:03:10 +0000 (14:03 +0800)]
Fix App data usage screen header title changing after device orientation

- Chageed the title "App data usage" to "Mobile data & Wi-Fi"

Change-Id: I0fa00180eedda6be6189f871f9984ac164f9fb67
Fixes: 118770561
Test: visual & robotests

5 years agoClean up assertion methods in SliceTester
Yanting Yang [Wed, 19 Dec 2018 15:09:22 +0000 (23:09 +0800)]
Clean up assertion methods in SliceTester

Fixes: 120592507
Test: robotests
Change-Id: Ic20fa96aa500d9ab50ef2adcb59f48c328989ec8

5 years agoShow QR Code picture for WiFi sharing
Johnson Lu [Thu, 20 Dec 2018 07:02:50 +0000 (15:02 +0800)]
Show QR Code picture for WiFi sharing

Bug: 118794858
Test: make RunSettingsRoboTests
Change-Id: Ic5a489840ba59262eb444f02d77bf066889a4220

5 years agoMerge "Apply FooterButton builder"
Pasty Chang [Thu, 27 Dec 2018 01:18:53 +0000 (01:18 +0000)]
Merge "Apply FooterButton builder"

5 years agoRenamed method
Lucas Dupin [Mon, 24 Dec 2018 22:41:15 +0000 (14:41 -0800)]
Renamed method

Test: make
Bug: 111405682
Change-Id: If3e48c5ee5f90aefb2795ce31025fabec689e7ad

5 years agoMerge "Clean up styles and aliases"
TreeHugger Robot [Wed, 26 Dec 2018 10:10:27 +0000 (10:10 +0000)]
Merge "Clean up styles and aliases"

5 years agoApply FooterButton builder
pastychang [Wed, 26 Dec 2018 02:46:40 +0000 (10:46 +0800)]
Apply FooterButton builder

FotterButton constructor in setupcompat will be deprecated, change to
use builder.

Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: Ic84b0c91205bf3c770bc658e8eaf2626e4d7bddd

5 years agoFix distortion in conditional cards
Mill Chen [Tue, 25 Dec 2018 10:02:18 +0000 (18:02 +0800)]
Fix distortion in conditional cards

When setting device font and display size to largest, conditional cards
will get distorted. The fix is to add a different layout for screens that
have smaller than 360dp available width.

Change-Id: I8b61c9d8a568e79045e4a490aa387c801a57f9a7
Fixes: 119505249
Test: visual

5 years agoMerge "Migrating to new footer button for lockscreen pages."
Pasty Chang [Wed, 26 Dec 2018 06:31:15 +0000 (06:31 +0000)]
Merge "Migrating to new footer button for lockscreen pages."

5 years agoClean up styles and aliases
Raff Tsai [Wed, 26 Dec 2018 04:54:05 +0000 (12:54 +0800)]
Clean up styles and aliases

- Remove unused style
- Remove identical style declaration

Test: Manual, Robolectric
Change-Id: Ia98ed82e6ccd4a25af6abbc66709eda1867581ee

5 years agoMigrating to new footer button for lockscreen pages.
pastychang [Mon, 17 Dec 2018 06:50:27 +0000 (14:50 +0800)]
Migrating to new footer button for lockscreen pages.

Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: I12d68cd2eaa750eecd2c40e172efd6b6b16a0849

5 years agoImplement the Copyable interface to FirmwareVersionPreferenceController
Stanley Wang [Mon, 24 Dec 2018 10:30:17 +0000 (18:30 +0800)]
Implement the Copyable interface to FirmwareVersionPreferenceController

Copy the device version number to clipboard for Copyable.

Change-Id: Ibb687be442dd702c1197c7e8295fac5b914a7047
Fixes: 121463656
Test: manual and robotests

5 years agoMerge "Cleans up DefaultAppShortcutPreferenceControllerBaseTest.java"
TreeHugger Robot [Mon, 24 Dec 2018 06:05:26 +0000 (06:05 +0000)]
Merge "Cleans up DefaultAppShortcutPreferenceControllerBaseTest.java"

5 years agoMerge "Change layout prefix of setupdesign from suw to sud"
Cn Chen [Mon, 24 Dec 2018 03:52:00 +0000 (03:52 +0000)]
Merge "Change layout prefix of setupdesign from suw to sud"

5 years agoCleans up DefaultAppShortcutPreferenceControllerBaseTest.java
Console Chen [Thu, 20 Dec 2018 07:41:33 +0000 (15:41 +0800)]
Cleans up DefaultAppShortcutPreferenceControllerBaseTest.java

- Checks the next started activity in robolectric with:
  ShadowActivity.getNextStartedActivity();
  instead of spying Activity
- Uses ShadowUserManager instead of spying UserManager

Change-Id: I3de9637f77401ca0dfab1b061a2846e7443170ad
Fixes: 117990359
Test: Robo test

5 years agoChange layout prefix of setupdesign from suw to sud
pastychang [Fri, 21 Dec 2018 06:01:18 +0000 (14:01 +0800)]
Change layout prefix of setupdesign from suw to sud

Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: Icd24f0336191c4575838cb1b9d131c885304b527

5 years agoMerge "Set default value for mobile listPreference"
Pengquan Meng [Sun, 23 Dec 2018 02:18:20 +0000 (02:18 +0000)]
Merge "Set default value for mobile listPreference"

5 years agoRemove ignore in Robolectric test
Raff Tsai [Sat, 22 Dec 2018 09:06:52 +0000 (17:06 +0800)]
Remove ignore in Robolectric test

This was broken due to framework changes. Now framework works with
this well.

Change-Id: I2d862d4851efaefcd9866e9fd4b6deb6450f296c
Fixes: 119592320
Test: make RunSettingsRoboTests

5 years agoMerge "Fix test cases for impending Robolectric merge"
James Lemieux [Sat, 22 Dec 2018 01:50:48 +0000 (01:50 +0000)]
Merge "Fix test cases for impending Robolectric merge"

5 years ago[automerger skipped] Import translations. DO NOT MERGE am: 05cf17a925 -s ours
Bill Yi [Sat, 22 Dec 2018 01:27:10 +0000 (17:27 -0800)]
[automerger skipped] Import translations. DO NOT MERGE am: 05cf17a925  -s ours
am: 9ad826208e  -s ours

Change-Id: I0615833b428b3a9ccb115073420402e9d07d2e94

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sat, 22 Dec 2018 01:21:21 +0000 (17:21 -0800)]
[automerger skipped] Import translations. DO NOT MERGE
am: 05cf17a925  -s ours

Change-Id: I2c59a155b3d113099069840a08da8d90f8d1543c

5 years agoMerge "Add mechanism for vendor-specific enrollment"
TreeHugger Robot [Sat, 22 Dec 2018 01:01:53 +0000 (01:01 +0000)]
Merge "Add mechanism for vendor-specific enrollment"

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 22 Dec 2018 00:07:42 +0000 (16:07 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 118717573
Change-Id: Ifd74addec939651ce1aafca0d422f7fb65553a3a

5 years agoSet default value for mobile listPreference
jackqdyulei [Fri, 21 Dec 2018 23:32:58 +0000 (15:32 -0800)]
Set default value for mobile listPreference

In some cases we don't set value for listPreference, so we need to set
a default one. This is a bug from code migration.

Change-Id: I8072b2a288a6a1254dceabea963f19459b0a9011
Fixes: 119770064
Test: RunSettingsRoboTests

5 years agoMerge "Revert "Get enrollment animation from overlay""
Kevin Chyn [Fri, 21 Dec 2018 22:23:55 +0000 (22:23 +0000)]
Merge "Revert "Get enrollment animation from overlay""

5 years agoFix test cases for impending Robolectric merge
James Lemieux [Mon, 17 Dec 2018 21:34:20 +0000 (13:34 -0800)]
Fix test cases for impending Robolectric merge

Bug: 121048884
Test: make -j56 RunSettingsRoboTests
Change-Id: I13568f48b66c79ff6f7806d8bc2c54ba05e7f595

5 years agoUpdate color-check-baseline.xml
Lei Yu [Fri, 21 Dec 2018 22:12:26 +0000 (14:12 -0800)]
Update color-check-baseline.xml

Since these colors are already fixed in internal master(ag/4164571).
This CL only update the baseline and won't merge down.

Change-Id: I19dbca351fb786b9dbbb84bf7f50ccc0347bd0cf
Merged-In: Ic361155d7cd36a2f1cca96e918af0e3855fb8ced
Fixes: 110960820
Test: repohook

5 years agoMerge "Add custom dnd pages for each dnd auto rule"
TreeHugger Robot [Fri, 21 Dec 2018 21:16:38 +0000 (21:16 +0000)]
Merge "Add custom dnd pages for each dnd auto rule"

5 years agoAdd mechanism for vendor-specific enrollment
Kevin Chyn [Fri, 21 Dec 2018 20:42:57 +0000 (12:42 -0800)]
Add mechanism for vendor-specific enrollment

Bug: 111548033
Test: Builds
Change-Id: I1b87d40a584ea21c3de50651f880ce94ed7d40d7

5 years agoRevert "Get enrollment animation from overlay"
Kevin Chyn [Fri, 21 Dec 2018 18:20:19 +0000 (18:20 +0000)]
Revert "Get enrollment animation from overlay"

This reverts commit 9ed7cb40cb72d4f646e2d1ef7cd80ed5a80bfdde.

Bug: 111548033
Bug: 121222038
Change-Id: Ic9c85628c45ea5327d0d3b6969034c13789b920c

5 years agoAdd display white balance setting
Christine Franks [Wed, 5 Dec 2018 23:35:42 +0000 (15:35 -0800)]
Add display white balance setting

Bug: 111215474
Test: make RunSettingsRoboTests -j100
Change-Id: Icf31ff820008740312ad811d0eda72fd3fb90a63

5 years agoMerge "Limit displayable rows in BluetoothDevicesSlice"
Yanting Yang [Fri, 21 Dec 2018 11:46:45 +0000 (11:46 +0000)]
Merge "Limit displayable rows in BluetoothDevicesSlice"

5 years agoMerge "Implement the Copyable interface to BuildNumberPreferenceController"
Stanley Wang [Fri, 21 Dec 2018 10:39:47 +0000 (10:39 +0000)]
Merge "Implement the Copyable interface to BuildNumberPreferenceController"

5 years agoLimit displayable rows in BluetoothDevicesSlice
Yanting Yang [Thu, 20 Dec 2018 14:23:00 +0000 (22:23 +0800)]
Limit displayable rows in BluetoothDevicesSlice

The maximum displayable row count in current design is 3.
i.e., There are 1 header and 3 rows in a Slice when the number of
Bluetooth device exceeds 3.

Change-Id: Ie585617da0665dde4cbe1ab60a2693e3e1199c27
Fixes: 121308955
Bug: 114807655
Test: visual, robotests

5 years agoMerge "Add GPS to location setting's search keyword"
TreeHugger Robot [Fri, 21 Dec 2018 07:27:37 +0000 (07:27 +0000)]
Merge "Add GPS to location setting's search keyword"

5 years agoMerge "Support Bluetooth activation in BluetoothDevicesSlice"
Yanting Yang [Fri, 21 Dec 2018 03:44:42 +0000 (03:44 +0000)]
Merge "Support Bluetooth activation in BluetoothDevicesSlice"

5 years agoMerge "Remove tests in WifiSettingsUiTest"
TreeHugger Robot [Fri, 21 Dec 2018 03:33:34 +0000 (03:33 +0000)]
Merge "Remove tests in WifiSettingsUiTest"

5 years agoMerge "[automerger skipped] Merge "Moved data settings to phone" am: bcd6a7db39 am...
Android Build Merger (Role) [Fri, 21 Dec 2018 03:29:41 +0000 (03:29 +0000)]
Merge "[automerger skipped] Merge "Moved data settings to phone" am: bcd6a7db39 am: 67475a5c66 am: a91d29f5f0  -s ours"

5 years ago[automerger skipped] Merge "Moved data settings to phone" am: bcd6a7db39 am: 67475a5c66
Jack Yu [Fri, 21 Dec 2018 03:28:54 +0000 (19:28 -0800)]
[automerger skipped] Merge "Moved data settings to phone" am: bcd6a7db39 am: 67475a5c66
am: a91d29f5f0  -s ours

Change-Id: Ib7852dc376747b05a6e7ce1fb3391418d7ab01ef

5 years agoMerge "Migrating to new footer button for storage migrated pages"
Pasty Chang [Fri, 21 Dec 2018 03:27:06 +0000 (03:27 +0000)]
Merge "Migrating to new footer button for storage migrated pages"

5 years agoMerge "Moved data settings to phone" am: bcd6a7db39
Jack Yu [Fri, 21 Dec 2018 03:13:21 +0000 (19:13 -0800)]
Merge "Moved data settings to phone" am: bcd6a7db39
am: 67475a5c66

Change-Id: I5ae8d51ffbdfa41c0cfacd49a2d10524f6abdd25

5 years agoMerge "Moved data settings to phone"
Jack Yu [Fri, 21 Dec 2018 03:01:06 +0000 (19:01 -0800)]
Merge "Moved data settings to phone"
am: bcd6a7db39

Change-Id: I8fde45278c4a5db14f986ea87ab2bfa15b7507ab

5 years agoImplement the Copyable interface to BuildNumberPreferenceController
Stanley Wang [Thu, 13 Dec 2018 10:12:44 +0000 (18:12 +0800)]
Implement the Copyable interface to BuildNumberPreferenceController

Fixes: 121233543
Test: manual and robotests
Change-Id: I4f424be6dfeb2c9fc9ac0bc11b38139f7d52b2b7

5 years agoMerge "Remove frictionIconColor attribute"
TreeHugger Robot [Fri, 21 Dec 2018 02:45:08 +0000 (02:45 +0000)]
Merge "Remove frictionIconColor attribute"

5 years agoMerge "Rename SIM_APN_LIST to SIM_APN_URI" am: d594716359 am: a49da46d96
Calvin Pan [Fri, 21 Dec 2018 02:34:36 +0000 (18:34 -0800)]
Merge "Rename SIM_APN_LIST to SIM_APN_URI" am: d594716359 am: a49da46d96
am: 8c758f5ce7

Change-Id: Idbefe3b3cd87e4702852defa7382c30ff8f98e50

5 years agoMerge "Moved data settings to phone"
Jack Yu [Fri, 21 Dec 2018 02:29:43 +0000 (02:29 +0000)]
Merge "Moved data settings to phone"

5 years agoMerge "Rename SIM_APN_LIST to SIM_APN_URI" am: d594716359
Calvin Pan [Fri, 21 Dec 2018 02:22:01 +0000 (18:22 -0800)]
Merge "Rename SIM_APN_LIST to SIM_APN_URI" am: d594716359
am: a49da46d96

Change-Id: Ifa3dd2166fadd7c4fce234adedd6db3df3fcf577

5 years agoMerge "Rename SIM_APN_LIST to SIM_APN_URI"
Calvin Pan [Fri, 21 Dec 2018 01:48:19 +0000 (17:48 -0800)]
Merge "Rename SIM_APN_LIST to SIM_APN_URI"
am: d594716359

Change-Id: If8708a4d84fd8dce4c7e66507320cd35369331b2

5 years agoMerge "Rename SIM_APN_LIST to SIM_APN_URI"
Calvin Pan [Fri, 21 Dec 2018 01:31:44 +0000 (01:31 +0000)]
Merge "Rename SIM_APN_LIST to SIM_APN_URI"

5 years agoMerge "Schematize Setup Wizard System Properties"
TreeHugger Robot [Fri, 21 Dec 2018 01:01:49 +0000 (01:01 +0000)]
Merge "Schematize Setup Wizard System Properties"

5 years agoAdd GPS to location setting's search keyword
Fan Zhang [Fri, 21 Dec 2018 00:21:46 +0000 (16:21 -0800)]
Add GPS to location setting's search keyword

Change-Id: I01d0acbc9f8f212ec899b89b368c3e00f3d177f5
Fixes: 119137548
Test: reindex search

5 years agoRemove tests in WifiSettingsUiTest
jackqdyulei [Thu, 20 Dec 2018 23:51:06 +0000 (15:51 -0800)]
Remove tests in WifiSettingsUiTest

One is obsolete and one is covered by robo test

Change-Id: I862882c5e1f2f4a7be15b042a8f778a158a9b89c
Fixes: 73796195
Test: atest

5 years agoMoved data settings to phone
Jack Yu [Thu, 13 Dec 2018 19:51:20 +0000 (11:51 -0800)]
Moved data settings to phone

Since there are multiple DcTrackers, but we only have
one set of data settings. So we need to move them from
DcTracker to Phone.

Test: Telephony sanity tests + unit tests
Bug: 73659459
Merged-In: If11a6eff057a18b4aa97addbb348537bd3194e1a
Change-Id: If11a6eff057a18b4aa97addbb348537bd3194e1a
(cherry picked from commit 50972ed89e9871d73ee8722bcde458170084ba08)

5 years agoRemove frictionIconColor attribute
Fan Zhang [Thu, 20 Dec 2018 22:34:42 +0000 (14:34 -0800)]
Remove frictionIconColor attribute

Only 2 drawables need this attr, and they can both point to
colorControlNormal.

Fixes: 121196838
Test: visual - checked display color for wifi badging icons are the same
      in light/dark mode

Change-Id: Ia9555e93ab613fede4fa424460721ec1c7882d2b

5 years agoAdd custom dnd pages for each dnd auto rule
Beverly [Tue, 11 Dec 2018 21:19:33 +0000 (16:19 -0500)]
Add custom dnd pages for each dnd auto rule

- Fix strings
- Add zen custom settings dialog when custom settings are being applied
Test: make RunSettingsRoboTests -j40
Bug: 111475013
Fixes: 120787133
Fixes: 120796642
Fixes: 120865472
Change-Id: I34d6b4b23d36277e3704416d65e2418418c124e1

5 years agoMerge "Make taps on subscriptions in multi-network header go to mobile page"
TreeHugger Robot [Thu, 20 Dec 2018 18:59:54 +0000 (18:59 +0000)]
Merge "Make taps on subscriptions in multi-network header go to mobile page"

5 years agoMerge "Update the name of the status bar theme for Theme.Settings.HomeBase."
Doris Ling [Thu, 20 Dec 2018 18:02:49 +0000 (18:02 +0000)]
Merge "Update the name of the status bar theme for Theme.Settings.HomeBase."

5 years agoMake taps on subscriptions in multi-network header go to mobile page
Antony Sargent [Mon, 17 Dec 2018 23:23:44 +0000 (15:23 -0800)]
Make taps on subscriptions in multi-network header go to mobile page

This CL does 2 things:

-Makes the MobileNetworkActivity class capable of showing details for
 "available" in addition to just "active" networks. This is useful for
 dual-standby devices where one subscription is active and another is
 registered but not currently active. It also changes the title of this
 screen to be the network display name (defaults to the carrier name
 but can be customized by the user) instead of the generic "Mobile
 network".

-Wires up the subscription entries in the multi-network header (which
 only appears when a device has multiple subscriptions) so that taps on
 a subscription preference bring you to the MobileNetworkActivity screen
 to show details for that network.

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: I0e985652c1d8ec3c597b6b6e4426d222e2ad5352

5 years agoMigrating to new footer button for storage migrated pages
pastychang [Thu, 20 Dec 2018 08:54:38 +0000 (16:54 +0800)]
Migrating to new footer button for storage migrated pages

Remove unused files storage_wizard_ready.xml and storage_wizard_navigation.xml

Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: Ie3f0023413244dfc2b3f8dddae42977c920e93ac

5 years agoMerge "Update owners"
TreeHugger Robot [Thu, 20 Dec 2018 10:54:23 +0000 (10:54 +0000)]
Merge "Update owners"

5 years agoMerge "Implement QR code parser WifiQrCodetest."
TreeHugger Robot [Thu, 20 Dec 2018 10:05:26 +0000 (10:05 +0000)]
Merge "Implement QR code parser WifiQrCodetest."

5 years ago[automerger skipped] Merge "Remove unused system properties" am: fd0426d438 am: c3eb0...
Inseob Kim [Thu, 20 Dec 2018 09:52:24 +0000 (01:52 -0800)]
[automerger skipped] Merge "Remove unused system properties" am: fd0426d438 am: c3eb0887b0
am: 9d78bf6557  -s ours

Change-Id: If0f0c9b5a3ad48272ff626d666b7a27c116bbeee