Commit Graph

31030 Commits

Author SHA1 Message Date
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
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
TreeHugger Robot
39f33a74ed Merge "There are two same items in manual selection page, remove one item" into rvc-dev am: c2729a517e
Change-Id: I77e2dac7eade4f7c959cf16ff767a8a4b44b1f63
2020-05-05 06:46:05 +00:00
Bonian Chen
e017bb84ce Merge "[Settings] Query historical data in background" into rvc-dev 2020-05-05 06:35:39 +00:00
TreeHugger Robot
c2729a517e Merge "There are two same items in manual selection page, remove one item" into rvc-dev 2020-05-05 06:29:14 +00:00
TreeHugger Robot
2c8d10d14d Merge "Add log for debug" into rvc-dev am: e92fbec391
Change-Id: I3b1f40a4915994863f1fcbb0ea01c8d6f44c7e08
2020-05-05 05:24:51 +00:00
TreeHugger Robot
e92fbec391 Merge "Add log for debug" into rvc-dev 2020-05-05 05:11:53 +00:00
SongFerngWang
abf31a44c8 There are two same items in manual selection page, remove one item
Bug: 155703755
Test: To check UI. PASS
Change-Id: I8c9fb80ab761599abdfd6640410fdccedec444d0
2020-05-05 03:59:15 +00:00
SongFerng Wang
c2c4a49752 Merge "Remove the second network scan." into rvc-dev am: 28754bf6a8
Change-Id: I05b12d26ba3015a24e97080bb98f1be416ae60fb
2020-05-05 03:33:06 +00:00
Bonian Chen
004301ca4e Merge "[Settings] Avoid from crash" into rvc-dev am: 7ff5f56ea6
Change-Id: I19f2b0afbc408df1ae548c50bbbadd35de399c1b
2020-05-05 03:32:59 +00:00
Bonian Chen
551f515e6d Merge "[Settings] Adopt TelephonyBasePreferenceController" into rvc-dev am: fb015a3c24
Change-Id: I2875046cb301f1862e458e9e0ed806629b5aabc2
2020-05-05 03:32:51 +00:00
hughchen
47994dea19 Add log for debug
This CL use flag to decide which log should be show on.
This flag can be dynamic turn on when use below command:
adb shell setprop log.tag."your tag" VERBOSE

Bug: 155121301
Test: manually test
Change-Id: I0f3a28c11f6bd055efc84feb41d646b6c033f5b7
2020-05-05 11:26:28 +08:00
SongFerng Wang
28754bf6a8 Merge "Remove the second network scan." into rvc-dev 2020-05-05 03:20:53 +00:00
Bonian Chen
7ff5f56ea6 Merge "[Settings] Avoid from crash" into rvc-dev 2020-05-05 03:17:50 +00:00
Bonian Chen
fb015a3c24 Merge "[Settings] Adopt TelephonyBasePreferenceController" into rvc-dev 2020-05-05 03:17:18 +00:00
Arc Wang
955ff8831c Merge "[Wi-Fi] Modify NetworkRequestDialog title & summary" into rvc-dev am: 032f77052b
Change-Id: I1e21a4fd28115e9fe3780e34cb878ad9936b0f6b
2020-05-05 01:21:34 +00:00
Arc Wang
032f77052b Merge "[Wi-Fi] Modify NetworkRequestDialog title & summary" into rvc-dev 2020-05-05 01:02:05 +00:00
Julia Reynolds
5e1fc5ecf5 Update some notification strings am: 9bb55e1084
Change-Id: I7448f2bc4f2a0185a1d033e36b8f8c47a511d261
2020-05-04 19:26:59 +00:00
SongFerngWang
b7f98f7667 Remove the second network scan.
Fix: 153427564
Test: make RunSettingsRoboTests ROBOTEST_FILTER=NetworkSelectSettingsTest
(PASS)

Change-Id: If593fc4a4dd463bbc178b4864ad0ba01bb421b09
2020-05-04 22:31:15 +08:00
Julia Reynolds
9bb55e1084 Update some notification strings
Test: manual
Fixes: 155516603
Fixes: 155516894
Change-Id: I86058ebdb473890239236d30414cb05787832311
2020-05-04 10:25:57 -04:00
Bonian Chen
91f2c3d931 Merge "[Settings] Code refactor" into rvc-dev am: 1ab100e936
Change-Id: Ib84d0d5f03553c4bec81cf9c9325410da60b7460
2020-05-04 10:57:34 +00:00
Bonian Chen
3ce8cab000 Merge "[Settings] Enable access from non-UI thread" into rvc-dev am: 068eb89251
Change-Id: Ia130cfc79ddeb92c25256aea7b84420ff29b9132
2020-05-04 10:57:26 +00:00
Bonian Chen
1ab100e936 Merge "[Settings] Code refactor" into rvc-dev 2020-05-04 10:41:47 +00:00
Bonian Chen
068eb89251 Merge "[Settings] Enable access from non-UI thread" into rvc-dev 2020-05-04 10:41:16 +00:00
Bonian Chen
d6fd13ecc0 Merge "[Settings] Code refactor for availability session" into rvc-dev am: 07431066c4
Change-Id: I6cd5d25fd4b59b440605f0609d923109ab8db89a
2020-05-04 09:02:47 +00:00