Commit Graph

62239 Commits

Author SHA1 Message Date
Bill Yi
e82e96b92c Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I036c6b974a8a201be02f565d8ddead68f33bcaec
2020-05-26 11:28:08 +00:00
Bill Yi
da6071aff1 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I236afe1f3ad96b32388811121c789cd278df0c7b
2020-05-26 10:49:57 +00:00
Edgar Wang
a5789cb79b Merge "Remove duplicate search result when search "autofill service"" into rvc-dev am: ec156b7035 am: 08f0c0f401
Change-Id: I19e1a775321251b4c27c1bbc2226edb38fa9e6fd
2020-05-26 09:47:33 +00:00
Yi-Ling Chuang
8326951968 Merge "Fix Talkback annoucement for Media Output panel." into rvc-dev am: ba85ecdf06 am: 4aa4c7119a
Change-Id: I57064ac94a9c74f38a31fcf911d3d49df49ec1a7
2020-05-26 09:47:04 +00:00
Edgar Wang
08f0c0f401 Merge "Remove duplicate search result when search "autofill service"" into rvc-dev am: ec156b7035
Change-Id: I487c32175a7dd82f8fdfe84ee3ee4de6414b067a
2020-05-26 09:40:55 +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
Yi-Ling Chuang
4aa4c7119a Merge "Fix Talkback annoucement for Media Output panel." into rvc-dev am: ba85ecdf06
Change-Id: Ic3dfbb9af3c79fb578cc43c03a523b4a49c66dc9
2020-05-26 09:28:22 +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
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
Paul Hu
597476cf78 Merge "Forward the ResultReceiver to Tethering Entitlement app" into rvc-dev am: 37318d03a4 am: 9821b664b7
Change-Id: I5fcc2aa16348f933fb5e0f11175c25a16f7560f9
2020-05-26 06:23:51 +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
9821b664b7 Merge "Forward the ResultReceiver to Tethering Entitlement app" into rvc-dev am: 37318d03a4
Change-Id: I18618155c37e90cb08337f78a8000ccbc227419b
2020-05-26 06:00:52 +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
267b63e1a2 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 1e0789355e -s ours am: 4bd86eba02 -s ours
am skip reason: subject contains skip directive

Change-Id: I5e1cce3d8737459850ebf31113e2fdeba0e68a93
2020-05-23 14:15:35 +00:00
Bill Yi
4bd86eba02 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 1e0789355e -s ours
am skip reason: subject contains skip directive

Change-Id: I6970239f79d3ae7b2ce56138fc764c317ec5130d
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
110067aa96 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 8019c16a14 -s ours am: 131a9cb96e -s ours
am skip reason: subject contains skip directive

Change-Id: Ic2b7a93e22922a9b6c5c878bd1cd60cba3a0f838
2020-05-22 16:00:19 +00:00
Bill Yi
131a9cb96e [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 8019c16a14 -s ours
am skip reason: subject contains skip directive

Change-Id: I3ad0501601df178a732a73b318ba9104374d27ea
2020-05-22 15:47:26 +00:00
Bill Yi
8019c16a14 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-22 15:20:44 +00:00
Julia Reynolds
e8cf759ece Merge "clean up layout & styling of notification history" into rvc-dev am: edca211a67 am: 4b78d753b8
Change-Id: I7e590f2902bae5c385121d2d41121437c846be13
2020-05-22 12:04:19 +00:00
Julia Reynolds
cb57feba56 Update conversation-related strings am: 9e78ec75d1 am: 61e956443d
Change-Id: Ib934269cce4f953461160f53cb020cb6fedf6862
2020-05-22 12:04:11 +00:00
Julia Reynolds
4b78d753b8 Merge "clean up layout & styling of notification history" into rvc-dev am: edca211a67
Change-Id: I2a163df1ff0574518804bcff3be2f9650357f73a
2020-05-22 11:48:34 +00:00
Julia Reynolds
61e956443d Update conversation-related strings am: 9e78ec75d1
Change-Id: I9fb42f08125dcfd078045c5737bae429870022d5
2020-05-22 11:48:26 +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
06554d19ae Merge "Switch from shortlabel to label" into rvc-dev am: 6d63120295 am: 22ac6baf3d
Change-Id: I86b8f73b5df03d2e57cb45dc848fbe43301ee8c6
2020-05-21 19:34:26 +00:00
Julia Reynolds
22ac6baf3d Merge "Switch from shortlabel to label" into rvc-dev am: 6d63120295
Change-Id: I84fb7adb02d4b7731327e531cddd48171bd4329b
2020-05-21 19:16:53 +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
09751770db Merge "Add data collection and metrics for Media Output Switcher - 2/n" into rvc-dev am: 31f96bbcf6 am: 83fa4e6425
Change-Id: I6ebc46eb67ea2e97d1c51774a7bc4f68d828032b
2020-05-21 15:32:56 +00:00
Robert Luo
83fa4e6425 Merge "Add data collection and metrics for Media Output Switcher - 2/n" into rvc-dev am: 31f96bbcf6
Change-Id: I9c81a2973ffcb3416390417c48a72e3635bec0c4
2020-05-21 15:08:31 +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
9a9490e6b9 Merge "Only show work profile notifs if enabled" into rvc-dev am: 43d6bd38f5 am: 1560e89128
Change-Id: Idae86bae7cf14e65d72a3e9ef4073bdbee1557df
2020-05-21 12:34:59 +00:00
TreeHugger Robot
1560e89128 Merge "Only show work profile notifs if enabled" into rvc-dev am: 43d6bd38f5
Change-Id: I97bc8f4fa39ca1fef9bbce21d1fb48832d948fba
2020-05-21 12:20:57 +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
Robert Luo
b7d1aa8efa Add data collection and metrics for Media Output Switcher - 2/n
Fixes: 147792668
Test: ./out/host/linux-x86/bin/statsd_testdrive Atom_ID
Change-Id: I1a34228da75c197663bcfe909c961e57665590d4
2020-05-21 18:00:50 +08:00
Stanley Wang
732514cd5f Fix the search result "Google Account" doesn't work.
- The "Google Account" item will launch the
  AccountDetailDashboardFragment.
  To launch the account detail page, we need the intent extras, account,
  account label and account type.
- Currently, SI doesn't support to index the intent extras, so we launch
  AccountDashboardFragment instead of AccountDetailDashboardFragment.

Fixes: 153626405
Test: manual test the search result and run Settings robotest
Change-Id: I081bd447c3f8422fb8859146b1ed4d7fcbc06810
2020-05-21 12:39:46 +08:00
paulhu
2efe482d95 Forward the ResultReceiver to Tethering Entitlement app
Bug: 156336264
Test: atest TetherProvisioningActivityTest
Change-Id: I37fcaddd5569223146ff9d6316d97f33312d8d24
2020-05-21 02:33:15 +00:00
Quang Luong
e9cbf1b698 Create new WifiEntryPreference if WifiEntry object changes
WifiSettings2 should create a new WifiEntryPreference for a cached
WifiEntry key in case the underlying object has changed, so that updates
to the WifiEntry are still being listened to. This may happen
in situations where WifiPickerTracker swaps WifiEntries objects with the same
key in the getWifiEntries() list, such as when handling network
suggestions (which are kept as separate objects from the non-suggestion
entries).

Bug: 157174114
Test: manual visual verification in wifi picker of adding a network
suggestion and seeing the entry summary for that SSID change to the
suggestion summary.

Change-Id: I9cfdae8207ae919e9e1cbf4c200eaa951a229b3f
Merged-In: I48ac11364b06887cc4059bcda863b456e206c9bd
2020-05-21 01:29:56 +00:00
Julia Reynolds
04d50c9709 Switch from shortlabel to label
Test: atest
Bug: 157140669
Change-Id: Iebcb2f076fef33b6f3ce16326af4e4c5c6770459
2020-05-20 14:23:43 -04:00
Julia Reynolds
39ceee9e00 Only show work profile notifs if enabled
Test: manual, turn off profile
Fixes: 157137055
Change-Id: Ic042300297c09d132e793d13fec18b23d24f2cc8
2020-05-20 12:29:39 -04:00