Commit Graph

60669 Commits

Author SHA1 Message Date
Tsung-Mao Fang
61e352bba7 Fix the ringtone subtext is empty
Because ag/10750991 change the controller key in xml,
the controller can get a correct preference.

In order to fix this problem, change the key to correct one.

Test: Rebuilt rom, and see the subext
Fix: 162593762
Change-Id: I0226ece059944655a25af48a603916a14cede2e0
2020-03-30 22:48:05 +08:00
Arc Wang
3aee35a882 [Wi-Fi] Fix a unit test fail in WifiMasterSwitchPreferenceControllerTest
In ag/10785119, WifiStatusTracker#setListening calls
ConnectivityManager#unregisterNetworkCallback twice.
Modify the fail test to match it.

Bug: 151696220
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiMasterSwitchPreferenceControllerTest
Change-Id: Idd9917ce204e2abbc4bfbf760222191adadf4afa
2020-03-30 22:07:21 +08:00
TreeHugger Robot
052610467e Merge "Only request focus if change was self-triggered" into rvc-dev am: c22d90cb1b am: 5093ea158d
Change-Id: I2392e5c9c082039db729e457e76c6439b2c250ae
2020-03-30 13:45:18 +00:00
Julia Reynolds
5ba1c6e55d Merge "Remove items from the 'last 24 hours' history on swipe" into rvc-dev am: dad135f4ed am: fe8ad05005
Change-Id: Ifa9dd59eb974607d8b5501e3b8733462e6abdc31
2020-03-30 13:45:12 +00:00
TreeHugger Robot
99ab33a0fa Merge "Add tap targets to top 2 sections" into rvc-dev am: 9db658bfe0 am: 9d9504f951
Change-Id: I4615321944d83159db733bbeff960a44591236a6
2020-03-30 13:45:07 +00:00
TreeHugger Robot
5093ea158d Merge "Only request focus if change was self-triggered" into rvc-dev am: c22d90cb1b
Change-Id: I8ff4e678ac5391f395ac7bf4cf06f3ce7a2c649e
2020-03-30 13:37:47 +00:00
TreeHugger Robot
c22d90cb1b Merge "Only request focus if change was self-triggered" into rvc-dev 2020-03-30 13:35:23 +00:00
Julia Reynolds
fe8ad05005 Merge "Remove items from the 'last 24 hours' history on swipe" into rvc-dev am: dad135f4ed
Change-Id: I76382dd6050ed5c913feaab485ce3c17c4a80328
2020-03-30 13:31:43 +00:00
TreeHugger Robot
9d9504f951 Merge "Add tap targets to top 2 sections" into rvc-dev am: 9db658bfe0
Change-Id: Id7a163a59b9a10291fcfbbd9d8c39e1d0b28488e
2020-03-30 13:30:59 +00:00
Arc Wang
fd3360d28b [Wi-Fi] Index Wi-Fi preferences.
This is a WifiTracker2 version of partial part of ag/9980423

- Disable the "Saved network" if the access points is empty.
- Disable the "Wifi data usage" if there is no wifi radio.

Bug: 146823365
Test: manual
      Search 'Saved networks' when there is a saved Wi-Fi network
      and when there is no saved Wi-Fi network.
      Search 'data usage' on the device which supports Wi-Fi and
      on the device which does not supports Wi-Fi.
Change-Id: If46e65585f1b272401666f78fd5e3a4cf49bef6e
2020-03-30 21:30:00 +08:00
Julia Reynolds
dad135f4ed Merge "Remove items from the 'last 24 hours' history on swipe" into rvc-dev 2020-03-30 13:23:42 +00:00
TreeHugger Robot
9db658bfe0 Merge "Add tap targets to top 2 sections" into rvc-dev 2020-03-30 13:17:23 +00:00
Rubin Xu
fbfba7a078 Set face unlock toggle to unchecked when disabled by admin
Bug: 135747161
Test: make RunSettingsRoboTests
    ROBOTEST_FILTER=FaceSettingsLockscreenBypassPreferenceControllerTest
Change-Id: I1e3d105184a14bfece972abb096eac44bd186273
2020-03-30 12:33:57 +01:00
TreeHugger Robot
7f2015849f Merge "Update App storage usage summary" into rvc-dev am: 9c32d89aaa am: 0d761a25bd
Change-Id: I24cfd13f7aa87314c47bc3a1a70f0d324da752e9
2020-03-30 08:47:23 +00:00
Bonian Chen
4b42ba7807 [Settings] Replace ImsManager#isVtEnabledByPlatform() am: fb7274a308 am: a6d6285b57
Change-Id: I9695df57e865836f4fb5189d97c39348b2243e9d
2020-03-30 08:47:14 +00:00
TreeHugger Robot
0d761a25bd Merge "Update App storage usage summary" into rvc-dev am: 9c32d89aaa
Change-Id: Ia02627cb75d8a261644f2343d313e261c8e532f1
2020-03-30 08:31:08 +00:00
Bonian Chen
a6d6285b57 [Settings] Replace ImsManager#isVtEnabledByPlatform() am: fb7274a308
Change-Id: I3e2196c85d029d9ad67edf589e18df1ba2e4456b
2020-03-30 08:31:03 +00:00
TreeHugger Robot
9c32d89aaa Merge "Update App storage usage summary" into rvc-dev 2020-03-30 08:22:16 +00:00
Tim Peng
3ac144163e No media status is visible in Output Switcher
-Reflash header when get latest media controller

Bug: 152606491
Test: make -j42 RunSettingsRoboTests
Change-Id: I14542a7f8ba921c9d1dbaacf7e01c3ee673527b2
2020-03-30 16:20:14 +08:00
Bonian Chen
fb7274a308 [Settings] Replace ImsManager#isVtEnabledByPlatform()
Replace ImsManager#isVtEnabledByPlatform() by
ImsMmTelManager.isSupported().

Bug:  140542283
Test: m RunSettingsRoboTests -j
ROBOTEST_FILTER=VideoCallingPreferenceControllerTest

Change-Id: Ife5100ef288fbad6fc818e8fbdf8192c42d495b2
2020-03-30 07:41:29 +00:00
tim peng
0f89b27f0b Merge "PendingIntent in MediaOutputIndicatorSlice could be Hijacked" into rvc-dev am: ecea133904 am: 15ac2b2c8e
Change-Id: I92dfa774bc4d4d969fe7980c7c7bed6e65d822f3
2020-03-30 07:17:29 +00:00
tim peng
15ac2b2c8e Merge "PendingIntent in MediaOutputIndicatorSlice could be Hijacked" into rvc-dev am: ecea133904
Change-Id: I24db3f5f2be14d1a63bef9327a828d93b3f50263
2020-03-30 07:06:11 +00:00
tim peng
ecea133904 Merge "PendingIntent in MediaOutputIndicatorSlice could be Hijacked" into rvc-dev 2020-03-30 06:56:16 +00:00
Robert Luo
2f4ebf9475 Refine NFC payment wording for "Set default" and "Update" scenarios.
Fixes: 149270345
Test: manual and check if new string is applied
Change-Id: I4d7591882489d3892020f8fa2f963f7c90ec79e4
2020-03-30 13:25:39 +08:00
Bonian Chen
712c3aa944 [Settings] Replace ImsManager#isWfcEnabledByPlatform() am: c134ef08d4 am: 9c4d1190d9
Change-Id: Ia43ed326efb5e652bc66fb057987362543b3777d
2020-03-30 04:40:43 +00:00
Bonian Chen
9c4d1190d9 [Settings] Replace ImsManager#isWfcEnabledByPlatform() am: c134ef08d4
Change-Id: Ia5b8007cd0dc6b201493a1b88f277a1c10500bbb
2020-03-30 04:25:20 +00:00
Tim Peng
e4ccbbec67 PendingIntent in MediaOutputIndicatorSlice could be Hijacked
-Add setPackage() to prevent local information disclosure

Bug: 151645695
Test: make -j42 RunSettingsRoboTests
Change-Id: I74c058a381fceb85695dd76d354fb49f878f9142
2020-03-30 03:53:02 +00:00
Bonian Chen
c134ef08d4 [Settings] Replace ImsManager#isWfcEnabledByPlatform()
Replace ImsManager#isWfcEnabledByPlatform().

Bug:  140542283
Test: m RunSettingsRoboTests -j
ROBOTEST_FILTER=WifiCallingSettingsForSubTest
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingSettingsTest
Test: m RunSettingsRoboTests -j
ROBOTEST_FILTER=WifiCallingPreferenceControllerTest

Change-Id: I85907efb39aecdb3fb18cacf11ce4510b898edc4
2020-03-30 03:34:01 +00:00
tim peng
d5bdc55390 Merge "Add zero state in output switcher" into rvc-dev am: ddd8a8fa92 am: 3e73d0f92c
Change-Id: I91a8a9965fda5026b5d5dacc9a91e8149db8c557
2020-03-30 03:31:55 +00:00
tim peng
3e73d0f92c Merge "Add zero state in output switcher" into rvc-dev am: ddd8a8fa92
Change-Id: Ic593ca5ddc1774b7b6895fee106dba8c595ff8a0
2020-03-30 03:14:35 +00:00
tim peng
ddd8a8fa92 Merge "Add zero state in output switcher" into rvc-dev 2020-03-30 02:54:33 +00:00
Artur Satayev
3054fd601f Merge "Do not exlicitly declare dependency on changeid processor." into rvc-dev am: 836dcbaf91 am: f4ddb539ea
Change-Id: I627ff295a03dd26e29b613711d4bde6ab22c7298
2020-03-29 18:45:56 +00:00
Artur Satayev
f4ddb539ea Merge "Do not exlicitly declare dependency on changeid processor." into rvc-dev am: 836dcbaf91
Change-Id: Ia152eba38febb9ae5f7321de77a1b5d198d9cf74
2020-03-29 18:22:34 +00:00
Artur Satayev
836dcbaf91 Merge "Do not exlicitly declare dependency on changeid processor." into rvc-dev 2020-03-29 18:07:37 +00:00
Artur Satayev
f9cc52d670 Do not exlicitly declare dependency on changeid processor.
Annotation processor is exported via app-compat-annotations library.

Bug: 152220864
Test: m && diff merged_compat_config.xml
Change-Id: Icab88938f1a49a892e0d62b2a833b659d6725267
Merged-In: Icab88938f1a49a892e0d62b2a833b659d6725267
Exempt-From-Owner-Approval: clean up
(cherry picked from commit b4924c2828)
2020-03-28 16:34:10 +00:00
Kevin Chyn
dd0a4963c6 Merge "Adjust ConfirmDeviceCredentialActivity system bars" into rvc-dev am: ef28e9b75f am: 87723f3db7
Change-Id: I30a3a73d57f8619b488ca4488fce34d076e14a11
2020-03-28 00:07:04 +00:00
Kevin Chyn
87723f3db7 Merge "Adjust ConfirmDeviceCredentialActivity system bars" into rvc-dev am: ef28e9b75f
Change-Id: Ic3aeaa4cfdee235a0cd5448d8cb2b31fe47f14cc
2020-03-28 00:06:44 +00:00
Kevin Chyn
ef28e9b75f Merge "Adjust ConfirmDeviceCredentialActivity system bars" into rvc-dev 2020-03-28 00:06:00 +00:00
Curtis Belmonte
082137fb5a Merge "Set CDC detail string as subtitle, not description" into rvc-dev am: da4f9f7c27 am: 33851b108f
Change-Id: I991a6c351ac621b3e9c52e74864d27e56433961f
2020-03-27 22:56:07 +00:00
Curtis Belmonte
33851b108f Merge "Set CDC detail string as subtitle, not description" into rvc-dev am: da4f9f7c27
Change-Id: Ia6c51e1c80bdf988c3a24f4268ef2130ee549f5b
2020-03-27 22:47:17 +00:00
Curtis Belmonte
da4f9f7c27 Merge "Set CDC detail string as subtitle, not description" into rvc-dev 2020-03-27 22:42:22 +00:00
Julia Reynolds
eabc1904a7 Remove items from the 'last 24 hours' history on swipe
And make it resiliant to duplicate data from the backend.

Test: manual
Fixes: 148956400
Change-Id: I650c89242c257df1ec34b2879f544d9a5211019a
2020-03-27 17:13:22 -04:00
Kevin Chyn
28a034d6ed Adjust ConfirmDeviceCredentialActivity system bars
CDCA is a transparent activity with the sole purpose of
requesting authentication. Since authentication is all drawn
by SystemUI, we should also stop this activity from drawing
the StatusBar.

Register to receive biometric system events (early user canceled),
so that we can finish() and start the activity transition
simultaneously. This fixes some navigation bar jank.

Bug: 148273355

Test: Set up a work profile, then install BiometricPromptDemo
      Disable one-lock and set up a password/biometric for the
      work profile. Lock/unlock screen, then open the work
      profile version of the app. No status bar jank seen.
Change-Id: I54a352527ed007dcaf1bea14a51711e4022fe028
2020-03-27 12:12:30 -07:00
Beverly
f736532a9d Only request focus if change was self-triggered
For a11y we want to accomplish two things:
1. Keep focus on the button if the button was just pressed. This
requires buttons in settings to be focusableInTouchMode and then request
focus when the buttons are updated.
2. When the setting is changed outside of the settings page (ie: from
Quick Settings), we don't want to re-announce on talkback the button that is
updated on the Settings page. Therefore, to maintain #1, we add a
boolean to check whether or not the updateButton change was triggered by
a click to the button preference or not. Only request focus if the
button was triggered by the settings button (and not when triggered by
other things like QS).

Test: manual
Fixes: 147992252
Change-Id: I505de0585bac38a2f59062743d9d6b75861c3d32
2020-03-27 14:12:08 -04:00
Julia Reynolds
6e72355438 Merge "Fix broken test" into rvc-dev am: 5a950b763f am: e8884576f7
Change-Id: Icace17540f1e3bdbb90417019ea5c29f91177f80
2020-03-27 16:26:16 +00:00
Julia Reynolds
4eb430585a Add tap targets to top 2 sections
Test: manual
Fixes: 152538014
Change-Id: I4495a6cd75d73425690876d901ae6a73ccdda056
2020-03-27 12:25:37 -04:00
Julia Reynolds
e8884576f7 Merge "Fix broken test" into rvc-dev am: 5a950b763f
Change-Id: I5fbbdc605987dc3b6080b26c94ced86340ee18c5
2020-03-27 16:12:27 +00:00
Julia Reynolds
5a950b763f Merge "Fix broken test" into rvc-dev 2020-03-27 15:40:47 +00:00
TreeHugger Robot
16d8adb1fd Merge "[Wi-Fi] Refactor WifiConnectionPreferenceController with WifiTrackerLib" into rvc-dev am: 50aeb48c56 am: 8fd2e35c3f
Change-Id: I5ec1c240b57f8d0fd733929c6921abe251ac7d4f
2020-03-27 15:16:41 +00:00
TreeHugger Robot
8fd2e35c3f Merge "[Wi-Fi] Refactor WifiConnectionPreferenceController with WifiTrackerLib" into rvc-dev am: 50aeb48c56
Change-Id: Ic3e5681d07b89a7cbb15ea68140ee5dd53097e25
2020-03-27 15:05:34 +00:00