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
TreeHugger Robot
42a6154347
Merge "Import translations. DO NOT MERGE" into rvc-d1-dev
2020-05-20 16:00:46 +00:00
TreeHugger Robot
3ba40628fc
Merge "Show subtext for previously connected devices on BT card" into rvc-dev am: 946e3adeda
...
Change-Id: Ibc06bd838df06258f98e87fcb3a9da43c47be504
2020-05-20 14:31:50 +00:00
TreeHugger Robot
946e3adeda
Merge "Show subtext for previously connected devices on BT card" into rvc-dev
2020-05-20 14:10:31 +00:00
Jason Chiu
07767907d5
Show subtext for previously connected devices on BT card
...
Fixes: 157089483
Test: visual, robotest
Change-Id: If4f2dec9df802a80a686827de7e61115e85d54a7
2020-05-20 17:02:43 +08:00
Amy Hsu
f18ab3712b
Merge "Move PeakRefreshRateController to Settings app" into rvc-dev am: a75dddbf9f
...
Change-Id: I71ba7d138d710e02a7b486940cced02c8dde9e57
2020-05-20 08:50:48 +00:00
Amy Hsu
a75dddbf9f
Merge "Move PeakRefreshRateController to Settings app" into rvc-dev
2020-05-20 08:48:56 +00:00
TreeHugger Robot
cb56953dca
[automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: a47d90f59c
-s ours
...
am skip reason: subject contains skip directive
Change-Id: I59a7f6597789f6bea36a28cc05e0fdd879cb1ab2
2020-05-20 08:43:28 +00:00
TreeHugger Robot
a47d90f59c
Merge "Import translations. DO NOT MERGE" into rvc-dev
2020-05-20 08:30:46 +00:00
TreeHugger Robot
3041c88e65
Merge "Import translations. DO NOT MERGE" into rvc-d1-dev
2020-05-20 08:20:55 +00:00
TreeHugger Robot
a9bc27d354
[automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 77429677b2
-s ours
...
am skip reason: subject contains skip directive
Change-Id: I33022c24e7871a21af8bcc650307ef5faa82fab9
2020-05-20 07:07:11 +00:00
TreeHugger Robot
77429677b2
Merge "Import translations. DO NOT MERGE" into rvc-dev
2020-05-20 07:05:37 +00:00
TreeHugger Robot
baad4770c0
Merge "Add corresponding code for the new NR condition" into rvc-dev am: dde2bfd209
...
Change-Id: Id0d60022a25d1bb963127fbb68c80c60b9f8bd47
2020-05-20 06:43:31 +00:00
TreeHugger Robot
dde2bfd209
Merge "Add corresponding code for the new NR condition" into rvc-dev
2020-05-20 06:26:52 +00:00
Bill Yi
f995f4aac9
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I35320028f2e3530a127cb5edbc3207ff1857702e
2020-05-20 04:01:01 +00:00
tim peng
94b20912cf
Merge "Talkback focus doesn't move in liner order after tapping selected option in switch device panel" into rvc-dev am: 16d773c865
...
Change-Id: Ic43fa2636ec79502cd1a6092be3410d45f348683
2020-05-20 03:21:28 +00:00
Bill Yi
6a73e08db2
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I7014134d629aa12a8320e20927a4f48a2ab2c5bc
2020-05-20 03:16:42 +00:00
tim peng
16d773c865
Merge "Talkback focus doesn't move in liner order after tapping selected option in switch device panel" into rvc-dev
2020-05-20 02:59:37 +00:00
Bill Yi
0ec23b311d
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I645ae23c79f33fd6ef3f6cf14d6cc0c3e790f588
2020-05-20 02:34:57 +00:00
Bill Yi
0b64a3c313
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I8da4907d040c026bcad0cff8e5d4475986cc230e
2020-05-20 01:56:49 +00:00
Julia Reynolds
fad67dd63f
Fix button selected state am: d1d32e7d22
...
Change-Id: Idb656b349b5e19da62d73132cbb5468fa9523409
2020-05-19 21:51:19 +00:00
Julia Reynolds
f704b4eb6d
Guard against NPE am: 663cc934d9
...
Change-Id: If2121f13113055dc1a31c82046e8d5b2000fceba
2020-05-19 21:02:08 +00:00
Julia Reynolds
d1d32e7d22
Fix button selected state
...
Test: toggle between buttons with a11y service
Fixes: 156990411
Change-Id: I421c6d2e9762794bdf8a090db8a808678ffd8a1c
2020-05-19 14:36:32 -04:00
Julia Reynolds
f633a228ba
Map local context menu to the correct item am: a1c0269027
...
Change-Id: I0d264207efb081a1f6f3583bc39f080830f775c1
2020-05-19 17:44:48 +00:00
Julia Reynolds
663cc934d9
Guard against NPE
...
Test: manual, launching screen from locked lock screen
Fixes: 153569405
Change-Id: Idb546f58623792d94a43ca6659f7498de3beec94
2020-05-19 12:29:24 -04:00
Julia Reynolds
a1c0269027
Map local context menu to the correct item
...
Since the position of the item might have changed
if ohter items were deleted
Test: manual: delete item 0/2, item 2/2, then 1/2
Fixes: 156716919
Change-Id: I989a064d3a3f89b5c2692d5a687d759c842e080c
2020-05-19 11:22:31 -04:00
Amy Hsu
7730d301b7
Move PeakRefreshRateController to Settings app
...
1. 60/90 Hz switch
2. Allow DeviceConfig to change default refresh rate
bug: 139869828
bug: 137064289
bug: 132750102
Test: Check refresh rate is expected.
Change-Id: Ia6a3e3717fd8845c7177e55b70bc6d2d952d58f3
2020-05-19 21:45:33 +08:00
SongFerngWang
414f8b8fe6
Add corresponding code for the new NR condition
...
Bug: 155915216
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
EnabledNetworkModePreferenceControllerTest (Pass)
Change-Id: I171ea0a8adc621ad5e9dc5cd2090e431b923e775
2020-05-19 12:32:57 +00:00
Ted Wang
7265525bc3
Update Bluetooth AVRCP default version to 1.5
...
Bug: 154780267
Test: Manual
Change-Id: I370905097f9b64393b7d8705ce555f908b3604da
2020-05-19 17:18:57 +08:00
Mehdi Alizadeh
01f83bc633
Reads back inset scale value from config.xml instead of hardcoded values am: a5eb615038
...
Change-Id: I8212be2133e51d1bd06cdccf08320e1904961e53
2020-05-19 03:53:54 +00:00
Tim Peng
17e2e158c4
Talkback focus doesn't move in liner order after tapping selected option in switch device panel
...
-Not to reflash UI to reset the focus order
-Reflash UI only when connect() is valid
Bug: 156336275
Test: make -j42 RunSettingsRoboTests
Change-Id: Ibb20252167ba13309065e4672f92cdf645661a0e
2020-05-19 10:08:14 +08:00
Peter_Liang
cd25287f19
Refine the banner view for accessibility features. am: f78e7f5976
...
Change-Id: I6e0f879a5ce33f121b40363b0737b987f0b4a639
2020-05-19 00:02:12 +00:00
Jason Hsu
d261a4c1a8
Merge "Change to use CaseMap.toTitle in shortcut type summary to handle different locale." into rvc-dev am: 966f0527ac
...
Change-Id: If3c22c3061a0cc184129626dc8ef1161cdc53a9a
2020-05-19 00:01:38 +00:00
TreeHugger Robot
140c9376fa
Merge "Add bottom padding of profile group on Bluetooth detail page" into rvc-dev am: 3370e0304f
...
Change-Id: I0a4539462309be4f24b0fc8cd866c1dfcb2ee6c4
2020-05-19 00:01:11 +00:00
TreeHugger Robot
b9aa3d0d70
Merge "[Wi-Fi] Expose AP Band outside of the Advanced section" into rvc-dev am: 62b9032b8c
...
Change-Id: If5bb6bd6c442908a1fcca5a4f30e8a1274a085f9
2020-05-18 23:54:35 +00:00
Mehdi Alizadeh
a5eb615038
Reads back inset scale value from config.xml instead of hardcoded values
...
Bug: 152364314
Test: Manual
Change-Id: Ie8de080a26bda3b63c6a5ee726e7adce2d3859f7
2020-05-18 23:51:48 +00:00
tim peng
d6e814d8e7
Merge "Output switcher shows the device list by an incorrect package name" into rvc-dev am: 0581bd7f1c
...
Change-Id: I58c17401d88eab33745b3bad6c03abf3c90b6e77
2020-05-18 23:23:30 +00:00
tim peng
c5e7d82305
Merge ""Play null on" displayed under media volume" into rvc-dev am: 9a9ce2b2fa
...
Change-Id: I0de78f61bbd5061738982b6a44b6c201c3de452c
2020-05-18 23:23:27 +00:00
TreeHugger Robot
173dedce2f
Merge "Remove duplicate search result when search "Calls" and "Messages"." into rvc-dev am: 1a420ce0cf
...
Change-Id: I65a2d2fc44dbf0dcb0d5d5a29f2072effcbf3366
2020-05-18 23:23:12 +00:00
TreeHugger Robot
94edc88e2a
Merge "Remove duplicate search result of "Assistant apps"" into rvc-dev am: 3b61a1a313
...
Change-Id: I4299210f80f3b66f6fdcccfc8002f32e4c31e5ba
2020-05-18 23:23:06 +00:00
TreeHugger Robot
05a65ec191
Merge "Update string to keep On-screen keyboard naming consistent" into rvc-dev am: d02752c847
...
Change-Id: I93e3acc7bd5d10a47dbc65bc8c7ba0459961464d
2020-05-18 23:23:00 +00:00
TreeHugger Robot
8fb6ae4dc1
Merge "Close Settings page when cross-profile appop is granted" into rvc-dev am: 1b240b646d
...
Change-Id: I0947308c61821c49765db65c9e9358b4ba790538
2020-05-18 23:22:53 +00:00
Stanley Wang
76185924f7
Merge "Fix the search result "Free up space" doesn't work." into rvc-dev am: df9f721033
...
Change-Id: I8040b7487505bcdd11e5ab77a37daf7797bd0de4
2020-05-18 23:22:44 +00:00
jasonwshsu
5c75573634
Change caption summary to get the whole translated string directly. am: 2282386c99
...
Change-Id: I9b1b85c01eaff661b7bcb10db227caba21503e6a
2020-05-18 23:22:37 +00:00