OSDN Git Service
Kevin Maurin [Wed, 22 Apr 2020 20:53:55 +0000 (13:53 -0700)]
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
András Klöczl [Tue, 5 May 2020 17:27:42 +0000 (17:27 +0000)]
Merge "Improve multi user settings screen" into rvc-dev
Bonian Chen [Tue, 5 May 2020 15:45:13 +0000 (15:45 +0000)]
Merge "[Settings] Code refactor" into rvc-dev
TreeHugger Robot [Tue, 5 May 2020 14:12:46 +0000 (14:12 +0000)]
Merge "Import translations. DO NOT MERGE" into rvc-dev
TreeHugger Robot [Tue, 5 May 2020 14:08:54 +0000 (14:08 +0000)]
Merge "Import translations. DO NOT MERGE" into rvc-dev
TreeHugger Robot [Tue, 5 May 2020 13:07:30 +0000 (13:07 +0000)]
Merge "Replace banner video with static image for Color Inversion." into rvc-dev
Andras Kloczl [Tue, 21 Apr 2020 10:32:12 +0000 (11:32 +0100)]
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
TreeHugger Robot [Tue, 5 May 2020 12:33:28 +0000 (12:33 +0000)]
Merge "Remove Connect/Disconnect button dependence on WifiEntry.isExpired()" into rvc-dev
Peter_Liang [Tue, 5 May 2020 09:01:47 +0000 (17:01 +0800)]
Replace banner video with static image for Color Inversion.
Bug:
152466128
Test: manual test
Change-Id: I859052385930b01929cad8dbf231d212a9507453
Jason Chiu [Tue, 5 May 2020 10:04:09 +0000 (10:04 +0000)]
Merge "Reload homepage cards when necessary" into rvc-dev
Jason Chiu [Fri, 17 Apr 2020 11:05:08 +0000 (19:05 +0800)]
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
Bonian Chen [Tue, 5 May 2020 06:01:33 +0000 (14:01 +0800)]
[Settings] Code refactor
Code refactor.
Bug:
141833767
Test: manual
Change-Id: I3fa9dcc630b7612c1af3300024dee4f8deb6b308
TreeHugger Robot [Tue, 5 May 2020 09:23:13 +0000 (09:23 +0000)]
Merge "Enable some settings pages to use paralleled-loading method" into rvc-dev
Bonian Chen [Tue, 5 May 2020 08:34:01 +0000 (08:34 +0000)]
Merge "[Settings] Refactor for performance" into rvc-dev
Bill Yi [Tue, 5 May 2020 08:09:59 +0000 (01:09 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I7f09e9b5ab9285195a54df3d766e77f824e860ef
Bill Yi [Tue, 5 May 2020 07:26:38 +0000 (00:26 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ic1f5cb2df079ee36c4a5e37f32680cdaac43d995
TreeHugger Robot [Tue, 5 May 2020 06:42:30 +0000 (06:42 +0000)]
Merge "Update "Play <APP> to" to "Play <APP> on"" into rvc-dev
Bonian Chen [Tue, 5 May 2020 06:35:39 +0000 (06:35 +0000)]
Merge "[Settings] Query historical data in background" into rvc-dev
TreeHugger Robot [Tue, 5 May 2020 06:29:14 +0000 (06:29 +0000)]
Merge "There are two same items in manual selection page, remove one item" into rvc-dev
TreeHugger Robot [Tue, 5 May 2020 05:39:29 +0000 (05:39 +0000)]
Merge "Add a keywords for "Pair new deivce"" into rvc-dev
TreeHugger Robot [Tue, 5 May 2020 05:11:53 +0000 (05:11 +0000)]
Merge "Add log for debug" into rvc-dev
Tsung-Mao Fang [Mon, 4 May 2020 14:30:03 +0000 (22:30 +0800)]
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
SongFerngWang [Tue, 5 May 2020 03:45:58 +0000 (11:45 +0800)]
There are two same items in manual selection page, remove one item
Bug:
155703755
Test: To check UI. PASS
Change-Id: I8c9fb80ab761599abdfd6640410fdccedec444d0
hughchen [Tue, 5 May 2020 03:26:28 +0000 (11:26 +0800)]
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
SongFerng Wang [Tue, 5 May 2020 03:20:53 +0000 (03:20 +0000)]
Merge "Remove the second network scan." into rvc-dev
Bonian Chen [Tue, 5 May 2020 03:17:50 +0000 (03:17 +0000)]
Merge "[Settings] Avoid from crash" into rvc-dev
Bonian Chen [Tue, 5 May 2020 03:17:18 +0000 (03:17 +0000)]
Merge "[Settings] Adopt TelephonyBasePreferenceController" into rvc-dev
Tim Peng [Tue, 5 May 2020 03:01:03 +0000 (11:01 +0800)]
Update "Play <APP> to" to "Play <APP> on"
-design changes
Bug:
155345595
Test: build pass
Change-Id: I860673d22c57477bd2505360f0034731b28c7208
Arc Wang [Tue, 5 May 2020 01:02:05 +0000 (01:02 +0000)]
Merge "[Wi-Fi] Modify NetworkRequestDialog title & summary" into rvc-dev
SongFerngWang [Mon, 4 May 2020 14:27:14 +0000 (22:27 +0800)]
Remove the second network scan.
Fix:
153427564
Test: make RunSettingsRoboTests ROBOTEST_FILTER=NetworkSelectSettingsTest
(PASS)
Change-Id: If593fc4a4dd463bbc178b4864ad0ba01bb421b09
Julia Reynolds [Mon, 4 May 2020 14:25:57 +0000 (10:25 -0400)]
Update some notification strings
Test: manual
Fixes:
155516603
Fixes:
155516894
Change-Id: I86058ebdb473890239236d30414cb05787832311
TreeHugger Robot [Mon, 4 May 2020 11:12:50 +0000 (11:12 +0000)]
Merge "Fix broken test cases" into rvc-dev
Bonian Chen [Mon, 4 May 2020 10:41:47 +0000 (10:41 +0000)]
Merge "[Settings] Code refactor" into rvc-dev
Bonian Chen [Mon, 4 May 2020 10:41:16 +0000 (10:41 +0000)]
Merge "[Settings] Enable access from non-UI thread" into rvc-dev
Tsung-Mao Fang [Mon, 4 May 2020 09:01:28 +0000 (17:01 +0800)]
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
Bonian Chen [Mon, 4 May 2020 08:49:21 +0000 (08:49 +0000)]
Merge "[Settings] Code refactor for availability session" into rvc-dev
tim peng [Mon, 4 May 2020 08:47:41 +0000 (08:47 +0000)]
Merge "Modify rule of remote media session UI" into rvc-dev
Bonian Chen [Mon, 4 May 2020 05:31:02 +0000 (13:31 +0800)]
[Settings] Code refactor for availability session
Code refactor for session design of availability status config.
Bug:
141833767
Test: manual
Change-Id: Ia4982bc4036abbcff5ee1a4bba69bdf6f70ad657
Bonian Chen [Mon, 4 May 2020 06:09:46 +0000 (14:09 +0800)]
[Settings] Crash avoidance
Avoid crash when NullPointer.
Bug:
155248992
Test: manual
Change-Id: I5e4b46dcdf7ff21713b3f77fc9e20f503800b8e2
Tim Peng [Thu, 30 Apr 2020 07:23:58 +0000 (15:23 +0800)]
Modify rule of remote media session UI
-Add preference by remote session in Sound Setting
-Add slice item by remote session in Volume panel
-Replace media device data with media session data
-Add test case
Bug:
154918214
Test: make -j50 RunSettingsRoboTests
Change-Id: Ib1c873c9f99eebcba377f4115c4b9b4297b20c3d
Lucas Dupin [Mon, 4 May 2020 03:59:28 +0000 (03:59 +0000)]
Merge "Create QS media player setting" into rvc-dev
Bonian Chen [Mon, 4 May 2020 03:54:19 +0000 (11:54 +0800)]
[Settings] Query historical data in background
Move the query of historical data into background thread to avoid from
blocking other query operation in UI thread,
Bug:
141833767
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsagePreferenceControllerTest
Change-Id: I61e414d70136a0025ddd7373a4f34a99acb89510
Bonian Chen [Mon, 4 May 2020 03:36:55 +0000 (11:36 +0800)]
[Settings] Code refactor
Move some work out of constructor of
EnabledNetworkModePreferenceController.
Which could avoid callbacks before init() been invoked.
Bug:
141833767
Test: make RunSettingsRoboTests -j
ROBOTEST_FILTER=Enhanced4gBasePreferenceControllerTest
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=EnabledNetworkModePreferenceControllerTest
Change-Id: I11f25d130a746c75184a21a8991177b02ad237f0
Change-Id: I6aa58a8d9d15b1524bf03f425e3eae3a0254593e
Bonian Chen [Mon, 4 May 2020 03:15:03 +0000 (11:15 +0800)]
[Settings] Adopt TelephonyBasePreferenceController
Adopt TelephonyBasePreferenceController for better support on multi-SIM
environment.
Bug:
143996139
Test: make RunSettingsRoboTests -j
ROBOTEST_FILTER=DefaultSubscriptionControllerTest
Test: make RunSettingsRoboTests -j
ROBOTEST_FILTER=DisableSimFooterPreferenceControllerTest
Change-Id: I8a9c6efa927be1cb4a7ab4ebe816dcad9f20bd70
Bonian Chen [Mon, 4 May 2020 03:04:09 +0000 (11:04 +0800)]
[Settings] Enable access from non-UI thread
To support query from settings intelligent, these listeners need to
support accessing from non-UI thread.
Bug:
149543756
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=ActiveSubsciptionsListenerTest
Change-Id: I768f41f76d0223634be2b728d33fa0cfcc69fe69
Bonian Chen [Mon, 4 May 2020 02:52:40 +0000 (10:52 +0800)]
[Settings] Avoid from crash
Avoid from crash when updateState() performed before
displayPreference().
Bug:
141833767
Test: make RunSettingsRoboTests -j
ROBOTEST_FILTER=ApnPreferenceControllerTest
Change-Id: I4008010077c61930487fef01af306ccdfd69e38f
Sunny Shao [Sun, 29 Mar 2020 03:54:51 +0000 (11:54 +0800)]
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
Bill Yi [Sat, 2 May 2020 01:03:30 +0000 (18:03 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I76a7e3b5737e53869bee71cb8f8bbab9dbb40fc1
TreeHugger Robot [Fri, 1 May 2020 14:20:23 +0000 (14:20 +0000)]
Merge "Center text even if string is long" into rvc-dev
Arc Wang [Fri, 1 May 2020 13:16:08 +0000 (13:16 +0000)]
Merge "Set usage graph LTR layout direction for Persian & Urdu" into rvc-dev
Alex Johnston [Fri, 1 May 2020 10:10:49 +0000 (10:10 +0000)]
Merge "Update work challenge header in Settings" into rvc-dev
Arc Wang [Fri, 1 May 2020 04:52:30 +0000 (04:52 +0000)]
Merge "[Wi-Fi] Enhance com.android.settings.wifi.p2p unit test cases." into rvc-dev
Quang Luong [Fri, 1 May 2020 02:52:22 +0000 (19:52 -0700)]
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
govenliu [Thu, 30 Apr 2020 08:23:33 +0000 (16:23 +0800)]
[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
Lucas Dupin [Wed, 29 Apr 2020 23:29:15 +0000 (16:29 -0700)]
Create QS media player setting
Test: make RunSettingsRoboTests ROBOTEST_FILTER=QuickSettingsMediaPlayerPreferenceControllerTest
Test: manual
Fixes:
155315021
Change-Id: I2583b985710898d0480f599fc9b5a2451c8950a7
Julia Reynolds [Thu, 30 Apr 2020 17:05:04 +0000 (13:05 -0400)]
Center text even if string is long
Test: manual in Armenian language
Fixes:
154930071
Change-Id: I61a84958a2043d36241b6fa5eff8dcb2c7ef0db0
TreeHugger Robot [Thu, 30 Apr 2020 15:49:19 +0000 (15:49 +0000)]
Merge "Add keyword for app pinning setting" into rvc-dev
TreeHugger Robot [Thu, 30 Apr 2020 14:32:40 +0000 (14:32 +0000)]
Merge "Fix missing zone strings in some cases" into rvc-dev
Edgar Wang [Thu, 30 Apr 2020 14:27:23 +0000 (14:27 +0000)]
Merge "Add metrics log for special cases in Lanugages & About page" into rvc-dev
Tsung-Mao Fang [Thu, 30 Apr 2020 13:20:58 +0000 (21:20 +0800)]
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
Yanting Yang [Thu, 30 Apr 2020 13:17:01 +0000 (13:17 +0000)]
Merge "Fix NPE crash when opening the app info from shortcut suggestion" into rvc-dev
Yanting Yang [Thu, 30 Apr 2020 12:30:53 +0000 (12:30 +0000)]
Merge "Remove index for Take call on of Sound page" into rvc-dev
Jason Hsu [Thu, 30 Apr 2020 12:21:16 +0000 (12:21 +0000)]
Merge "Logs accessibility service user trigger status." into rvc-dev
TreeHugger Robot [Thu, 30 Apr 2020 12:09:54 +0000 (12:09 +0000)]
Merge "A new ui flow for screen pinning feature" into rvc-dev
TreeHugger Robot [Thu, 30 Apr 2020 12:08:54 +0000 (12:08 +0000)]
Merge "Add icons to contextual Wi-Fi card header" into rvc-dev
Jason Chiu [Thu, 30 Apr 2020 10:44:06 +0000 (10:44 +0000)]
Merge "Refine contextual Bluetooth card behavior when Bluetooth is off" into rvc-dev
Jason Chiu [Tue, 28 Apr 2020 08:27:00 +0000 (16:27 +0800)]
Add icons to contextual Wi-Fi card header
Fixes:
149666241
Test: robotest
Change-Id: I67076eb561bc496b272b28dc54bce8845d8d622f
Tsung-Mao Fang [Thu, 30 Apr 2020 09:17:05 +0000 (17:17 +0800)]
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
Edgar Wang [Thu, 23 Apr 2020 07:45:05 +0000 (15:45 +0800)]
Add metrics log for special cases in Lanugages & About page
Bug:
137559984
Test: robotest
Change-Id: I007282d8c4d5f9c6168dd84f6feee7e237ec7c42
Arc Wang [Thu, 30 Apr 2020 03:46:07 +0000 (11:46 +0800)]
[Wi-Fi] Modify NetworkRequestDialog title & summary
Design change for UX improvement.
Bug:
155348488
Test: manual visual
Change-Id: I07d441f6fda8017cc9f4561ef64d57ff8db86f0f
TreeHugger Robot [Thu, 30 Apr 2020 04:34:42 +0000 (04:34 +0000)]
Merge "Twilight Location off text" into rvc-dev
TreeHugger Robot [Thu, 30 Apr 2020 04:10:39 +0000 (04:10 +0000)]
Merge "Add "Play <APP> to" string" into rvc-dev
Blake Kragten [Thu, 30 Apr 2020 03:24:52 +0000 (03:24 +0000)]
Merge "Remove enhanced connectivity switch for non-pixel" into rvc-dev
Jay Aliomer [Mon, 20 Apr 2020 01:44:26 +0000 (21:44 -0400)]
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
Tim Peng [Thu, 30 Apr 2020 02:05:28 +0000 (10:05 +0800)]
Add "Play <APP> to" string
Bug:
155345595
Test: build pass
Change-Id: Ib656f0db2efa6f777ada2c2565493775e72634ae
Yanting Yang [Tue, 6 Aug 2019 14:45:52 +0000 (22:45 +0800)]
Fix NPE crash when opening the app info from shortcut suggestion
It occurs NPE in invoking refreshUi() of AppButtonsPreferenceController
when user fully install the instant app from google play and then
directly open app info from the shortcut suggestion in launcher.
Root cause:
AppButtonsPreferenceController.refreshUi() will be invoked when user
directly open app info from the shortcut suggestion in launcher. In
refreshUi(), we will update the information of button preference, but
the preferences will not be initialized if device existed an instant
version for the app.
Solution:
Check button preference and initial them if need in refreshUi().
Fixes:
137854835
Test: visual, robotests
Change-Id: Id5c3e53b9db2683cab970c10eace7925d889eea3
TreeHugger Robot [Wed, 29 Apr 2020 23:04:13 +0000 (23:04 +0000)]
Merge "Fix history task stack" into rvc-dev
TreeHugger Robot [Wed, 29 Apr 2020 18:02:45 +0000 (18:02 +0000)]
Merge "Fix icon color in dark theme." into rvc-dev
kholoud mohamed [Wed, 29 Apr 2020 16:43:34 +0000 (17:43 +0100)]
Fix icon color in dark theme.
Bug:
154582949
Test: visual testing
Change-Id: Ibb17f06c5b1d9745294af460565aa078c4e2baf2
Julia Reynolds [Wed, 29 Apr 2020 15:25:24 +0000 (15:25 +0000)]
Merge "Remove unused development setting" into rvc-dev
Alex Johnston [Wed, 29 Apr 2020 14:14:20 +0000 (15:14 +0100)]
Update work challenge header in Settings
* If organization name has been set for
a managed profile, work challenge
should display it as the header.
Bug:
155274026
Test: manual testing
Manual Testing Steps
* Set up device with managed profile
* Set organization name via TestDPC
* Go Settings > Security > Work profile security
and add a work profile lock
* Select 'Work profile lock' and verify
organization name is shown in header
Change-Id: I83209383fd2cf9179c34ccfdf8c097c379ec933e
Julia Reynolds [Wed, 29 Apr 2020 13:56:54 +0000 (09:56 -0400)]
Fix bubble tests
Test: atest
Fixes:
155239388
Change-Id: I8a32098b9a36ea1c8eabaf235b37d1e190419937
Neil Fuller [Wed, 29 Apr 2020 09:16:19 +0000 (10:16 +0100)]
Fix missing zone strings in some cases
ICU's TimeZoneNames requires a "canonical" zone ID, otherwise it will
return no data. Usually the ID being used is the same as the canonical
ID so there's no problem. TZDB version 2020a switched the ID of one of
Greenland's zones from America/Godthab to America/Nuuk, and ICU/CLDR
hold their translation data against America/Godthab in the current
version of ICU on Android.
Bug:
155167041
Test: Manual - viewed settings on a device with the tzdb 2020a update
Merged-In: Ia89c777a832f8b41c8d56d3327a9b7370ba44b52
Change-Id: Ia89c777a832f8b41c8d56d3327a9b7370ba44b52
(cherry picked from commit
eafec7a2440b934694a611a50b0541cf51c61a74)
TreeHugger Robot [Wed, 29 Apr 2020 13:01:45 +0000 (13:01 +0000)]
Merge "Fix the preference index conflict problem" into rvc-dev
jasonwshsu [Mon, 27 Apr 2020 09:10:27 +0000 (17:10 +0800)]
Logs accessibility service user trigger status.
* Uses the atom AccessibilityServiceReported in westworld.
Bug:
151285965
Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive 267
Change-Id: Id6a109e4e90c09f2310d92533cd4632875712f81
Sunny Shao [Wed, 29 Apr 2020 06:01:07 +0000 (14:01 +0800)]
Fix the preference index conflict problem
Bug:
153888035
Test: manual test
Change-Id: I6c67d2fea752487ceb5fa05c6537df980a0f8d6a
Yanting Yang [Wed, 29 Apr 2020 09:14:35 +0000 (17:14 +0800)]
Remove index for Take call on of Sound page
"Take call on" is only visible when there are multiple media devices
connected and phone call is incoming or answering. In general, this
preference is hard to see for users.
In reality, users usually change the phone call output on Phone app,
it's a rare case that user will go to Settings to search "Take call on"
to change the phone call output when they are answering call.
Intend to remove its index from Settings Search first since it's almost
invisible on Sound page. Users will confuse that why Sound page doesn't
show the corresponding preference when they found the "Take call on" and
tapped on it from Settings Search.
Fixes:
140392320
Test: visual and robotests
Change-Id: I87ec4fda2a3d8625c8f09beeffe348a302187d6d
hoffc [Mon, 27 Apr 2020 05:40:12 +0000 (13:40 +0800)]
Settings: Fix force close when destory sim lock fragment view
Sim lock fragment does not override its parent onCreateView method and diretly
return null, which results in NPE when destory after removing Sim card.
Override its parent onCreateView when no sim card inserted.
Bug:
154743278
Test: build pass
Change-Id: I0b10a07c1767cda74096dc44ef7ffa7839a9aae4
Merged-In: I0b10a07c1767cda74096dc44ef7ffa7839a9aae4
Jason Chiu [Tue, 28 Apr 2020 03:38:14 +0000 (11:38 +0800)]
Refine contextual Bluetooth card behavior when Bluetooth is off
When bluetooth is off, show the specific layout for enabling Bluetooth.
Bug:
154691520
Test: robotest
Change-Id: If3fd493558dcf2a47183345bbe175dfe257574d1
Alex Johnston [Wed, 29 Apr 2020 08:19:14 +0000 (08:19 +0000)]
Merge "Check if FRP policy is supported in Settings" into rvc-dev
Menghan Li [Wed, 29 Apr 2020 07:59:35 +0000 (07:59 +0000)]
Merge "Fix InvisibleToggle type service does not turn on or turn off correctly when edit shortcut dialog." into rvc-dev
Arc Wang [Wed, 29 Apr 2020 07:10:00 +0000 (15:10 +0800)]
Set usage graph LTR layout direction for Persian & Urdu
Persian & Urdu are RTL lanuages but users request LTR
usage graph layout direction.
Bug:
153483998
Test: manual visual
Set locale Persian or Urdu.
In 'Wi-Fi data usage', the usage graph should be LTR.
Change-Id: I850baa17d12ac3e0de62382fcb90eda9a19dbcbd
Zoey Chen [Wed, 29 Apr 2020 05:57:12 +0000 (05:57 +0000)]
Merge "Improve the performance of displaying preference." into rvc-dev
menghanli [Tue, 28 Apr 2020 23:13:56 +0000 (07:13 +0800)]
Fix InvisibleToggle type service does not turn on or turn off correctly when edit shortcut dialog.
Root cause: service status is not updated after the shortcut status
changed.
Next: Add callback to update the service status
Bug:
155157599
Test: Manual test
Change-Id: I286a04d43066c787304c54eb7b0dfdac5728b6ac
TreeHugger Robot [Wed, 29 Apr 2020 05:37:45 +0000 (05:37 +0000)]
Merge "Import translations. DO NOT MERGE" into rvc-dev
TreeHugger Robot [Wed, 29 Apr 2020 05:24:29 +0000 (05:24 +0000)]
Merge "Import translations. DO NOT MERGE" into rvc-dev
TreeHugger Robot [Wed, 29 Apr 2020 05:17:30 +0000 (05:17 +0000)]
Merge "Move ImeAwareTextEdit to android.widget" into rvc-dev
zoey chen [Fri, 17 Apr 2020 12:44:37 +0000 (20:44 +0800)]
Improve the performance of displaying preference.
- Set a variable to record the status then replace getAvailabilityStatus() with it.
Test: manual test, use command to run MobileNetworkSettings and record it.
Bug:
154061428
Change-Id: Ia13a75a3821bb6c17d0dfeffb5043f47b60adf61
Paul Chang [Wed, 29 Apr 2020 02:38:45 +0000 (02:38 +0000)]
Merge "Fix - Bug report handler settings is not shown when it is launched by a work profile app." into rvc-dev
TreeHugger Robot [Wed, 29 Apr 2020 01:44:42 +0000 (01:44 +0000)]
Merge "Fix NPE if CarrierConfigManager is not available" into rvc-dev