Commit Graph

57548 Commits

Author SHA1 Message Date
Arc Wang
8e5f76b57f Merge "[Wi-Fi] Launch WifiNetworkDetailsFragment2 for a connected Wi-Fi network" 2019-12-18 09:02:54 +00:00
Arc Wang
808a9f11f5 Merge "[Wi-Fi] Replace WifiTracker with WifiTracker2 in WifiDetailPreferenceController2" 2019-12-18 09:02:37 +00:00
Paul Chang
70133b368f Merge "Update System default handler title on Bug report handler settings" 2019-12-18 07:57:26 +00:00
Paul Chang
dab972e95e Update System default handler title on Bug report handler settings
- Replace "Android System (Shell)" with "Android System"
- https://screenshot.googleplex.com/U3pxUHx3Uv0
- https://screenshot.googleplex.com/qKqqZUJM2w6

Bug: 143017534
Test: Flash device and check the title
Change-Id: I3036520d5887f70d1c43896eda56587d2ff9cdab
2019-12-18 15:56:07 +08:00
Arc Wang
ce5e7a4626 [Wi-Fi] Launch WifiNetworkDetailsFragment2 for a connected Wi-Fi network
This change also remove redundant code of WifiNetworkDetailsFragment2
from WifiSettings.

Bug: 143326832
Test: Manual
      Click connected Wi-Fi network and check the UI of
      WifiNetworkDetailsFragment2
Change-Id: Id72c26116177f8e7063e433a6456557bd36c7927
2019-12-18 07:23:14 +00:00
Goven Liu
b945785ddb Merge "[Wi-Fi] Use new defined proto field for adding new networks panel page." 2019-12-18 07:22:14 +00:00
Arc Wang
b60e91bf0b [Wi-Fi] Replace WifiTracker with WifiTracker2 in WifiDetailPreferenceController2
There are still many methods not implemented in WifiEntry. This change has below workarounds:

1. Add WifiEntryShell to provide dummy WifiEntry methods.
2. Add @Ignore to WifiDetailPreferenceController2Test.

Must remove these workarounds after we have more constructed WifiEntry methods.

Bug: 143326832
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.details2
      make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.savedaccesspoints2
      make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: Ic2edb424b9c645838558fe131991ccb9105dc64c
2019-12-18 15:21:59 +08:00
Automerger Merge Worker
faa90620b2 [automerger skipped] Merge "Added horizontal seperator in Face Settings" into qt-qpr1-dev am: 30bf9e2e5e am: a07760377e -s ours
am skip reason: Change-Id I05bfa9b1826c5d4dfcbba6cbe2d2e320014950e3 with SHA-1 409a1c689b is in history

Change-Id: Ic73efc1ad35a4805f38264e55ed5dfd6e48b8aff
2019-12-18 06:40:38 +00:00
Automerger Merge Worker
a07760377e Merge "Added horizontal seperator in Face Settings" into qt-qpr1-dev am: 30bf9e2e5e
Change-Id: Iacdac6e3fc2f8ba03f5cd3a590f52c5c990e1226
2019-12-18 06:27:02 +00:00
Kevin Chyn
30bf9e2e5e Merge "Added horizontal seperator in Face Settings" into qt-qpr1-dev 2019-12-18 06:15:58 +00:00
govenliu
cfd8a5d253 [Wi-Fi] Use new defined proto field for adding new networks panel page.
Use new metric, PANEL_ADD_WIFI_NETWORKS, for proto upload log use.

For R feature: Add a mechanism for apps to add saved networks to the
device, need to apply new metrics category.

Bug: 144891278
Test: Add following test case for testing metric:
      getMetricsCategory_shouldReturnPanelAddWifiNetworks()

Change-Id: I7cde8057c5f2b01c951b1de4203ab1c1a2f0f40a
2019-12-18 13:57:30 +08:00
joshmccloskey
2e57bc47b2 Added horizontal seperator in Face Settings
Test: Manual.
Bug: 140965037
Change-Id: I05bfa9b1826c5d4dfcbba6cbe2d2e320014950e3
Merged-In: I05bfa9b1826c5d4dfcbba6cbe2d2e320014950e3
2019-12-18 04:54:27 +00:00
Kevin Chyn
063cf2f059 Merge "Added horizontal seperator in Face Settings" 2019-12-18 04:53:05 +00:00
Kevin Chang
4fc76cb17d Merge "Support accessibility shorcut secondary action (3/n)" 2019-12-18 03:17:34 +00:00
TreeHugger Robot
1247fd8736 Merge "Create a TetherEnabler class to manage tether settings switch" 2019-12-18 03:13:38 +00:00
Paul Chang
abfd8cfa90 Merge "Update subtext UI on Bug report handler settings" 2019-12-18 03:11:08 +00:00
Automerger Merge Worker
e09e18c325 [automerger skipped] Merge "[Wi-Fi] Fix transition mode problems" into qt-qpr1-dev am: 5b71fccabd am: 98a0e0ec96 -s ours
am skip reason: Change-Id Ic3c7ac1238a51b6e215ed63761720d2bc371d012 with SHA-1 5f23a43660 is in history

Change-Id: I3873872ee251ada9a11442e4efdf1dcadfb0774c
2019-12-18 02:59:49 +00:00
Automerger Merge Worker
98a0e0ec96 Merge "[Wi-Fi] Fix transition mode problems" into qt-qpr1-dev am: 5b71fccabd
Change-Id: If7bce1789dd81d3f77766fd9ed71dbc6738fb857
2019-12-18 02:46:11 +00:00
TreeHugger Robot
5b71fccabd Merge "[Wi-Fi] Fix transition mode problems" into qt-qpr1-dev 2019-12-18 02:27:28 +00:00
Automerger Merge Worker
0cb65980c5 [automerger skipped] Merge "[mainline] Decouple ServiceState.bitmaskHasTech and getBitmaskForTech" am: ecce39622d am: 2be27a8d81 am: 0ed1383af2 -s ours
am skip reason: Change-Id I1600a96a729fc3b555eab5bc80b069663c8eb00a with SHA-1 6f4ceba6ed is in history

Change-Id: I6bbcbee0b1c3be0f1954b200a60556dc15080822
2019-12-18 02:07:11 +00:00
Paul Chang
45ca77862f Update subtext UI on Bug report handler settings
- Remove parentheses of the subtext on Bug report handler settings
- https://screenshot.googleplex.com/TOO4FuW7O8Y

BUG: 143017534
Test: Flash device and check the subtext
Change-Id: Ia3bee7e87a763fc776f846a03ce380e583308e1d
2019-12-18 10:07:05 +08:00
Automerger Merge Worker
0ed1383af2 Merge "[mainline] Decouple ServiceState.bitmaskHasTech and getBitmaskForTech" am: ecce39622d am: 2be27a8d81
Change-Id: Ia5c3e5043d885812fa013caa7b0786819ec81e5c
2019-12-18 01:53:32 +00:00
SongFerng Wang
2be27a8d81 Merge "[mainline] Decouple ServiceState.bitmaskHasTech and getBitmaskForTech"
am: ecce39622d

Change-Id: I4eb6b4e980a13b5b6fc164b7f7edbd7b9fb059d3
2019-12-17 17:41:21 -08:00
SongFerng Wang
ecce39622d Merge "[mainline] Decouple ServiceState.bitmaskHasTech and getBitmaskForTech" 2019-12-18 01:36:08 +00:00
Kevin Chang
e65ed3ebb0 Support accessibility shorcut secondary action (3/n)
Combine the UI with both shortcut preference and edit dialog.

This CL only contains UI and related connections.
Related logic implementation will be added in next CL.

Since the drawable resources are not ready, put the mock
drawables as temporary. Once the drawbles are provided by UX,
create a CL to replace the related resources.

Bug: 142530063
Bug: 142531156
Test: Maunal
Change-Id: I21e4c6e99c2d1731c15d7c9553594160b8809eb5
2019-12-18 09:25:16 +08:00
joshmccloskey
409a1c689b Added horizontal seperator in Face Settings
Test: Manual.
Bug: 140965037
Change-Id: I05bfa9b1826c5d4dfcbba6cbe2d2e320014950e3
2019-12-17 22:54:56 +00:00
Mehdi Alizadeh
054d2a555d Extends SeekBarPreference to add labels and callbacks
Adds title, left and right labels to the SeekBarPreference. Also adds
a listener for the seek stop event.

Bug: 146004827
Test: make RunSettingsRoboTests ROBOTEST_FILTER=GestureNavigationSeekBarPreferenceTest

Change-Id: I0ecca4e92cfc52abb8bb975b710f72f75ed5b50d
2019-12-17 14:14:23 -08:00
Zhen Zhang
23e8fa1020 Create a TetherEnabler class to manage tether settings switch
This class is created to manage the switch state of overall tethering
state. It can turn on/off each type of tethering based on stored value
in SharedPreference. Also, it listens to data saver state change.

Bug: 145923107
Test: TetherEnablerTest
Change-Id: I7f360329569f53f34cf13065aa0e00ad9b55f659
2019-12-17 12:46:55 -08:00
Alex Mang
e74929d987 Merge "Add flag to allow NAS to peform ranking" 2019-12-17 20:40:23 +00:00
Alex Mang
8f966787d9 Add flag to allow NAS to peform ranking
This will be used by implementations of NotificationAssistantService to
rerank notifications within the same importance bucket.

Bug: 146443378
Test: atest
Change-Id: I95e45081ae90f1e60de86b1b850ad18f33eb803b
2019-12-17 20:33:40 +00:00
Mehdi Alizadeh
1b6bdf9307 Merge "Rename methods to reflect the correct names of nav modes" 2019-12-17 19:41:11 +00:00
Mehdi Alizadeh
3ea61b66af Rename methods to reflect the correct names of nav modes
Bug: 146004827
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationGestureSettingsTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationPreferenceControllerTest

Change-Id: I00602c41aed5e675b8e0d3df7a3b3b318e6ec903
2019-12-17 11:39:40 -08:00
Jay Aliomer
d7da4436b2 Merge "Refine the DarkModeScheduleSelectorController" 2019-12-17 17:26:19 +00:00
SongFerngWang
c13da87416 [mainline] Decouple ServiceState.bitmaskHasTech and getBitmaskForTech
Bug: 146314969
Test: Build pass.
      make RunSettingsRoboTests ROBOTEST_FILTER=ApnEditorTest

Change-Id: I1e9eeab9d886a2910c7db8b59cfe267c51c5920c
Merged-In: I1600a96a729fc3b555eab5bc80b069663c8eb00a
2019-12-17 12:19:52 +00:00
SongFerng Wang
b222676505 Merge "[mainline] decouple ServiceState.bitmaskHasTech and getBitmaskForTech" 2019-12-17 12:18:19 +00:00
Stanley Wang
96dc223f0c Merge "Index Caption preferences page" 2019-12-17 10:20:02 +00:00
Automerger Merge Worker
83c64c3a3c Merge "Fix volume slider color is not correct" am: d1489d2f1f am: 9bb1c631ae am: 96c32711b8
Change-Id: Ibb3508f910e6d913135f5370b47376155f69f7ca
2019-12-17 09:42:04 +00:00
Automerger Merge Worker
96c32711b8 Merge "Fix volume slider color is not correct" am: d1489d2f1f am: 9bb1c631ae
Change-Id: I66e7bb3c06891d092d6ec4b49372ab977670beee
2019-12-17 09:22:59 +00:00
Menghan Li
64295adb27 Merge "Color correction improvement (3/n)" 2019-12-17 09:20:30 +00:00
TreeHugger Robot
2e2532077d Merge "Fix UI issue in LocationSettings" 2019-12-17 09:06:38 +00:00
Raff Tsai
9bb1c631ae Merge "Fix volume slider color is not correct"
am: d1489d2f1f

Change-Id: I6d638ec272cfac5be07e817bbac8c287896fdc4d
2019-12-17 01:04:45 -08:00
Raff Tsai
d1489d2f1f Merge "Fix volume slider color is not correct" 2019-12-17 08:46:46 +00:00
Raff Tsai
37860d4299 Fix volume slider color is not correct
Fixes: 140990940
Test: 1. Switch to dark theme
      2. adb shell am start -a android.settings.panel.action.VOLUME
      3. check volume slider color is identical to color in "Done"
      4. Switch to light theme
      5. adb shell am start -a android.settings.panel.action.VOLUME
      6. Check volume slider color is identical to color in "Done"

Change-Id: If783d5c5f8604a23cfaaa28cf42b916763f9c9e8
2019-12-17 14:34:29 +08:00
TreeHugger Robot
a90c5186b1 Merge "Add developer option for bluetooth Gabeldorche feature" 2019-12-17 06:19:14 +00:00
Automerger Merge Worker
5921312f43 Merge "Add feature provider for face unlock" into qt-qpr1-dev am: 8472279900 am: 619d8b3418
Change-Id: I61ae5ff018d97c84fcdcccaefa1159d0ee3716d0
2019-12-17 05:51:13 +00:00
menghanli
657189062f Color correction improvement (3/n)
1. Add summary in accessibility settings page by controller
2. Fix "XmlControllerAttributeTest" for ColorCorrection

Bug: 145968068
Bug: 146319816
Test: make RunSettingsRoboTests2
Change-Id: Ia4dfb2290953eea33c266bd9f7c825c956bcc93a
2019-12-17 13:44:40 +08:00
Automerger Merge Worker
619d8b3418 Merge "Add feature provider for face unlock" into qt-qpr1-dev am: 8472279900
Change-Id: I3334a10c25af3b5a8ed125495c7012fe46516485
2019-12-17 05:38:36 +00:00
Kevin Chyn
8472279900 Merge "Add feature provider for face unlock" into qt-qpr1-dev 2019-12-17 05:27:01 +00:00
Sunny Shao
7f086c0e81 Refine the DarkModeScheduleSelectorController
- move the initial part to the displayPreference.
- use indext compared instead of the direct string compared.

Bug: 141567787
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=ROBOTEST_FILTER=com.android.settings.display
Change-Id: I49ccc248bc1f5f9659f8543793ea502ac3e2ea6f
2019-12-17 13:15:11 +08:00
Raff Tsai
5ec8efe7e0 Fix UI issue in LocationSettings
- Add WorkPreferenceController to support directly use work profile
related feature in xml
- Get only work/personal infos in RecentLocationRequestPreferenceController
and RecentLocationRequestSeeAllPreferenceController
- Remove ProfileSelectStorageFragment

Bug: 141601408
Fixes: 146080649
Test: manual, robolectric
Change-Id: Ide39c7a3796e16421f3a5690309c3d746a956de8
2019-12-17 04:25:49 +00:00