Commit Graph

61128 Commits

Author SHA1 Message Date
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
4e64839ae5 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 47883ee75d -s ours
am skip reason: subject contains skip directive

Change-Id: Ibff6f24cb2287781a3045ca577150300b5d4736e
2020-05-05 14:22:42 +00:00
TreeHugger Robot
7dc92e1f5e [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 5c956f5b3c -s ours
am skip reason: subject contains skip directive

Change-Id: Iecdc1a3e3810e15f85f21e7fa1e7ab54ad713c09
2020-05-05 14:22:10 +00:00
TreeHugger Robot
47883ee75d Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-05 14:12:46 +00:00
TreeHugger Robot
5c956f5b3c Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-05 14:08:54 +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
Bill Yi
14eabdcf97 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I7f09e9b5ab9285195a54df3d766e77f824e860ef
2020-05-05 01:09:59 -07:00
Bill Yi
77a20b381a Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ic1f5cb2df079ee36c4a5e37f32680cdaac43d995
2020-05-05 00:26:38 -07:00
TreeHugger Robot
0fdb52dec8 Merge "Update "Play <APP> to" to "Play <APP> on"" into rvc-dev am: 4bad98ff09
Change-Id: I96225d2f7465ee3c04d415fbb245a42c6f9188ef
2020-05-05 06:46:20 +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
TreeHugger Robot
4bad98ff09 Merge "Update "Play <APP> to" to "Play <APP> on"" into rvc-dev 2020-05-05 06:42:30 +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
a8f2a858b8 Merge "Add a keywords for "Pair new deivce"" into rvc-dev am: d29dd6ca5e
Change-Id: Id98d8d5665d551b45d6482ebbda01216f9e6b149
2020-05-05 05:58:30 +00:00
TreeHugger Robot
d29dd6ca5e Merge "Add a keywords for "Pair new deivce"" into rvc-dev 2020-05-05 05:39:29 +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
Tsung-Mao Fang
67fd2e916d Add a keywords for "Pair new deivce"
In new search version, our search won't show summary anymore.
So, we should add a new keyword so that search can find this
setting with "bluetooth" query.

Test: Rebuilt rom and see "Pair new device" in search
Fix: 15575560
Change-Id: I50b5ab10aafcab423f24341229f69c06b0176643
2020-05-05 12:03:15 +08: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
Tim Peng
40111a5988 Update "Play <APP> to" to "Play <APP> on"
-design changes

Bug: 155345595
Test: build pass
Change-Id: I860673d22c57477bd2505360f0034731b28c7208
2020-05-05 11:01:03 +08: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
Marco Ballesio
cb96685c8f Developer option for the app freezer
The app freezer allows the system to suspend execution for cached apps.
Without it an app can receive CPU time even if cached, so this option
will allow developers to test their code when frozen while their apps
are cached.

The new developer option will present a list of alternatives for the
freezer operating mode:

"device default": use device/system settings to determine whether the
                  freezer is to be enabled or not. This is the current
                  behavior, and default value for the option.
"enabled": force freezer on
"disabled": force freezer off

A dialog prompting the user to reboot is presented upon freezer mode
change. The device is automatically rebooted if the user decides to
proceed.

Bug: 155465196
Change-Id: I857b77cc4fc1ad766e8d5825ada9b271d3e1ab3a
Test: manually verifued the option works as intendend when this patch is
applied with its companion CLs

Change-Id: I26450b7b7ea2b345fd3661d4869fbc74ae38c0c9
2020-05-04 11:29:10 -07: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