Commit Graph

61463 Commits

Author SHA1 Message Date
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
2fb7f3e5bb Merge "Enable some settings pages to use paralleled-loading method" into rvc-dev am: 18490b2dc8
Change-Id: I7bd50f81b088c8dc1ffcf92e23dc8be06e1d0f8e
2020-05-05 09:34:13 +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
d36b2bb72d Merge "[Settings] Refactor for performance" into rvc-dev am: cdab906c45
Change-Id: I9be77fe1909f88a43eabb876f5de8e2010354015
2020-05-05 08:43:09 +00:00
Bonian Chen
cdab906c45 Merge "[Settings] Refactor for performance" into rvc-dev 2020-05-05 08:34:01 +00:00
Treehugger Robot
703989060f Merge "Settings: Hide carrier settings version if empty" am: 04b1e2415c am: 72f8fa1c90
Change-Id: If9a837c99d37164ce48678d166f20d1821a31fdf
2020-05-05 08:30:54 +00:00
Treehugger Robot
72f8fa1c90 Merge "Settings: Hide carrier settings version if empty" am: 04b1e2415c
Change-Id: I5ed35dc059aae3c9d13f9fe02f7106ca075cf112
2020-05-05 08:15:36 +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
Treehugger Robot
04b1e2415c Merge "Settings: Hide carrier settings version if empty" 2020-05-05 07:37:43 +00: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
ba3a8b5f27 Merge "Update "Play <APP> to" to "Play <APP> on"" into rvc-dev am: 4bad98ff09
Change-Id: I24002c7786f0cb69922474fa17f1f4828e67f86f
2020-05-05 06:46:28 +00:00
Bonian Chen
a33b11edd7 Merge "[Settings] Query historical data in background" into rvc-dev am: e017bb84ce
Change-Id: I65a99661958f8081b58b341e0573ff719d7d450a
2020-05-05 06:46:21 +00:00
TreeHugger Robot
865c74f9d6 Merge "There are two same items in manual selection page, remove one item" into rvc-dev am: c2729a517e
Change-Id: Ia44ced213f2ba547f0f64efcfaf8d9ce6bf6c6db
2020-05-05 06:46:14 +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
edec7354c6 Merge "Add a keywords for "Pair new deivce"" into rvc-dev am: d29dd6ca5e
Change-Id: Ie48622ecc3976b8517d8e91ebb484b703e2dac9c
2020-05-05 05:58:40 +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
8cd75c8398 Merge "Add log for debug" into rvc-dev am: e92fbec391
Change-Id: I07ce6d9ba6101e7c4a09084c8a88dfec20edd701
2020-05-05 05:24:55 +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
004083a21f Merge "Remove the second network scan." into rvc-dev am: 28754bf6a8
Change-Id: Ic1bc6791cf56171349f81273fa9a7b7c210a194e
2020-05-05 03:33:35 +00:00
Bonian Chen
e96b23a251 Merge "[Settings] Avoid from crash" into rvc-dev am: 7ff5f56ea6
Change-Id: Iadad44a8f094c5e589409434dfc5ff54a9dc283b
2020-05-05 03:33:29 +00:00
Bonian Chen
24314ee382 Merge "[Settings] Adopt TelephonyBasePreferenceController" into rvc-dev am: fb015a3c24
Change-Id: I97309575254b6d316275f4365bc8fa102ae18447
2020-05-05 03:33:00 +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
2a1515ac9b Merge "[Wi-Fi] Modify NetworkRequestDialog title & summary" into rvc-dev am: 032f77052b
Change-Id: I4444ead097f2c63c6c21be92ca442e0479d0af93
2020-05-05 01:21:40 +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
9da53fe3b2 Update some notification strings am: 9bb55e1084
Change-Id: I967cf8a9a6b7eac95bab8e1ee90160c282ac2bcc
2020-05-04 19:27:01 +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
Wang Han
f05b2d22fc Settings: Hide carrier settings version if empty
* This gives bad UX if empty as it stays copyable
   and "clickable".

Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Change-Id: Ia54a1d130e77b4440753f0ce69ae1726cc2c08d9
2020-05-04 13:39:30 +02:00
TreeHugger Robot
f96e7d7219 Merge "Fix broken test cases" into rvc-dev am: 15254e3b5e
Change-Id: Ib0a7163b7338b39428857c292f7c3ff2cad94c44
2020-05-04 11:25:51 +00:00
TreeHugger Robot
15254e3b5e Merge "Fix broken test cases" into rvc-dev 2020-05-04 11:12:50 +00:00
Bonian Chen
32e7ea78b2 Merge "[Settings] Code refactor" into rvc-dev am: 1ab100e936
Change-Id: I091835b2c37c5dea6ad6d5bec1ef9aa586c602b2
2020-05-04 10:57:41 +00:00
Bonian Chen
7bb7200eab Merge "[Settings] Enable access from non-UI thread" into rvc-dev am: 068eb89251
Change-Id: I2174f9bfe34c5360ee3146b095c0e070efe52768
2020-05-04 10:57:34 +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
Tsung-Mao Fang
17b882a94d Fix broken test cases
Since we added a new API in ag/11355641,
we need to shadow this new new API.

Fix: 130916962
Test: run robo test
Change-Id: I2176253aae915d1a31043ebbf197d4dd1b1f2072
2020-05-04 17:22:01 +08:00
Bonian Chen
9d6ba23df3 Merge "[Settings] Code refactor for availability session" into rvc-dev am: 07431066c4
Change-Id: Ie4645e45cb3318f2ae8882c2d98131994f0b7c87
2020-05-04 09:02:47 +00:00
tim peng
6a6650a58b Merge "Modify rule of remote media session UI" into rvc-dev am: 1424b594c9
Change-Id: I17fbe2aea7684a13f18dd47906a857daed5e8e72
2020-05-04 09:02:34 +00:00
Bonian Chen
2e5af24106 [Settings] Crash avoidance am: 017cc4e48f
Change-Id: I042c1b5332c18c780400e7ea47f70eb44b597cfc
2020-05-04 09:02:21 +00:00
Bonian Chen
07431066c4 Merge "[Settings] Code refactor for availability session" into rvc-dev 2020-05-04 08:49:21 +00:00
tim peng
1424b594c9 Merge "Modify rule of remote media session UI" into rvc-dev 2020-05-04 08:47:41 +00:00