OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Add support for FEATURE_NFC_ANDROID_BEAM" am: 6827785e52 am: 39845367ab
Ruchi Kandoi [Fri, 4 Jan 2019 22:19:23 +0000 (14:19 -0800)]
Merge "Add support for FEATURE_NFC_ANDROID_BEAM" am: 6827785e52 am: 39845367ab
am: a7c886925f

Change-Id: I08ff3b1bd80e913aeec9800b1c5ddce69543ba3c

5 years agoMerge "Add support for FEATURE_NFC_ANDROID_BEAM" am: 6827785e52
Ruchi Kandoi [Fri, 4 Jan 2019 22:07:48 +0000 (14:07 -0800)]
Merge "Add support for FEATURE_NFC_ANDROID_BEAM" am: 6827785e52
am: 39845367ab

Change-Id: Ia7fc968221a6eb314a9ee384e0dd84d3aa0e84b4

5 years agoMerge "Add support for FEATURE_NFC_ANDROID_BEAM"
Ruchi Kandoi [Fri, 4 Jan 2019 21:58:22 +0000 (13:58 -0800)]
Merge "Add support for FEATURE_NFC_ANDROID_BEAM"
am: 6827785e52

Change-Id: I7c71bad831892bf9a853ca5d4777e42c1b3a9171

5 years agoMerge "Add support for FEATURE_NFC_ANDROID_BEAM"
Treehugger Robot [Fri, 4 Jan 2019 21:49:14 +0000 (21:49 +0000)]
Merge "Add support for FEATURE_NFC_ANDROID_BEAM"

5 years agoMerge "Prevent ringing gesture uses master switch"
Beverly Tai [Fri, 4 Jan 2019 18:36:56 +0000 (18:36 +0000)]
Merge "Prevent ringing gesture uses master switch"

5 years agoMerge "Fix notification widget's alerting logs"
TreeHugger Robot [Fri, 4 Jan 2019 17:44:37 +0000 (17:44 +0000)]
Merge "Fix notification widget's alerting logs"

5 years agoMerge "RuntimePermissionPresenter was renamed to PermissionControllerManager"
Philip P. Moltmann [Fri, 4 Jan 2019 17:32:43 +0000 (17:32 +0000)]
Merge "RuntimePermissionPresenter was renamed to PermissionControllerManager"

5 years agoFix notification widget's alerting logs
Julia Reynolds [Fri, 4 Jan 2019 16:09:35 +0000 (11:09 -0500)]
Fix notification widget's alerting logs

- Use last alerted time if available
- Read from channel

Test: manual
Change-Id: I5e3ab7e234c9c6766a1a4dffb5636a633f6b5f2e
Fixes: 74495461

5 years agoMerge "Update the icon in BluetoothDevicesSlice"
Yanting Yang [Fri, 4 Jan 2019 14:04:27 +0000 (14:04 +0000)]
Merge "Update the icon in BluetoothDevicesSlice"

5 years agoMerge "Centerize contents of contextual cards and remove white space."
TreeHugger Robot [Fri, 4 Jan 2019 09:26:28 +0000 (09:26 +0000)]
Merge "Centerize contents of contextual cards and remove white space."

5 years agoMerge "Add more Wi-Fi DPP UI features."
Arc Wang [Fri, 4 Jan 2019 08:55:53 +0000 (08:55 +0000)]
Merge "Add more Wi-Fi DPP UI features."

5 years agoUpdate the icon in BluetoothDevicesSlice
Yanting Yang [Fri, 4 Jan 2019 08:49:27 +0000 (16:49 +0800)]
Update the icon in BluetoothDevicesSlice

- By request from UX team, to update the settings icon of end item.
- Also correct the icon to ic_menu_add in pair new device slice action.

Bug: 114807655
Test: visual, robotests
Change-Id: I5e9f533eec953c415cffea1860608291a3c408a5

5 years agoCenterize contents of contextual cards and remove white space.
Yi-Ling Chuang [Fri, 4 Jan 2019 07:43:58 +0000 (15:43 +0800)]
Centerize contents of contextual cards and remove white space.

Decrease the minHeight of the two buttons in the dismissal view and have
the contents centered.

Change-Id: I806e8ccae88e693dc222a13940597fd33684ee70
Fixes: 120086509
Test: visual

5 years agoAdd more Wi-Fi DPP UI features.
Arc Wang [Thu, 3 Jan 2019 10:36:27 +0000 (18:36 +0800)]
Add more Wi-Fi DPP UI features.

1. Update strings and icons.
2. Add more UI features in WifiDppAddDeviceFragment &
   WifiDppChooseSavedWifiNetworkFragment.

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

5 years agoMerge "Change action WIFI_DPP_CONFIGURATOR_CHOOSE_SAVED_WIFI_NETWORK to PROCESS_WIFI_...
TreeHugger Robot [Fri, 4 Jan 2019 03:29:07 +0000 (03:29 +0000)]
Merge "Change action WIFI_DPP_CONFIGURATOR_CHOOSE_SAVED_WIFI_NETWORK to PROCESS_WIFI_DPP_QR_CODE for more intuitive naming."

5 years agoMerge changes from topic "status_bar_80%_white"
TreeHugger Robot [Fri, 4 Jan 2019 03:08:44 +0000 (03:08 +0000)]
Merge changes from topic "status_bar_80%_white"

* changes:
  Fine tune items position of homepage
  Make status bar become 80% of white in homepage.

5 years agoMerge "Fix WiFi calling option is showing in search result regardless the carrier...
Stanley Wang [Fri, 4 Jan 2019 02:12:54 +0000 (02:12 +0000)]
Merge "Fix WiFi calling option is showing in search result regardless the carrier supports VoWiFi or not"

5 years agoChange action WIFI_DPP_CONFIGURATOR_CHOOSE_SAVED_WIFI_NETWORK to
Arc Wang [Thu, 3 Jan 2019 10:09:06 +0000 (18:09 +0800)]
Change action WIFI_DPP_CONFIGURATOR_CHOOSE_SAVED_WIFI_NETWORK to
PROCESS_WIFI_DPP_QR_CODE for more intuitive naming.

This change also caches the Wi-Fi DPP QR code in activity for
fragment to use.

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

5 years agoMerge "Rename updatable graphics driver to Game Update Package."
TreeHugger Robot [Thu, 3 Jan 2019 23:06:35 +0000 (23:06 +0000)]
Merge "Rename updatable graphics driver to Game Update Package."

5 years agoMerge "Update battery dashboard based on spec"
TreeHugger Robot [Thu, 3 Jan 2019 22:17:19 +0000 (22:17 +0000)]
Merge "Update battery dashboard based on spec"

5 years agoMerge "Display BT device even without legal name"
Lei Yu [Thu, 3 Jan 2019 22:14:50 +0000 (22:14 +0000)]
Merge "Display BT device even without legal name"

5 years agoMerge "Add title support for SlicePreference"
TreeHugger Robot [Thu, 3 Jan 2019 21:37:41 +0000 (21:37 +0000)]
Merge "Add title support for SlicePreference"

5 years agoUpdate battery dashboard based on spec
jackqdyulei [Wed, 2 Jan 2019 23:22:55 +0000 (15:22 -0800)]
Update battery dashboard based on spec

Following CL will change "battery suggestion" to card layout.

Bug: 119618813
Test: Screenshot
Change-Id: If71e5c0e4a4e230358aa0c8aa584028082f31d2e

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 agoRuntimePermissionPresenter was renamed to PermissionControllerManager
Philip P. Moltmann [Fri, 21 Dec 2018 18:22:50 +0000 (10:22 -0800)]
RuntimePermissionPresenter was renamed to PermissionControllerManager

The new name better matches the functionality

Test: Looked at the settings pages affected and verified data that came
      from the service
Change-Id: I796b93b0491a24b0cf857d17659f79660a8fc18a

5 years agoRename updatable graphics driver to Game Update Package.
Peiyong Lin [Wed, 26 Dec 2018 21:21:40 +0000 (13:21 -0800)]
Rename updatable graphics driver to Game Update Package.

We have rebranded this project to Game Update Package, and GUP for short.

BUG: 119221883
Test: Build, flash and boot. Verify by going to developer options.
Change-Id: Ibc0814b6cd1e9bee991624c925456bc330fd93c6

5 years agoAdd title support for SlicePreference
jackqdyulei [Thu, 3 Jan 2019 18:35:39 +0000 (10:35 -0800)]
Add title support for SlicePreference

Bug: 120803703
Test: Manual
Change-Id: Icc529515a82430aa2cab869b9c85c855e47798ce

5 years agoPrevent ringing gesture uses master switch
Beverly [Wed, 2 Jan 2019 23:25:00 +0000 (18:25 -0500)]
Prevent ringing gesture uses master switch

Test: make ROBOTEST_FILTER=PreventRingingGesturePreferenceControllerTest RunSettingsRoboTests
Test: make ROBOTEST_FILTER=PreventRingingSwitchPreferenceControllerTest RunSettingsRoboTests
Change-Id: Iaf356ccd3623e67c39810955093fc353ae0d10a0
Fixes: 119787033

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 agoFix WiFi calling option is showing in search result regardless the carrier supports...
Stanley Wang [Fri, 28 Dec 2018 10:39:47 +0000 (18:39 +0800)]
Fix WiFi calling option is showing in search result regardless the carrier supports VoWiFi or not

Change Availability Status to UNSUPPORTED_ON_DEVICE when device doesn't
support VoWiFi.

Change-Id: I8ac501cf7442f1cd7d41f61d2db912d82a9e8c25
Fixes: 120806624
Test: manual and robotests

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 agoFine tune items position of homepage
tmfang [Tue, 25 Dec 2018 11:22:46 +0000 (19:22 +0800)]
Fine tune items position of homepage

Since homepage becomes full screen and status bar is 80% of white,
some homepage items are overlappd by status bar.

Enlarge padding size and add a space for fixing this problem.

Test: visual
Bug: 116346521

Change-Id: I7bc9e9a08adafb8fe38bedf527199e4db4424fd0

5 years agoMake status bar become 80% of white in homepage.
tmfang [Tue, 25 Dec 2018 07:18:07 +0000 (15:18 +0800)]
Make status bar become 80% of white in homepage.

Test: visual
Change-Id: I005b49306e4c397d9f1fc5062da721709f303a1d
Fixes: 116346521

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 agoDisplay BT device even without legal name
jackqdyulei [Wed, 2 Jan 2019 21:49:19 +0000 (13:49 -0800)]
Display BT device even without legal name

So user has ability to forget this device in settings app.

Change-Id: I756df1e3df1a14c00ad7c68c34b6ad6ccc8d835c
Fixes: 120474281
Test: Manual

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