Commit Graph

61535 Commits

Author SHA1 Message Date
PETER LIANG
60c39c39cd Merge "Correct the string relate to volume shortcut keys." into rvc-dev am: 6804573968 am: 7c73bbf233
Change-Id: Id26431c7787387c51b20ac09bce3c2bd0b1201c3
2020-05-07 11:26:22 +00:00
PETER LIANG
7c73bbf233 Merge "Correct the string relate to volume shortcut keys." into rvc-dev am: 6804573968
Change-Id: I358ff0b5fac119231eed0aa2386e982ab4b38779
2020-05-07 11:12:07 +00:00
PETER LIANG
6804573968 Merge "Correct the string relate to volume shortcut keys." into rvc-dev 2020-05-07 10:56:24 +00:00
Edgar Wang
18c5aee365 Merge "Revert "Improve multi user settings screen"" into rvc-dev am: e13919cf4b am: 99bb5e0185
Change-Id: Idb7b50a53dd55ad5d8e414ecce1c4f95c0314020
2020-05-07 09:58:47 +00:00
Edgar Wang
99bb5e0185 Merge "Revert "Improve multi user settings screen"" into rvc-dev am: e13919cf4b
Change-Id: I7e067881864b96e067d2b763dc41d6b3680750df
2020-05-07 09:45:16 +00:00
Edgar Wang
e13919cf4b Merge "Revert "Improve multi user settings screen"" into rvc-dev 2020-05-07 09:28:23 +00:00
Edgar Wang
fff8c56de2 Revert "Improve multi user settings screen"
This reverts commit d19dc306dd.

Reason for revert: this CL made Settings the test cases called shadowUserManager.hasUserRestriction()
https://sponge.corp.google.com/target?show=FAILED&sortBy=STATUS&id=07150153-ccb7-4215-a9f8-eed31e44c66f&target=RunSettingsRoboTests1-test-output

Bug: 142798722

Change-Id: I3937a07ee35a472cadd6db8cd0177e08e63516a4
2020-05-07 09:24:47 +00:00
Peter_Liang
a2f5497d69 Correct the string relate to volume shortcut keys.
Bug: 155948561
Test: manual test
Change-Id: I1e7a78fd1feeb87ee5f82157906137c4e169edeb
2020-05-07 17:15:15 +08:00
Yanting Yang
e21b7063fc Merge "Hide the app details preference for mainline module apps" into rvc-dev am: cf33b4bc5e am: 2b19585228
Change-Id: I9b50f440820bde3b3237dc133695026becbdbd74
2020-05-07 08:51:07 +00:00
Bonian Chen
a166ff6b73 Merge "[Settings] Update EID in background" into rvc-dev am: cae9a9c2fb am: 156ea15bb2
Change-Id: Icc920238f99af9c247235132decf6c566d2e1854
2020-05-07 08:51:00 +00:00
Yanting Yang
2b19585228 Merge "Hide the app details preference for mainline module apps" into rvc-dev am: cf33b4bc5e
Change-Id: I286857cb2b2f65581e23d5abc4eb970004db324e
2020-05-07 08:44:54 +00:00
Yanting Yang
cf33b4bc5e Merge "Hide the app details preference for mainline module apps" into rvc-dev 2020-05-07 08:41:39 +00:00
Bonian Chen
156ea15bb2 Merge "[Settings] Update EID in background" into rvc-dev am: cae9a9c2fb
Change-Id: I3f7c90b0784f435f11c66a43d60044fbf29527d4
2020-05-07 08:32:42 +00:00
Bonian Chen
cae9a9c2fb Merge "[Settings] Update EID in background" into rvc-dev 2020-05-07 08:20:58 +00:00
Kevin Maurin
73148ca2c4 Merge "Display "Android Auto" in Connected Devices summary text." into rvc-dev am: 56cefaf3d6 am: 637a3ba98f
Change-Id: Ic825e6250d56d05fa43f213da7cadcdb82eafe66
2020-05-07 08:05:13 +00:00
TreeHugger Robot
0bfc77b409 Merge "[Wi-Fi] Enhance Wifi Settings unit test cases." into rvc-dev am: a76a871653 am: ee755aa059
Change-Id: Iabc0a24ce26bb01af6084c05eee4bdda21ac987a
2020-05-07 08:04:56 +00:00
Kevin Maurin
637a3ba98f Merge "Display "Android Auto" in Connected Devices summary text." into rvc-dev am: 56cefaf3d6
Change-Id: Idd58f6a25ec91775be52e64766df90fba87cde30
2020-05-07 07:25:34 +00:00
TreeHugger Robot
ee755aa059 Merge "[Wi-Fi] Enhance Wifi Settings unit test cases." into rvc-dev am: a76a871653
Change-Id: Ie641bd25dffe9efeaaf25aa73edf30d80a3972e9
2020-05-07 07:25:23 +00:00
Kevin Maurin
56cefaf3d6 Merge "Display "Android Auto" in Connected Devices summary text." into rvc-dev 2020-05-07 07:20:57 +00:00
TreeHugger Robot
a76a871653 Merge "[Wi-Fi] Enhance Wifi Settings unit test cases." into rvc-dev 2020-05-07 07:11:32 +00:00
Bonian Chen
d1c8d2a771 [Settings] Update EID in background
Access EID in background thread to avoid blocking UI.

Bug: 153407357
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=SimStatusDialogControllerTest
Change-Id: Id30851bbd0b0fe080ed703586f9718be8b97abdd
2020-05-07 14:16:59 +08:00
Bonian Chen
70537e6699 Merge "[Settings] Mobile network not updated based on SIM change" into rvc-dev am: 3a132d7c9a am: 034f54b351
Change-Id: I14d5001743021e81c889b634ac0912d1b9b4a213
2020-05-07 05:24:38 +00:00
Bonian Chen
034f54b351 Merge "[Settings] Mobile network not updated based on SIM change" into rvc-dev am: 3a132d7c9a
Change-Id: I3aff01da1dc0e29b0da818784ee44f3b7a58c7bc
2020-05-07 05:06:56 +00:00
Bonian Chen
3a132d7c9a Merge "[Settings] Mobile network not updated based on SIM change" into rvc-dev 2020-05-07 04:48:02 +00:00
Kevin Maurin
cabe76debc Display "Android Auto" in Connected Devices summary text.
Android Auto will be exposing a Settings tile under Connected Devices -> Connection Preferences.
If the Setting tile is available, then the summary text will reflect that.

Tested with additional unit tests and manually validated the scenarios by
flashing crosshatch-eng and disabling/enabling the relevant features.

Fix: 153896447
Test: Added unit coverage for new scenarios
Test: make RunSettingsRoboTests
Test: manually verified by flashing crosshatch-eng and disabling/enabling relevant components
Change-Id: I5a129c41b98ba435bc159a72c9a7c2dfd646ecd3
2020-05-06 21:42:43 -07:00
govenliu
1e0d40f2bd [Wi-Fi] Enhance Wifi Settings unit test cases.
Add new unit test cases in
1. WifiP2pSettingsTest.java
2. WifiConfigController2Test.java
3. WifiP2PPreferenceControllerTest.java
4. WifiP2pPeerTest.java

the coverage rate of
1. com.android.settings.wifi will raise from 44% to 45%
2. com.android.settings.wifi.P2p will raise from 69% to 85%

Bug: 151696220
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2pSettingsTest
      make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigController2Test
      make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2pPeerTest
      make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2PPreferenceControllerTest
Change-Id: I365494e1654376b23b08f18b1a799ffc59323a4c
2020-05-07 12:13:02 +08:00
tim peng
4b53d13866 Merge "Update "Play media to" to "Play <APP> on"" into rvc-dev am: b8e18b4fb1 am: c5531ce6e8
Change-Id: Iaea9aafb37fec84782dfea363b39f61d420701c3
2020-05-07 02:56:12 +00:00
tim peng
c5531ce6e8 Merge "Update "Play media to" to "Play <APP> on"" into rvc-dev am: b8e18b4fb1
Change-Id: I33f5accb6c2ec61bb9fd33fd77bbfaab4d4f3aff
2020-05-07 02:45:38 +00:00
tim peng
b8e18b4fb1 Merge "Update "Play media to" to "Play <APP> on"" into rvc-dev 2020-05-07 02:33:19 +00:00
TreeHugger Robot
8894b0c50d Merge "Fix the layout direction problem in RTL locale" into rvc-dev am: a49498f048 am: 6528d2b8e8
Change-Id: I7035bc7b0b4a1fdf1d9217140ccb5b20b8f88cf3
2020-05-07 02:25:24 +00:00
TreeHugger Robot
6528d2b8e8 Merge "Fix the layout direction problem in RTL locale" into rvc-dev am: a49498f048
Change-Id: Ib68c776f136f56ca7dd39f852f822e75f6565136
2020-05-07 02:11:08 +00:00
TreeHugger Robot
a49498f048 Merge "Fix the layout direction problem in RTL locale" into rvc-dev 2020-05-07 01:59:25 +00:00
TreeHugger Robot
eb70670e94 Merge "Fix the tutorial title is inconsistent with the description under Talkback." into rvc-dev am: cb8be1de6f am: 3510f88fee
Change-Id: I32dc24757b77eae32dcd3cea7ac0d0c60c0d12e7
2020-05-06 17:59:06 +00:00
TreeHugger Robot
3510f88fee Merge "Fix the tutorial title is inconsistent with the description under Talkback." into rvc-dev am: cb8be1de6f
Change-Id: Id0653205db41cbf871912bcb39229e347a96da65
2020-05-06 17:46:45 +00:00
TreeHugger Robot
cb8be1de6f Merge "Fix the tutorial title is inconsistent with the description under Talkback." into rvc-dev 2020-05-06 17:32:07 +00:00
Marco Ballesio
0fa0d3be58 Merge "Developer option for the app freezer" into rvc-dev am: 97483a978a am: c2ca422b48
Change-Id: I960b04e225fdc0f1c9cac5821f900754df772e1b
2020-05-06 17:07:36 +00:00
Marco Ballesio
c2ca422b48 Merge "Developer option for the app freezer" into rvc-dev am: 97483a978a
Change-Id: I3c892f89d8e10fc7c9d4532347b6bc95985467bd
2020-05-06 16:49:02 +00:00
Marco Ballesio
97483a978a Merge "Developer option for the app freezer" into rvc-dev 2020-05-06 16:35:45 +00:00
Tim Peng
679ac79a5c PanelSlicesAdapterTest failure am: 901e1503f5 am: 65986f7eea
Change-Id: I42f6b03ce96d042adfec9a946a4251727381e29c
2020-05-06 13:57:21 +00:00
Tim Peng
65986f7eea PanelSlicesAdapterTest failure am: 901e1503f5
Change-Id: Iefc97416859e8099699a19aaf4bbdcc08c085873
2020-05-06 13:42:08 +00:00
Yanting Yang
172f4064a9 Hide the app details preference for mainline module apps
For mainline module apps, user can not install them from the play store.
We should not provide the play store link for them in app info page.
Therefore, we decide to hide their app details preference which is to
provide the play store link from the app info page.

Bug: 152718521
Test: visual and robotests
Change-Id: I46b64be0d725740c2b80a5251a42e9fc834e4596
2020-05-06 20:56:51 +08:00
Sunny Shao
fdf6273580 Fix the layout direction problem in RTL locale
Fixes: 153851006
Test: manual test
Change-Id: I46822b58b9584168e8b1fe2a3946fbdd3697b6f4
2020-05-06 19:53:03 +08:00
Tim Peng
901e1503f5 PanelSlicesAdapterTest failure
-Update test cases

Bug: 11390111
Test: make -j50 RunSettingsRoboTests
Change-Id: I6efd6b619eb5bc20b654a73bf1963ea9f446516d
2020-05-06 11:32:57 +00:00
Bonian Chen
3dec052a06 [Settings] Mobile network not updated based on SIM change
SIM status and configuration change need to update the screen.

Bug: 155520761
Test: manual
Change-Id: I18f0f599b2299b1a93115a00025f0c0dd7ecb450
2020-05-06 19:20:18 +08:00
TreeHugger Robot
bd4ce318bc Merge "Stop usb tethering when user cancel it" into rvc-dev am: 53c6c9a672 am: 1659954b04
Change-Id: I21fa2c4c84fa9024f9a76378d3d974647d16b249
2020-05-06 11:20:15 +00:00
Yi-Ling Chuang
4c1d3f20a3 Merge "Revert "Display "Android Auto" in Connected Devices summary text."" into rvc-dev am: 153b336baa am: 17deddb4d4
Change-Id: I317af8067149588cb98d89fe709de5329d283b05
2020-05-06 11:20:09 +00:00
TreeHugger Robot
1659954b04 Merge "Stop usb tethering when user cancel it" into rvc-dev am: 53c6c9a672
Change-Id: If3e0b046e04df06b44c692ba4869623fa39b7f38
2020-05-06 11:09:06 +00:00
Yi-Ling Chuang
17deddb4d4 Merge "Revert "Display "Android Auto" in Connected Devices summary text."" into rvc-dev am: 153b336baa
Change-Id: If9fd1bd478c3a43229916afb735180d66c2dda84
2020-05-06 11:08:53 +00:00
TreeHugger Robot
53c6c9a672 Merge "Stop usb tethering when user cancel it" into rvc-dev 2020-05-06 10:52:09 +00:00
Yi-Ling Chuang
153b336baa Merge "Revert "Display "Android Auto" in Connected Devices summary text."" into rvc-dev 2020-05-06 10:49:53 +00:00