Commit Graph

3982 Commits

Author SHA1 Message Date
Peiyong Lin
fc4155a02c Only show graphics driver option when the apk is available.
Previously we always show all options, this patch makes the dashboard
only shows the option when the driver apk is available.

Bug: b/148626177
Test: make RunSettingsRoboTests ROBOTEST_FILTER=GraphicsDriver
Change-Id: Ifde5929d826d5ab542e855aa334546dd744b138b
2020-02-28 03:34:02 +00:00
TreeHugger Robot
9408533075 Merge "Let footer with learn more become selectable" into rvc-dev 2020-02-27 05:27:26 +00:00
TreeHugger Robot
640245cda6 Merge "[Wi-Fi] Apply new mock for supporting WiFi detail page for OpenRoaming feature." into rvc-dev 2020-02-27 03:15:29 +00:00
Sunny Shao
721f60515d Let footer with learn more become selectable
- Update this attribute after synced with the Switch Access team.

Bug: 149808249
Test: manual test
Change-Id: I8e4fb7738541b4ccbbb5acf643265c78a61f8c45
2020-02-26 13:08:01 +00:00
Yanting Yang
5f503b87ea Set ClearDefaultsPreference as unselectable for talkback
ClearDefaultsPreference is a customized preference which contains a
TextView and a Button. In reality, the button is the only thing that the user can interact with. It's a no-op when the user clicks on the whole preference view.
 
Mark the ClearDefaultsPreference as unselectable can fix the talkback
issue for the user clicking on the preference view outside of the button.
 
In the meantime, the button of ClearDefaultsPreference has not applied the button style of Settings yet. Also fixed it by using the ActionPrimaryButton style of Settings.


Fixes: 146471192
Test: visual and robotests
Change-Id: Ife215d0901bd9fc3055495b0495ba175ed0dfa26
Merged-In: Ife215d0901bd9fc3055495b0495ba175ed0dfa26
(cherry picked from commit b9bcbddc46)
2020-02-24 08:41:22 +00:00
govenliu
7d8d8d3400 [Wi-Fi] Apply new mock for supporting WiFi detail page for OpenRoaming feature.
Issue: Openroaming detail page have new UI Mock.
Solution: Apply the mock design to rollback previous UI and add one Subcription preference.

Bug: 146669261
Test: manually push API and check.
Change-Id: Ie3243c9bcd371db1909834ef257c741454abec11
2020-02-24 15:40:23 +08:00
Blake Kragten
8eb6c9ae9f Merge "Enhanced Connectivity Dev Toggle" 2020-02-21 22:14:25 +00:00
Joshua Duong
a66bcaae37 Merge "[adb-wireless] Add Wireless Debugging Switch in Developer options." 2020-02-21 16:03:29 +00:00
Joshua Duong
85a65e2dc6 [adb-wireless] Add Wireless Debugging Switch in Developer options.
Bug: 111434128
Bug: 119492574

Test: make RunSettingsRoboTests ROBOTEST_FILTER=WirelessDebugging
Change-Id: I188badb43035172642cf235bb27e56d3a1dea169
2020-02-21 00:01:58 -08:00
Rambo Wang
c13ba9d27f Polish developer option enable verbose vendor logging
Robotests cases in EnableVerboseVendorLoggingPreferenceControllerTest
show all pass but actually they are all bypassed due to the fact that
the test class can not grant sepolicy permission as what Settings
app does.

This version introduces mock DumpstateDevice HAL to really
perform the Robotests cases.

This CL also clear up code format issues.

Bug: 149886908
Test: make && make RunSettingsRoboTests
Change-Id: I64025ebea60e18d17338604519a6cae98ca7928b
2020-02-20 18:46:49 -08:00
Rambo Wang
baf12eeb6d Merge "Add Developer option to enable vendor logging in Settings app" 2020-02-20 01:57:27 +00:00
Victor Hsieh
4573c0e0fa Merge "Revert "Support installation of the new app source certificate"" 2020-02-19 17:43:12 +00:00
govenliu
824796d3b2 [Wi-Fi] Support WiFi detail page for OpenRoaming feature in AOSP setting.
Issue: Openroaming should have a specific detail page.
Solution: Apply the mock design to only reserve two preference items:
          1.Auto-connect
          2.Scription details

Bug: 146669261
Test: Add unit test case to test the new controller: WifiSubscriptionDetailPreferenceController2
Change-Id: Iba96500062f412f4cdcd1c8248544657770ab231
2020-02-19 22:22:47 +08:00
Julia Reynolds
cb9f444849 Merge changes from topics "jr-all-convo", "jr-default-vic"
* changes:
  Add a default behavior setting for VICs
  Add screen for all conversations
2020-02-19 12:24:57 +00:00
Rambo Wang
9b7acf7210 Add Developer option to enable vendor logging in Settings app
Bug: 148822215
Test: make && make RunSettingsRoboTests
Change-Id: Ia8d9002c7f85b607a8d87a69d04d3be1e59abcab
2020-02-18 15:43:09 -08:00
Victor Hsieh
cef970cda4 Revert "Support installation of the new app source certificate"
We decided to punt extra certificate to post-R.

This reverts commit c8a1960cf4.

Test: Treehugger
Bug: 112038744
Change-Id: Ic53e58944faebe7aa427975ebd77ce783bdddaf2
2020-02-18 11:03:07 -08:00
Julia Reynolds
8949d87be7 Add a default behavior setting for VICs
Test: atest
Bug: 149696991
Change-Id: Ica06f80a02d65294a7b503fd3556add644c61bd7
2020-02-18 09:25:52 -05:00
Stanley Wang
f2a52c30a1 Merge "Fix the Easter egg invocation gesture nonfunctional." 2020-02-18 11:13:20 +00:00
Zhen Zhang
14b758f1c8 Merge "Move hard coded string in all_tether_prefs into string.xml" 2020-02-18 05:41:42 +00:00
TreeHugger Robot
7e0b1847ed Merge "Authenticated confirmation before deletion of eSim" 2020-02-18 05:28:49 +00:00
Lee Chou
5a65e2d5dd Authenticated confirmation before deletion of eSim
adds an authentication confirmation before deleting an eSim
this feature is turned on/off in the security page

Bug: 138861284
Test: mp settingsg
Change-Id: I32e0e3bff2091ec1097b3c37fa066d966e3373df
2020-02-18 11:33:22 +08:00
Julia Reynolds
1ee9dce20c Add screen for all conversations
Test: atest
Bug: 149583455
Change-Id: I9704082d097ef2bb17c051703e380f573056318c
2020-02-17 20:16:23 -05:00
tim peng
b27db300eb Merge "Replace preference with remote media preference group in xml" 2020-02-18 00:57:30 +00:00
Stanley Wang
e589077b08 Fix the Easter egg invocation gesture nonfunctional.
- Revome selectable attribute from xml file.

Fixes: 149112358
Test: manual
Change-Id: I660d906cd615fa7a6696301b13638ca3e3d8b7d6
2020-02-17 18:42:51 +08:00
Zhen Zhang
5ef644bf46 Move hard coded string in all_tether_prefs into string.xml
Moving these title strings in all_tether_prefs.xml into string.xml and
use them.

Bug: 149343162
Test: Manually test.
Change-Id: Ic57fa7e85f4d39ff1cd30e80a35b8c282827b86d
2020-02-16 22:00:29 -08:00
Blake Kragten
79b0315be6 Enhanced Connectivity Dev Toggle
Add Enhanced Connectivity Developer option switch. This switch will
allow the connectivity thermal power manager to actively shutoff 5G in
order to save power when cellular throughput is below the set threshold.

ScreenShots: https://drive.google.com/drive/folders/109VTTXqIn5Teg6daHpNHV7z13MmEEb7Q?usp=sharing

Bug: 147305171
Test: make RunSettingsRoboTests ROBOTEST_FILTER=EnhancedConnectivityPreferenceControllerTest
Test: On-device using developer option menu

Change-Id: I311cfcadb8325db30ff4917959414b5a7d108bcc
2020-02-14 13:48:59 -08:00
TreeHugger Robot
0eba407374 Merge "UX changes for the new cross profile settings page" 2020-02-14 13:44:59 +00:00
TreeHugger Robot
78de05712b Merge "Make TopLevelSettings un-searchable and direct result to relevant page." 2020-02-14 12:46:12 +00:00
kholoud mohamed
00c46041b6 UX changes for the new cross profile settings page
Bug: 136249261
Bug: 140728653
Bug: 148594054
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesDetailsTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesSettingsTest

Change-Id: I9666b34a03e5c082eed7c4120e70a07017ab7ef0
2020-02-14 11:51:39 +00:00
Menghan Li
c23968fe0d Merge "Use HTML text preference for rich content" 2020-02-14 10:57:26 +00:00
Edgar Wang
77de405a5d Make TopLevelSettings un-searchable and direct result to relevant page.
Fixes: 149372187
Test: manual & robotest
Change-Id: I9daca03d1c11a262f8e3b55bb46aabbc035ece96
2020-02-14 17:58:38 +08:00
TreeHugger Robot
fe83913c03 Merge "Move "Allow from lock screen" into advanced item" 2020-02-14 07:27:20 +00:00
menghanli
eb6d37dc9d Move "Allow from lock screen" into advanced item
Bug: 142529032
Test: Manual test
Change-Id: I697a30d2da8d17bbbabe78c7a97acce686f521ef
2020-02-14 12:13:31 +08:00
Jason Chiu
0c3babb8b3 Merge "Fix the header talkback bug in DND schedule page" 2020-02-14 03:54:30 +00:00
Jean Chen
e9f289d5b3 Merge "Support autoclick secondary action (5/n)" 2020-02-14 01:28:15 +00:00
Zhen Zhang
c4a2294730 Merge "Add a Preference into "Network & internet" for new tethering UI" 2020-02-14 00:05:54 +00:00
Menghan Li
655debca76 Merge "Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (2/n)" 2020-02-14 00:01:49 +00:00
Julia Reynolds
3b29ff2559 Mode dnd title back to title bar
Test: manual
Fixes: 149183896
Change-Id: Ib5e0c3c79e3b36f58d9196a8435250230275a3f7
2020-02-13 11:17:04 -05:00
Jason Chiu
cd5267c3c9 Fix the header talkback bug in DND schedule page
- set unselectable for LayoutPreference in xml
- use the correct done() API to modify the given LayoutPreference

Bug: 146848260
Test: robotest, manual
Change-Id: I29a00d788fbf87efd0b89e9b6bfa50d1ff24d466
2020-02-13 10:08:25 +00:00
Zhen Zhang
31f1a34629 Add a Preference into "Network & internet" for new tethering UI
Adding a MasterSwitchPreference into "Network & internet" and create
corresponding controller. The preference is hidden by the feature flag.
It does NOT affect the existing UI.

Bug: 146147778
Test: CodeInspectionTest, TetherPreferenceControllerTest,
NetworkDashboardFragmentTest
Change-Id: Ida8e088efbb22d0c983acecbc420672206392dad
2020-02-12 23:55:02 -08:00
menghanli
a8b9f30d11 Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (2/n)
Bug: 142529032
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityShortcutPreferenceControllerTest
Change-Id: Ic55d4fd8db0678b8fccbbb6ef1d217b47a5094bd
2020-02-13 15:44:11 +08:00
ChenJean
fb85c52c32 Support autoclick secondary action (5/n)
Seekbar UI show complete on all of devices.

Bug: 146019277
Test: manual
Change-Id: I18227db46ba5040082b9a4a691ad8e5233e3e269
2020-02-13 15:14:48 +08:00
TreeHugger Robot
be94018ba9 Merge "Handle null case in AppStateAppOpsBridge" 2020-02-13 06:44:30 +00:00
Menghan Li
c359bdf884 Merge "Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (1/n)" 2020-02-13 06:28:42 +00:00
menghanli
40f9e47bb7 Accessibility Service & Shortcut Redesign - Remove “volume key shortcut” setting (1/n)
Bug: 142529032
Test: Manual test
Change-Id: Icfff02b25b1c83598774dd1708e145c0cf9447d7
2020-02-13 06:27:07 +00:00
TreeHugger Robot
009b7c0c44 Merge "Fix some settings can't load data correctly." 2020-02-12 12:23:37 +00:00
menghanli
5638acbc82 Use HTML text preference for rich content
Implements for Color Correction, Color Inversion, and Magnify

Bug: 148837311
Test: Manual test
Change-Id: I5e5b311b6ae8e42cca3ef9048c8b8b0de52d13bc
2020-02-12 19:12:26 +08:00
TreeHugger Robot
db818cb53c Merge "Fix Wifi & Bluetooth slice can't show on search result" 2020-02-12 10:39:28 +00:00
Edgar Wang
a454aef159 Fix some settings can't load data correctly.
Bug: 149108580
Test: manual & robotest
Change-Id: I0cdbe350dd1c3b3edeae0b837c95d464f36541cc
2020-02-12 18:22:13 +08:00
Tsung-Mao Fang
59e1e64258 Handle null case in AppStateAppOpsBridge
AppStateAppOpsBridge#getEntries returns null if no app
is requesting AppStateAppOpsBridge#mPermissions,
which would cause the settings app to crash in
AppStateAppOpsBridge#loadAllExtraInfo or
AppStateAppOpsBridge#loadAppOpsStates.

Try to skip null case here and set null for extraInfo
when we get null from AppStateAppOpsBridge#getEntries.

Change-Id: Iac03ec11869eeac62fa055da26b4b7a10dc65bb8
Fix: 147479269
Test: Open All files access and no crash.
2020-02-12 18:17:08 +08:00