Bonian Chen
a9de4477e6
[Settings] Avoid from crash
...
Avoid from crash when updateState() performed before
displayPreference().
Bug: 141833767
Test: make RunSettingsRoboTests -j
ROBOTEST_FILTER=ApnPreferenceControllerTest
Change-Id: I4008010077c61930487fef01af306ccdfd69e38f
2020-05-04 10:59:58 +08:00
Sunny Shao
6d60248053
Enable some settings pages to use paralleled-loading method
...
- Here these pages include AppInfoDashboardFragment, ConnectedDeviceDashboardFragment,
DevelopmentSettingsDashboardFragment, NetworkDashboardFragment, ConfigureNotificationSettings.
- The TimeSpentInAppPreferenceController use the LiveDataController.
Fixes: 135299529
Bug: 137558156
Test: compilation
Change-Id: I455a16536c9966184f1b2bd81d1f1217f3e09f9d
2020-05-04 10:34:23 +08:00
TreeHugger Robot
1608a623b7
Merge "Import translations. DO NOT MERGE" into rvc-d1-dev
2020-05-03 09:00:38 +00:00
TreeHugger Robot
9bd365150c
Merge "Import translations. DO NOT MERGE" into rvc-d1-dev
2020-05-03 08:23:22 +00:00
Bill Yi
ca4f8dfb98
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I4c63597e3993b679af42f096a8af9dc4dceea1c1
2020-05-02 19:12:05 -07:00
Bill Yi
651cc12908
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: Iadf2ead728407f20fa5fead25b15bafb811d7f20
2020-05-02 18:40:13 -07:00
Bill Yi
e20bd14430
[automerger skipped] Import translations. DO NOT MERGE am: 37c795af3a
-s ours
...
am skip reason: subject contains skip directive
Change-Id: I1cd6c37cb420674e93b863d21a2b0062d7a355e4
2020-05-02 05:50:15 +00:00
Bill Yi
37c795af3a
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I76a7e3b5737e53869bee71cb8f8bbab9dbb40fc1
2020-05-01 18:03:30 -07:00
TreeHugger Robot
79fca6d0bd
Merge "Center text even if string is long" into rvc-dev am: d2f16b4a25
...
Change-Id: I85c102e34db5c098eaff667b01848c7113416c2b
2020-05-01 14:37:04 +00:00
TreeHugger Robot
d2f16b4a25
Merge "Center text even if string is long" into rvc-dev
2020-05-01 14:20:23 +00:00
Arc Wang
099685206b
Merge "Set usage graph LTR layout direction for Persian & Urdu" into rvc-dev am: 0a8c3b0420
...
Change-Id: Id2e7b98fe3e461119ab9a8e4573361f800a53328
2020-05-01 13:32:06 +00:00
Arc Wang
0a8c3b0420
Merge "Set usage graph LTR layout direction for Persian & Urdu" into rvc-dev
2020-05-01 13:16:08 +00:00
Alex Johnston
d228e68e5d
Merge "Update work challenge header in Settings" into rvc-dev am: cf342c9581
...
Change-Id: Id61362adab4df33881d0eb7d9675cbf46c2236c6
2020-05-01 10:30:55 +00:00
Alex Johnston
cf342c9581
Merge "Update work challenge header in Settings" into rvc-dev
2020-05-01 10:10:49 +00:00
Arc Wang
9aff7f5d0f
Merge "[Wi-Fi] Enhance com.android.settings.wifi.p2p unit test cases." into rvc-dev am: 7e40584e5d
...
Change-Id: Id77ca934c98b189bb2634b17e53ff580025fe2bd
2020-05-01 05:06:19 +00:00
Arc Wang
7e40584e5d
Merge "[Wi-Fi] Enhance com.android.settings.wifi.p2p unit test cases." into rvc-dev
2020-05-01 04:52:30 +00:00
Quang Luong
0ddc3675c4
Remove Connect/Disconnect button dependence on WifiEntry.isExpired()
...
WifiEntry.canConnect() may be true even if isExpired() is true, such as
in the case of connecting to renew a subscription. Thus, the
connect/disconnect button should only rely on canConnect() and
canDisconnect() (as well as the intermediate state of connecting) to
determine its visibility.
Bug: 150384136
Test: manually install expired passpoint profile and verify if the
connect button is visible and working.
Change-Id: Ibfdf285f3b97fd0de88804d4658df20bd67bf8e0
2020-04-30 20:36:32 -07:00
govenliu
4d74ae2e67
[Wi-Fi] Enhance com.android.settings.wifi.p2p unit test cases.
...
Add new unit test cases in WifiP2pSettingsTest.java, the coverage rate will raise from 30% to 71%.
Bug: 151696220
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2pSettingsTest
Change-Id: I214866efae47a99e75178beca48deb398b70f9bd
2020-05-01 09:00:10 +08:00
Lucas Dupin
665c36eae2
Create QS media player setting
...
Test: make RunSettingsRoboTests ROBOTEST_FILTER=QuickSettingsMediaPlayerPreferenceControllerTest
Test: manual
Fixes: 155315021
Change-Id: I2583b985710898d0480f599fc9b5a2451c8950a7
2020-04-30 12:04:23 -07:00
Julia Reynolds
815ee670c9
Center text even if string is long
...
Test: manual in Armenian language
Fixes: 154930071
Change-Id: I61a84958a2043d36241b6fa5eff8dcb2c7ef0db0
2020-04-30 13:05:04 -04:00
TreeHugger Robot
631944fe1d
Merge "Add keyword for app pinning setting" into rvc-dev am: 6debb6a775
...
Change-Id: I3d8a9c7bcb1963f40be9dfd651f52df8dc0032b6
2020-04-30 16:07:39 +00:00
TreeHugger Robot
6debb6a775
Merge "Add keyword for app pinning setting" into rvc-dev
2020-04-30 15:49:19 +00:00
TreeHugger Robot
6b77190291
Merge "Fix missing zone strings in some cases" into rvc-dev am: 4f244f6b88
...
Change-Id: I0edc70f57a615a544d3aafd0561a8cf928c3c44d
2020-04-30 14:43:31 +00:00
Edgar Wang
db6bf67b32
Merge "Add metrics log for special cases in Lanugages & About page" into rvc-dev am: cf654356d6
...
Change-Id: I3241d5cd6a29013c29313059af555e8bd0ac8ee2
2020-04-30 14:37:31 +00:00
TreeHugger Robot
4f244f6b88
Merge "Fix missing zone strings in some cases" into rvc-dev
2020-04-30 14:32:40 +00:00
Edgar Wang
cf654356d6
Merge "Add metrics log for special cases in Lanugages & About page" into rvc-dev
2020-04-30 14:27:23 +00:00
Yanting Yang
e3840fbc2d
Merge "Fix NPE crash when opening the app info from shortcut suggestion" into rvc-dev am: 459e5e1636
...
Change-Id: Ifd6305cadbc27da4e72c2ee94f1b7fe03e93f812
2020-04-30 13:37:36 +00:00
Tsung-Mao Fang
d3b4b1043b
Add keyword for app pinning setting
...
We change the "screen pinning" to "app pinning",
and we still want to let user can get same search result
when they query "screen pinning".
Test: Open search and query "screen pinning", see the app pinning result
Bug: 151332926
Change-Id: Ice49d6db39ce89aa84508587262d9529df726784
2020-04-30 21:24:53 +08:00
Yanting Yang
459e5e1636
Merge "Fix NPE crash when opening the app info from shortcut suggestion" into rvc-dev
2020-04-30 13:17:01 +00:00
Yanting Yang
84eddf16d8
Merge "Remove index for Take call on of Sound page" into rvc-dev am: 855f704eca
...
Change-Id: I9510534bd592553a8b196b5477c3dd886c2057b8
2020-04-30 12:31:47 +00:00
Jason Hsu
2b137abdf0
Merge "Logs accessibility service user trigger status." into rvc-dev am: a69eb462a8
...
Change-Id: Ic565f4be6ac3c6499bde8e6b3f18fae5e70de79c
2020-04-30 12:31:35 +00:00
TreeHugger Robot
2935ac8e93
Merge "A new ui flow for screen pinning feature" into rvc-dev am: 8da9374ace
...
Change-Id: Ia3a3e56e4e7ec265beb11522d5cc138da8c4851a
2020-04-30 12:31:15 +00:00
TreeHugger Robot
9a4a80aa19
Merge "Add icons to contextual Wi-Fi card header" into rvc-dev am: c4310e5980
...
Change-Id: I5319acc112a0bf710b880ee19b24c5846c8388ec
2020-04-30 12:31:06 +00:00
Yanting Yang
855f704eca
Merge "Remove index for Take call on of Sound page" into rvc-dev
2020-04-30 12:30:53 +00:00
Jason Hsu
a69eb462a8
Merge "Logs accessibility service user trigger status." into rvc-dev
2020-04-30 12:21:16 +00:00
TreeHugger Robot
8da9374ace
Merge "A new ui flow for screen pinning feature" into rvc-dev
2020-04-30 12:09:54 +00:00
TreeHugger Robot
c4310e5980
Merge "Add icons to contextual Wi-Fi card header" into rvc-dev
2020-04-30 12:08:54 +00:00
Jason Chiu
71953e7475
Merge "Refine contextual Bluetooth card behavior when Bluetooth is off" into rvc-dev am: 5b260b0bd1
...
Change-Id: I2323581dd6f6b3836b43fc494fc42fe45da10752
2020-04-30 10:57:08 +00:00
Jason Chiu
5b260b0bd1
Merge "Refine contextual Bluetooth card behavior when Bluetooth is off" into rvc-dev
2020-04-30 10:44:06 +00:00
Jason Chiu
509c0119fb
Add icons to contextual Wi-Fi card header
...
Fixes: 149666241
Test: robotest
Change-Id: I67076eb561bc496b272b28dc54bce8845d8d622f
2020-04-30 18:34:33 +08:00
Tsung-Mao Fang
ae661a0782
A new ui flow for screen pinning feature
...
The purpose of this change is to resolve a number of security issue
around screen pinning.
See more detail go/screen-pinning-allows
There're a few change for Settings app.
- Rename the screen pinning to app pinning.
- Change the string description for app pinning.
- Pop up a warning dialog while user is enabling this feature.
Test: Rebuilt rom and see new ui flow.
Bug: 151332926
Change-Id: Ife07d7b95ab5dccb2aed7f2bc8fa32f97763bd63
2020-04-30 17:28:05 +08:00
Edgar Wang
329b20a445
Add metrics log for special cases in Lanugages & About page
...
Bug: 137559984
Test: robotest
Change-Id: I007282d8c4d5f9c6168dd84f6feee7e237ec7c42
2020-04-30 17:19:52 +08:00
Arc Wang
1efd7878c7
[Wi-Fi] Modify NetworkRequestDialog title & summary
...
Design change for UX improvement.
Bug: 155348488
Test: manual visual
Change-Id: I07d441f6fda8017cc9f4561ef64d57ff8db86f0f
2020-04-30 15:34:43 +08:00
TreeHugger Robot
1b942d4d92
Merge "Twilight Location off text" into rvc-dev am: 136c101001
...
Change-Id: I69126f622ed425ce97d1ddc3937afa5b55d72e9e
2020-04-30 04:48:36 +00:00
TreeHugger Robot
136c101001
Merge "Twilight Location off text" into rvc-dev
2020-04-30 04:34:42 +00:00
TreeHugger Robot
2712b5b0b3
Merge "Add "Play <APP> to" string" into rvc-dev am: 9fd2ebf9ea
...
Change-Id: I8f0e37d66d1cd6956611ffd12943bb1e0dc4a59f
2020-04-30 04:20:47 +00:00
TreeHugger Robot
9fd2ebf9ea
Merge "Add "Play <APP> to" string" into rvc-dev
2020-04-30 04:10:39 +00:00
Blake Kragten
d328f9c80d
Merge "Remove enhanced connectivity switch for non-pixel" into rvc-dev am: 6fe60521d1
...
Change-Id: I9527c519a2daa31ae79a0c3d3ea6f5ccbbca492b
2020-04-30 03:46:56 +00:00
Blake Kragten
6fe60521d1
Merge "Remove enhanced connectivity switch for non-pixel" into rvc-dev
2020-04-30 03:24:52 +00:00
Jay Aliomer
41ee5663ab
Twilight Location off text
...
When location is disabled, dark theme and night light
will show text and button to take the user to location page
Fixes: 153115261
Fixes: 153115618
Test: manually turn off location and observe view
Change-Id: I24be2f26a4c9e1b3f2a17e83e6f91cb7685f2e28
2020-04-29 23:14:32 -04:00