Commit Graph

31054 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
f858411efc Merge "Update description when device allows guest user" into rvc-dev am: 6b82df2603
Change-Id: If351e1790ccd6abc5686899558d231550bbd7145
2020-05-06 09:30:04 +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
2ae4a10843 Merge "In system nav settings, makes back inset animation full screen." into rvc-dev am: 9b940670c1
Change-Id: Iaff3df412af4e8101a02b9000ce2ed986c5e0bfb
2020-05-06 05:45:49 +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
ffe907b29c Merge "Add 12dp padding above the first slice item" into rvc-dev am: 4ed5c3aac4
Change-Id: Ib0b782033f27f74c502364bd63b22f4d1f614ffb
2020-05-06 05:09:40 +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
Mehdi Alizadeh
3c895271ad In system nav settings, makes back inset animation full screen.
The animated inset size now appears above status bar and nav bar.

Bug: 154005084
Test: Manual test in light and dark themes.
Change-Id: I1fc9d3ab6e478d29b72b15ffec09ca3a5a50de5b
2020-05-05 19:05:26 -07:00
Tim Peng
2f47d771fb Add 12dp padding above the first slice item
-Add an extra padding in adapter for dedicated panels
-Add test cases

Bug: 154181365
Test: manual test
make -j50 RunSettingsRoboTests
"adb shell am start -a android.settings.panel.action.INTERNET_CONNECTIVITY"

Change-Id: I65bc26c23ca5a7f1b433c36ac7ddf1a658793719
2020-05-06 09:04:25 +08:00
TreeHugger Robot
bd89ae50fe Merge "Remove duplicate result for dark mode" into rvc-dev am: 6e68e34f2a
Change-Id: Id85096a3c6a1f29f417610dea10a82cdbc44a8ba
2020-05-06 01:00:06 +00:00
TreeHugger Robot
6e68e34f2a Merge "Remove duplicate result for dark mode" into rvc-dev 2020-05-06 00:42:10 +00:00
Kevin Maurin
6140d7f30f Display "Android Auto" in Connected Devices summary text. am: 6fb790b092
Change-Id: Id4b15a2a3495a7452a9be86c719c7b469e377e2c
2020-05-05 22:50:39 +00:00
Kevin Maurin
6fb790b092 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: I05e0bca1b4c05939114703f868b1c71b76410532
2020-05-05 14:05:05 -07:00
András Klöczl
2718b93da7 Merge "Improve multi user settings screen" into rvc-dev am: 509ae917a4
Change-Id: I360bc2788c1865924438ba56084ac59a81f5ea1e
2020-05-05 17:43:37 +00:00
András Klöczl
509ae917a4 Merge "Improve multi user settings screen" into rvc-dev 2020-05-05 17:27:42 +00:00
Bonian Chen
646b02e4d6 Merge "[Settings] Code refactor" into rvc-dev am: 1de5f2e799
Change-Id: Icd6e9fd789f1ce9031d3171e238411e8978884c0
2020-05-05 16:12:52 +00:00
Bonian Chen
1de5f2e799 Merge "[Settings] Code refactor" into rvc-dev 2020-05-05 15:45:13 +00:00
TreeHugger Robot
3308f6b52d Merge "Replace banner video with static image for Color Inversion." into rvc-dev am: 2e4e4ed1fd
Change-Id: Icbc1f1bfeddb0319a74d9638ae8e8caa865b9d13
2020-05-05 13:18:07 +00:00
Tsung-Mao Fang
ae9dc54c56 Remove duplicate result for dark mode
We only keep the one in display settings.

Test: robo test and search dark mode in settings search.
Fix: 155735315
Change-Id: I71041f473944e854ef4601063658021bb9411069
2020-05-05 21:08:37 +08:00
TreeHugger Robot
2e4e4ed1fd Merge "Replace banner video with static image for Color Inversion." into rvc-dev 2020-05-05 13:07:30 +00:00
TreeHugger Robot
e29f8d838d Merge "Remove Connect/Disconnect button dependence on WifiEntry.isExpired()" into rvc-dev am: 02e712ce42
Change-Id: I8058bf54fa1785ef31cc9e219e5a985267ced68a
2020-05-05 12:49:05 +00:00
Andras Kloczl
d19dc306dd Improve multi user settings screen
- Added switch and user delete functionality to details screen.
- Added robo tests.

Screenshots: http://shortn/_S6fbIMhAYO
Bug: 142798722
Test: Run robo tests with this command:
  make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.users.*SettingsTest"
Change-Id: Id51c12c5470e30e2dffe93f3bd8c22380d8bdc1f
2020-05-05 13:45:01 +01:00
TreeHugger Robot
02e712ce42 Merge "Remove Connect/Disconnect button dependence on WifiEntry.isExpired()" into rvc-dev 2020-05-05 12:33:28 +00:00
Peter_Liang
5b957476be Replace banner video with static image for Color Inversion.
Bug: 152466128
Test: manual test
Change-Id: I859052385930b01929cad8dbf231d212a9507453
2020-05-05 19:46:08 +08:00
Jason Chiu
fcbcc763bf Merge "Reload homepage cards when necessary" into rvc-dev am: 2e5da48c7f
Change-Id: I495ca07bf092cbb51127a9eee63951302cb0434a
2020-05-05 10:17:28 +00:00
Jason Chiu
2e5da48c7f Merge "Reload homepage cards when necessary" into rvc-dev 2020-05-05 10:04:09 +00:00
Jason Chiu
e0327ee583 Reload homepage cards when necessary
Many users leave Settings app by pressing Home key, but Settings remains
in the same card status and doesn't update when users come back, which
may lead to a bad UX.

This change reloads cards and resets the UI session for some events,
including home key, recent app key, and screen off.

Fixes: 151789260
Test: robotest
Change-Id: Idb575cef4a58894984cb42238d7b3b43c49389a3
2020-05-05 10:03:49 +00:00
Bonian Chen
0065f2e460 [Settings] Code refactor
Code refactor.

Bug: 141833767
Test: manual
Change-Id: I3fa9dcc630b7612c1af3300024dee4f8deb6b308
2020-05-05 10:01:09 +00:00
TreeHugger Robot
0f9bc18c74 Merge "Enable some settings pages to use paralleled-loading method" into rvc-dev am: 18490b2dc8
Change-Id: I8a9a225a069442e84fa73d8c75c6c6033b3d3934
2020-05-05 09:34:16 +00:00
TreeHugger Robot
18490b2dc8 Merge "Enable some settings pages to use paralleled-loading method" into rvc-dev 2020-05-05 09:23:13 +00:00
Bonian Chen
0c7bad635f Merge "[Settings] Refactor for performance" into rvc-dev am: cdab906c45
Change-Id: I69b1c5bbe9efb305e6a23d7c9e0765618d449fc9
2020-05-05 08:43:01 +00:00
Bonian Chen
cdab906c45 Merge "[Settings] Refactor for performance" into rvc-dev 2020-05-05 08:34:01 +00:00
Bonian Chen
341c7b1471 Merge "[Settings] Query historical data in background" into rvc-dev am: e017bb84ce
Change-Id: I6bc4f75e41ef6706c0e9566bf83771fb3ecd778c
2020-05-05 06:46:12 +00:00