Commit Graph

61711 Commits

Author SHA1 Message Date
Yanting Yang
4e14ffd77e Merge "Improve scrolling performance for App Info page" into rvc-dev 2020-05-27 05:37:36 +00:00
tim peng
49217faf8e Merge "Non-deselectable routes can be deselected" into rvc-dev 2020-05-27 05:32:34 +00:00
Edgar Wang
24ac9876d1 [a11y] Fix Talkback speak "Edit box, Nickname" for "Select photo" button.
In multi-user Profile info dialog, set labelFor will set the editbox
which serves as the label of the iconview represented by this info for
accessibility purposes.
But since both of views have different purposes, we should not set label
for icon.

Bug: 141455211
Test: manual
Change-Id: I6c7087fc7d2bcc75c388992c1a2b8ecc010cc279
2020-05-27 13:21:29 +08:00
Paul Chang
90c6470183 Merge "Fix wrong line break in sub text on Bug report handler settings" into rvc-dev am: f1fb7fb7cf
Change-Id: Id6de3af1bf9efd1c0adc09e657be9e77289fa75c
2020-05-27 04:59:11 +00:00
Paul Chang
f1fb7fb7cf Merge "Fix wrong line break in sub text on Bug report handler settings" into rvc-dev 2020-05-27 04:46:21 +00:00
TreeHugger Robot
18e2ab3f30 Merge "Create new WifiEntryPreference if WifiEntry object changes" into rvc-dev am: 6d93851386
Change-Id: Iff6a3d692e48bdf8c0debdce49941bc0b6a95a85
2020-05-27 04:00:55 +00:00
TreeHugger Robot
6d93851386 Merge "Create new WifiEntryPreference if WifiEntry object changes" into rvc-dev 2020-05-27 03:46:25 +00:00
Adam Bookatz
e7465b0f5f Opening Multiuser doesn't toggle it on
This does the following:
Simply opening Settings > Multiuser no longer
globally enables multiuser. The user would have
to actively toggle that switch to globally
enabled it.

(This reverts ag/7002640; a different solution for
that cl's bug is in the same topic as this cl.)

Bug: 137943217
Bug: 141372193
Bug: 149973281
Bug: 130270878

Test: manual: Settings > Multiuser doesn't turn on the systemui avatar
Test: manual: adb shell pm create-user A, does turn on sysui avatar

Change-Id: Ibfdd1dee408c7214d0a097c8d814dae87ffa82ac
2020-05-26 23:01:56 +00:00
TreeHugger Robot
dc98e092f5 Merge "Import translations. DO NOT MERGE" into mainline-prod 2020-05-26 18:37:37 +00:00
TreeHugger Robot
014afed462 Merge "Import translations. DO NOT MERGE" into mainline-prod 2020-05-26 17:33:04 +00:00
Grace Jia
330d308c28 Merge "Close and disable SIM lock dialogs when SIM removed from device." into rvc-dev am: 5c7f6d1b98
Change-Id: I405a2a227b31a4e03d2f356735e7c06e71f56863
2020-05-26 17:07:34 +00:00
Grace Jia
5c7f6d1b98 Merge "Close and disable SIM lock dialogs when SIM removed from device." into rvc-dev 2020-05-26 16:52:42 +00:00
Edgar Wang
9ffc357a4c Merge "Change AppPicker theme from dialog to full screen" into rvc-dev am: f3ad1ec7b7
Change-Id: I9b1db077c45ea167b06ec06377ecffcbb770fcce
2020-05-26 15:05:02 +00:00
Edgar Wang
f3ad1ec7b7 Merge "Change AppPicker theme from dialog to full screen" into rvc-dev 2020-05-26 14:49:04 +00:00
Bonian Chen
b381ac0bad [Settings] Avoid SIM toggle switch loopback
API provided by SwitchBar widget would lead to callback when
SIM toggle switch operation failure and set UI back.
However, set UI back (rollback the UI) would lead to another
trigger to SIM toggle switch. This would generate endless
events and keep system budy.

To avoid from this callback, a check need to be done prior to UI
take action. Therefore, changing APIs to fit into this concept.

Bug: 155770954
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=MobileNetworkSwitchControllerTest
Change-Id: Iaea1012acdbe449a882ced08b596c64b9f99256f
2020-05-26 21:34:39 +08:00
Bill Yi
e82e96b92c Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I036c6b974a8a201be02f565d8ddead68f33bcaec
2020-05-26 11:28:08 +00:00
Edgar Wang
b1aa8544ee Merge "Remove duplicate search result when search "autofill service"" into rvc-dev am: ec156b7035
Change-Id: Ide265f8e07c68a2f0846d56f89e524ab792a76ea
2020-05-26 09:41:11 +00:00
Edgar Wang
ec156b7035 Merge "Remove duplicate search result when search "autofill service"" into rvc-dev 2020-05-26 09:34:11 +00:00
Bill Yi
bc33eeb127 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: If8484880111462e73dd8457254471b9f031b7810
2020-05-26 09:33:34 +00:00
Yi-Ling Chuang
0feee51393 Merge "Fix Talkback annoucement for Media Output panel." into rvc-dev am: ba85ecdf06
Change-Id: I8da8e97941636eb5c9491baf6f87df8e8cda5e8c
2020-05-26 09:28:40 +00:00
Yi-Ling Chuang
ba85ecdf06 Merge "Fix Talkback annoucement for Media Output panel." into rvc-dev 2020-05-26 09:11:34 +00:00
Bill Yi
008a261ec8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I09089c68428d132d1f57e647e0d831c6d2778935
2020-05-26 08:55:22 +00:00
Tim Peng
1af5b0cd7b Non-deselectable routes can be deselected
-Check deselectable list
-Add test case

Bug: 157098549
Test: make -j42 RunSettingsRoboTests
Change-Id: I254a9d3825319aa7b262d04e4f4c580f76afe381
2020-05-26 07:25:29 +00:00
Edgar Wang
46f060370c Remove duplicate search result when search "autofill service"
There is another autofill service for work profile.
Make this preference unsearchable to avoid duplicate result.

Bug: 155838971
Test: manual
Change-Id: I7f614ead1c0f898964775c03e81f1102583b04dc
2020-05-26 14:08:22 +08:00
Paul Hu
173b082230 Merge "Forward the ResultReceiver to Tethering Entitlement app" into rvc-dev am: 37318d03a4
Change-Id: Ie18a14d63a8b44679aa48115f39da5fbcbee75ff
2020-05-26 06:01:08 +00:00
Paul Hu
37318d03a4 Merge "Forward the ResultReceiver to Tethering Entitlement app" into rvc-dev 2020-05-26 05:47:09 +00:00
Edgar Wang
3c03f0a8a8 Change AppPicker theme from dialog to full screen
AppPicker used in devceloper options, it will show apps list with
package name in a dialog.
But sometimes it will mis-alignment with package name.
So we change theme from dialog to full screen and set widget_frame
visibility to GONE.

Bug: 151150544
Test: manual
Change-Id: I8f04ab7967288801e5e13ecccf037d6ed09ec71c
2020-05-26 10:49:50 +08:00
Edgar Wang
cef1020f75 Update summary of Gesture
when quick gesture enabled, update summary to reflect correct status

Bug: 138149556
Test: manual & robotest
Change-Id: I072134cd8327ad5eb1d0862604acef83e1bdcec0
2020-05-25 18:23:53 +08:00
Paul Chang
66db366aef Fix wrong line break in sub text on Bug report handler settings
BUG: 156726386
Test: 1.flash device and check the sub text 2.robotests
Change-Id: I5df6d4c140611100112169e0aacf5173779d86b8
2020-05-25 16:23:42 +08:00
Yi-Ling Chuang
350affcdfa Fix Talkback annoucement for Media Output panel.
The sound panel and media panel are using the same window, so when it
transit from the sound panel to media panel, no window-change event will
be sent. Therefore, Talkback won't be able to re-focus the panel header
which lead to the lack of the announcement.

Fix this by adding setAccessibilityPanelTitle() to trigger Talkback.

Fixes: 140459762
Test: rebuild and test talkback on the media output panel.
Change-Id: I1442434315374dbbfe1d47ca8638180577c93168
2020-05-25 13:51:06 +08:00
Bill Yi
5cae0b8042 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 1e0789355e -s ours
am skip reason: subject contains skip directive

Change-Id: I14134b84114ac285ae6cf379571e13859006144f
2020-05-23 13:55:26 +00:00
Bill Yi
1e0789355e Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-23 13:32:43 +00:00
Bill Yi
e6bd1ace72 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 8019c16a14 -s ours
am skip reason: subject contains skip directive

Change-Id: I26b87818dfcec2b3e6f7b22fc13e4457f6dc0ff6
2020-05-22 15:47:27 +00:00
Bill Yi
8019c16a14 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-22 15:20:44 +00:00
Julia Reynolds
13f7c9c34f Merge "clean up layout & styling of notification history" into rvc-dev am: edca211a67
Change-Id: Ia30c35f0dbfb7776c37fbc4201882b308b9dbe5e
2020-05-22 11:48:48 +00:00
Julia Reynolds
8a65c9ff7f Update conversation-related strings am: 9e78ec75d1
Change-Id: I92e3d336b5a0d1eef0548238058dfcdfb348c4b4
2020-05-22 11:48:42 +00:00
Julia Reynolds
edca211a67 Merge "clean up layout & styling of notification history" into rvc-dev 2020-05-22 11:23:59 +00:00
Julia Reynolds
9e78ec75d1 Update conversation-related strings
Test: atest
Bug: 157215227
Change-Id: Iba279bb285e53918a1e1b43c04d6ec7576cd48a0
2020-05-21 20:49:53 +00:00
Grace Jia
f203a66a74 Close and disable SIM lock dialogs when SIM removed from device.
Bug: 157102550
Test: Manually open the PIN toggle dialog and PIN edit dialog, then
remove SIM from DUT

Change-Id: Ied875909e9cbcb1cad1ae045578747a0a5810491
2020-05-21 13:47:09 -07:00
Bill Yi
0cc77c1db8 Import translations. DO NOT MERGE
BUG:154363304
Auto-generated-cl: translation import
Change-Id: I5e504e86b52fa341e03a497003190ca2e250bb01
2020-05-21 20:26:49 +00:00
Julia Reynolds
a18d14ac9e Merge "Switch from shortlabel to label" into rvc-dev am: 6d63120295
Change-Id: I1eb4e3fdda9cfa0a24ee8046526659fbdd02f256
2020-05-21 19:19:18 +00:00
Julia Reynolds
2679bf5af0 clean up layout & styling of notification history
Test: manual
Fixes: 157161601
Fixes: 157162238
Fixes: 157160265
Fixes: 157161125
Fixes: 157160611
Fixes: 157158944
Change-Id: I9853426987549898b7996e9db43f7767e4c41641
2020-05-21 14:55:51 -04:00
Julia Reynolds
6d63120295 Merge "Switch from shortlabel to label" into rvc-dev 2020-05-21 18:53:24 +00:00
Bill Yi
cd9694bd2f Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I3f42416bc415f259eaaaf87aeb8d273523e47989
2020-05-21 11:53:23 -07:00
Eran Messeri
4f2090ddc0 Fix disappearing biometric prompt for the managed profile
In several circumstances, the ConfirmDeviceCredentialActivity
may be started while the device is being unlocked - particularly, when
the managed profile on the device has a separate challenge and the user
is attempting to start an activity associated with the locked, managed
profile. For example, by double-tapping a notification from the managed
profile or trying to reply to such a notification.

When the ConfirmDeviceCredentialActivity is started after the user has
entered the primary lockscreen challenge but before the keyguard is
fully dismissed, the activity may be started and immediately paused.
If the activity then calls finish() in onPause(), the biometric prompt
will disappear and the user will not have a chance to authenticate.

Fix the issue by only calling finish() in onPause() if the biometric
prompt has not been shown.

The flag indicating whether the activity is waiting for biometric
prompt or not needs to be cleared whenever the biometric prompt invokes
the callback, so that the activity will correctly call finish() if the
user does abort authentication.

Bug: 153689182
Bug: 141470517
Test: Manual, set up a work profile and double-tap a work notification
or try to Reply to a work GMail notification.

Change-Id: I9d3d3000b99d0eb4b44b90f5a0c2856db5f32144
2020-05-21 18:42:41 +01:00
Robert Luo
eb3f0f113f Merge "Add data collection and metrics for Media Output Switcher - 2/n" into rvc-dev am: 31f96bbcf6
Change-Id: Ice31fac929696d7b330372faf440739d76c187a8
2020-05-21 15:09:11 +00:00
Robert Luo
31f96bbcf6 Merge "Add data collection and metrics for Media Output Switcher - 2/n" into rvc-dev 2020-05-21 14:56:54 +00:00
TreeHugger Robot
e5149e6d6e Merge "Only show work profile notifs if enabled" into rvc-dev am: 43d6bd38f5
Change-Id: I2d53c265f20edb87420b68ae8fb8f34945e84e81
2020-05-21 12:21:19 +00:00
TreeHugger Robot
43d6bd38f5 Merge "Only show work profile notifs if enabled" into rvc-dev 2020-05-21 12:09:37 +00:00
Yanting Yang
6b457d882c Improve scrolling performance for App Info page
Root cause:
App info page will load application icon and content description in
onBindViewHolder(), it will query PackageManager and UserManager many
times in scrolling. Actually these actions will become time consuming if
there is a large app list.

Solution:
To relieve the janky scrolling, cache the icon and content description
if it has been loaded once.

Bug: 156527207
Test: manual test and robotests

Change-Id: I997179834511f86b3155c7d54989a873ac8e2559
2020-05-21 19:09:39 +08:00