Commit Graph

60342 Commits

Author SHA1 Message Date
PETER LIANG
f9d34c89ab Merge "Revises the strings to meet the the activity-based accessibility feature." into rvc-dev am: 19319b85e9
Change-Id: I939b45d89395d6bcb8323a95a8d9c72836ea9c6e
2020-05-07 11:12:41 +00:00
PETER LIANG
74be8c7396 Merge "Correct the string relate to volume shortcut keys." into rvc-dev am: 6804573968
Change-Id: I0ee94a29e189e8b4d496efa4ee07f75c2561e46e
2020-05-07 11:12:34 +00:00
PETER LIANG
19319b85e9 Merge "Revises the strings to meet the the activity-based accessibility feature." into rvc-dev 2020-05-07 10:57:14 +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
01d79db1fc Merge "Revert "Improve multi user settings screen"" into rvc-dev am: e13919cf4b
Change-Id: I6cbf30d9f124b2a5ff10c650b44341bacb5da882
2020-05-07 09:45:40 +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
9a29ea71a2 Merge "Hide the app details preference for mainline module apps" into rvc-dev am: cf33b4bc5e
Change-Id: Ided443eab584ea8c1e3f6e439045aa79ecc76bb3
2020-05-07 08:45:00 +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
c98ca2d00f Merge "[Settings] Update EID in background" into rvc-dev am: cae9a9c2fb
Change-Id: I1debe0fd3c9512e2eba01e5025ef78b7e5dbaba8
2020-05-07 08:32:58 +00:00
Bonian Chen
cae9a9c2fb Merge "[Settings] Update EID in background" into rvc-dev 2020-05-07 08:20:58 +00:00
Peter_Liang
833fae0387 Revises the strings to meet the the activity-based accessibility feature.
Bug: 155249850
Test: manual test
Change-Id: I4c493fb6a0123be87b17d392853d3ae9f3351879
2020-05-07 08:17:51 +00:00
Kevin Maurin
f0ba8a7f80 Merge "Display "Android Auto" in Connected Devices summary text." into rvc-dev am: 56cefaf3d6
Change-Id: I4240e6356b3665004ce168af10296d3a41410afe
2020-05-07 07:25:48 +00:00
TreeHugger Robot
b9065a0d8c Merge "[Wi-Fi] Enhance Wifi Settings unit test cases." into rvc-dev am: a76a871653
Change-Id: I6d2c23e7ed8f9b9c12d2b11933b26e0dcf7bde2f
2020-05-07 07:25:32 +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
a78fbae982 Merge "[Settings] Mobile network not updated based on SIM change" into rvc-dev am: 3a132d7c9a
Change-Id: I12d12e8eb169c59992173e7afad84d89b2771db5
2020-05-07 05:07:27 +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
30a4d31d6b Merge "Update "Play media to" to "Play <APP> on"" into rvc-dev am: b8e18b4fb1
Change-Id: I2342d14ea9c9afc5437aa2a601dbddf1ae2ebfed
2020-05-07 02:44:50 +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
bb136fe79d Merge "Fix the layout direction problem in RTL locale" into rvc-dev am: a49498f048
Change-Id: Idde6ae422d00222682d4f15ba59554a3b54b4853
2020-05-07 02:11:27 +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
68c0ac7d15 Merge "Fix the tutorial title is inconsistent with the description under Talkback." into rvc-dev am: cb8be1de6f
Change-Id: I04f11df8f9387218e34c59b5362435ed85187840
2020-05-06 17:46:58 +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
3703b15c93 Merge "Developer option for the app freezer" into rvc-dev am: 97483a978a
Change-Id: I6d9de0fbf8fe0bd0b5af3402943aaa97ed481b75
2020-05-06 16:49:05 +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
6056783954 PanelSlicesAdapterTest failure am: 901e1503f5
Change-Id: I194be11669e83eb775e076f5b5131910ebb19aa5
2020-05-06 13:42:27 +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
0563f93000 Merge "Stop usb tethering when user cancel it" into rvc-dev am: 53c6c9a672
Change-Id: I965172069db78a44d1148d4966ab9d7042a074a4
2020-05-06 11:09:09 +00:00
Yi-Ling Chuang
edffa96f2f Merge "Revert "Display "Android Auto" in Connected Devices summary text."" into rvc-dev am: 153b336baa
Change-Id: Idcfeb005184d8c6e0fe17c44bc48a3a1b041fea9
2020-05-06 11:09:02 +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
Yi-Ling Chuang
8258eb0327 Revert "Display "Android Auto" in Connected Devices summary text."
This reverts commit 6fb790b092.

Reason for revert: This CL causes test failures. Per Settings convention, revert the CL first.

Bug: 155829041
Change-Id: I486e09b63c9999b56d4359a7ec211fe8a6c89181
2020-05-06 10:37:47 +00:00
Tsung-Mao Fang
cfa8bb6a3c Merge "Update description when device allows guest user" into rvc-dev am: 6b82df2603
Change-Id: I063a2371a54ca843642e202e8bacf8774df338e5
2020-05-06 09:30:20 +00:00
Tsung-Mao Fang
6b82df2603 Merge "Update description when device allows guest user" into rvc-dev 2020-05-06 09:11:30 +00:00
hughchen
9546b7fdcb Stop usb tethering when user cancel it
- Call stop tethering to clear entitlement result when user do not want
  using USB tethering on USB menu.
- Add test case

Bug: 154933817
Test: make -j42 RunSettingsRoboTests
Change-Id: Idaaba8df2052f45e710c7959251817e8947a544f
2020-05-06 16:02:35 +08:00
Peter_Liang
02606e31fd Fix the tutorial title is inconsistent with the description under Talkback.
Root cause: wrong condition.

Next: Remove the condition related to touch explore.

Bug: 155829440
Test: manual test
Change-Id: I85a01979d9dcc4bc87f9a54661119f79e94ea791
2020-05-06 15:21:30 +08:00
TreeHugger Robot
cccd089509 Merge "In system nav settings, makes back inset animation full screen." into rvc-dev am: 9b940670c1
Change-Id: Iafc69544e055b5e15088afa41084e6adf5b4fdaf
2020-05-06 05:46:09 +00:00
TreeHugger Robot
9b940670c1 Merge "In system nav settings, makes back inset animation full screen." into rvc-dev 2020-05-06 05:34:21 +00:00
tim peng
08bee5a5a5 Merge "Add 12dp padding above the first slice item" into rvc-dev am: 4ed5c3aac4
Change-Id: I5855d67dc250fa1f73d0cf4f6c75586b66119b5b
2020-05-06 05:09:52 +00:00
tim peng
4ed5c3aac4 Merge "Add 12dp padding above the first slice item" into rvc-dev 2020-05-06 05:00:36 +00:00
Tsung-Mao Fang
4cca8db28c Update description when device allows guest user
If device supports guest user mode, app pinning
recommends guest feature to user.

Test: Rebuilt rom and see correct string in app pinning.
Fix: 151332926
Change-Id: I6c03ecfe075fba2f4dedca18f65893f328e680aa
2020-05-06 12:17:23 +08:00
Tim Peng
2ef5a87f36 Update "Play media to" to "Play <APP> on"
-Update in Volume panel and Sound settings
-Add test cases

Bug: 155345595
Test: make -j50 RunSettingsRoboTests
Change-Id: Id971038ddbf22924a747e4e1be3597face7ec6ed
2020-05-06 10:17:15 +08:00