Commit Graph

99816 Commits

Author SHA1 Message Date
TreeHugger Robot
1cdd5923f8 Merge "Mock UserManager.class for WifiSettingsTest" 2022-01-25 03:11:38 +00:00
Lais Andrade
f067833d56 Merge "Disable ring, notification and touch vibration in silent mode" 2022-01-25 00:09:36 +00:00
Kholoud Mohamed
17979a4d32 Merge "Change the managed profile icon for profile selector" 2022-01-24 23:11:35 +00:00
Lucas Silva
0128837312 Merge "Make the Settings split ratio configurable." 2022-01-24 16:17:20 +00:00
Quang Luong
a148b32bc8 Merge "Do update signal icon for -1 level in AddAppNetworksFragment" 2022-01-24 16:03:06 +00:00
Jan Tomljanovic
1e81c40558 Merge "Call system service API instead of checking the phenotype flag directly." 2022-01-24 12:55:20 +00:00
PETER LIANG
248e62119a Merge "New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (8/n)." 2022-01-24 12:21:31 +00:00
Peter_Liang
d65cf9676f New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (8/n).
- Add new icon assest for SetupWizard.
1) Refine the oic_adaptive_font_donwload.xml
2) The other asset will be used in next patches.

Bug: 211503117
Test: make
Change-Id: Id595f22f5e400ce3f4e25a6325217dc9f678b000
2022-01-24 12:20:37 +00:00
Lais Andrade
76b2cd60e5 Disable ring, notification and touch vibration in silent mode
Disable haptic settings for ring, notification and touch feedback when
the phone ringer mode is set to silent.

Preserve the setting values and display message explaining why those
settings are disabled.

Bug: 203188852
Test: *Vibration[Intensity|Toggle]PreferenceControllerTest
Change-Id: I6c24079ece9d637f2feb487f756937888a92caa7
2022-01-24 11:01:08 +00:00
TreeHugger Robot
3b362e84f4 Merge "Fix SliceContextualCardRendererTest" 2022-01-24 10:34:56 +00:00
TreeHugger Robot
cf5edf2cc1 Merge "Fix ContextualCardsFragment test failure" 2022-01-24 10:19:53 +00:00
Jason Chiu
1a6131860a Merge "[Large screen] Open the search page in full-screen mode" 2022-01-24 10:06:32 +00:00
TreeHugger Robot
544397015b Merge "Fix WifiSummaryUpdaterTest issues for registerReceiver security design" 2022-01-24 09:46:33 +00:00
Yi-Ling Chuang
beb88dc4a9 Fix SliceContextualCardRendererTest
Fixes: 215046609
Test: robotest
Change-Id: I6b48d3b0739fe64a2380426efa03acd1971cd6b1
2022-01-24 14:04:01 +08:00
Yi-Ling Chuang
62b1f71402 Fix ContextualCardsFragment test failure
Fixes: 215046286
Test: robotest
Change-Id: I930c3009891512011974aa399b9a4034d33243e5
2022-01-24 13:55:19 +08:00
Stanley Wang
d329f3d79c Ignore tests to avoid Settings presubmit test failure.
Bug: 216036457
Test: run robo test
Change-Id: I4ec2f2f9a25e7212ac65710e88541661cd59d461
2022-01-24 12:58:31 +08:00
Jason Chiu
94a9c57759 [Large screen] Open the search page in full-screen mode
Bug: 205079744
Test: manual
Change-Id: I3ac663b42fc0538dcb20d53f456b90ea68c9093d
2022-01-24 12:21:58 +08:00
TreeHugger Robot
53efa5be66 Merge "Mock WifiP2pManager.class for WifiP2pSettingsTest" 2022-01-24 02:49:09 +00:00
Menghan Li
109e73a844 Merge "Utils to operate tooltips widget for QS panel" 2022-01-24 02:10:49 +00:00
YK Hung
5b157ee304 Merge "Fix broken tests: com.android.settings.fuelgauge" 2022-01-24 00:23:51 +00:00
menghanli
db8f2a4004 Utils to operate tooltips widget for QS panel
Bug: 210356011
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityQuickSettingUtilsTest
Change-Id: Ia743be8350e6a84cbe44827fb2d6f44f1f04e426
2022-01-24 08:10:43 +08:00
Weng Su
679153be09 Mock WifiP2pManager.class for WifiP2pSettingsTest
Bug: 214938188
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2pSettingsTest

Change-Id: I21bfc1c8303970437ae2641ed0f2f9c16f09b33f
2022-01-23 10:15:40 +00:00
ykhung
c8a63b3416 Fix broken tests: com.android.settings.fuelgauge
Bug: 215064709
Fixes: 215064709
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge"
Change-Id: I79a27b4fcef3a21207b37db422d983ae9d521b45
2022-01-23 16:28:31 +08:00
Xinyi Zhou
b16d430e54 Merge "Add MainSwitch for Fast Pair settings" 2022-01-23 02:54:51 +00:00
Weng Su
481f696a88 Fix WifiSummaryUpdaterTest issues for registerReceiver security design
- Security team add new interface to Context.registerReceiver() with a
third parameter for new security design.

- The new interface might have some issues in the test environment.

- Spy the registerReceiver() and unregisterReceiver() to avoid
unexpected issues.

Bug: 214938188
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiSummaryUpdaterTest

Change-Id: Ibd1c5c1f7b4309ad5079f33bb232f249c6bd997f
2022-01-22 14:40:34 +00:00
Weng Su
a9a1bb3747 Mock UserManager.class for WifiSettingsTest
Bug: 214938188
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiSettingsTest

Change-Id: I1b8faba6348b6dfddbd7eb6ccfaa35ca32366c91
2022-01-22 14:07:40 +00:00
TreeHugger Robot
7dd97c7091 Merge "Mock WifiManager.class for HotspotConditionControllerTest" 2022-01-22 08:35:50 +00:00
TreeHugger Robot
4cdf2aa472 Merge "Mock WifiManager.class for Roboletric test-cases" 2022-01-22 08:33:58 +00:00
TreeHugger Robot
3654b61ebd Merge "Mock WifiPickerTracker.class for Roboletric test-cases" 2022-01-22 08:29:28 +00:00
Xinyi Zhou
03a3b3061f Add MainSwitch for Fast Pair settings
Bug: 203579197
Test: Built and verified by logs
Change-Id: I68ef55f2601cce0f51a746d108187c94e496fb71
2022-01-22 00:16:06 -08:00
TreeHugger Robot
8a0d26dca7 Merge "Do not let guest user disable secure nfc" 2022-01-22 07:41:57 +00:00
PETER LIANG
4d32addf7a Merge "New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (7/n)." 2022-01-22 06:43:13 +00:00
Menghan Li
386206051d Merge "Allow users dismiss accessibility quick settings tooltips when clicked" 2022-01-22 02:25:01 +00:00
Peter_Liang
4b90c57e99 New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (7/n).
Add new preview mail content layout, but all new strings are not final version.

Bug: 211503117
Test: make
Change-Id: If57e1fd3ba9a994f5175a18bccd1abb77f7d6a34
2022-01-22 09:47:10 +08:00
Lucas Silva
fab78665d8 Make the Settings split ratio configurable.
This new config will be overlayed in titan devices to update the split
ratio to 30/70

Bug: 215707431
Test: locally on device
Change-Id: I7bd193d7516939f5c4d434cd3333456c20e53a91
2022-01-21 23:00:29 +00:00
Quang Luong
9d66b22ee0 Do update signal icon for -1 level in AddAppNetworksFragment
The level of a WifiEntry may be -1 (WIFI_LEVEL_UNREACHABLE) due to race
conditions. Thus, only update the signal icon if the level is a valid
value [0, 4]

Bug: 213477566
Test: m
Change-Id: I87f1c108d262bb5a7575c9ad434d2cfb953134af
2022-01-21 14:56:07 -08:00
Yasin Kilicdere
031104f18e Merge "Make sure activity for adding a supervised user is opened full screen." 2022-01-21 18:16:48 +00:00
TreeHugger Robot
cd78c73cf9 Merge "Fix broken DreamPickerControllerTest" 2022-01-21 17:58:29 +00:00
Adam Bookatz
52bd463079 Merge "Disable AppCopyFragment" 2022-01-21 17:33:48 +00:00
Lucas Silva
b92fa1fdaa Fix broken DreamPickerControllerTest
The dream infos are cached at the time the controller is created, so
ensure that we mock out the dream infos before building the controller
instance.

Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.dream.DreamPickerControllerTest"
Bug: 215660413
Change-Id: Ie86f701a46dfc9a0ef185459a1dbf9016c1194fc
2022-01-21 15:50:49 +00:00
Weng Su
c70c0f255a Merge "Mock WifiP2pManager.class for ResetNetworkConfirmTest" 2022-01-21 14:07:02 +00:00
TreeHugger Robot
54dbe403eb Merge "New UX for the NFC default payment settings" 2022-01-21 12:30:06 +00:00
TreeHugger Robot
54769b55ca Merge "Ignore tests to avoid Settings presubmit test failure." 2022-01-21 11:45:36 +00:00
Jack Yu
9de30f08e6 New UX for the NFC default payment settings
Re-design the UX.

Bug: 202367033
Test: maunal
      make RunSettingsRoboTests ROBOTEST_FILTER=NfcForegroundPreferenceControllerTest
      make RunSettingsRoboTests ROBOTEST_FILTER=PaymentSettingsTest
Change-Id: I4c05ac4a1974645c76a37900d64aa8e1a491bca1
2022-01-21 10:25:09 +00:00
Stanley Wang
cee6346ce9 Ignore tests to avoid Settings presubmit test failure.
Bug: 215660413
Test: run robo test
Change-Id: I9cb04f5fee9463d40954509c087eb428f16e3b68
2022-01-21 17:57:53 +08:00
Weng Su
781ea4c6ab Mock WifiP2pManager.class for ResetNetworkConfirmTest
Bug: 214906101
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=ResetNetworkConfirmTest

Change-Id: I3aa22c06fc8fcd22deb8b15b2998539b48d3ce39
2022-01-21 09:41:01 +00:00
menghanli
238639c494 Allow users dismiss accessibility quick settings tooltips when clicked
Problem: When Talkback on, users cannot use double tap or swipe to move focus on the next window.
Solution: Talkback speaks out "double tap to dismiss" to allow dismissing this tooltips.

Bug: 215656141
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityQuickSettingsTooltipWindowTest
Change-Id: I8f7066a805ec963f9f0f8fee1b81ad008418c4a6
2022-01-21 17:16:10 +08:00
Daniel Huang
56a62d74ec Merge "[Panlingual] Suggested locales update" 2022-01-21 09:12:06 +00:00
Tom Hsu
456eaedbcd Merge "[Panlingual] Adds a filter of application for per apps locale change." 2022-01-21 09:02:40 +00:00
Weng Su
c735f98943 Mock WifiManager.class for HotspotConditionControllerTest
Bug: 215047177
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=HotspotConditionControllerTest

Change-Id: I902383f935d38b1736e5cced388a8b164a428007
2022-01-21 08:22:59 +00:00