Commit Graph

62061 Commits

Author SHA1 Message Date
TreeHugger Robot
014dfa68b1 Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641 am: 3d735f0aa1
Change-Id: Ibff5f4f7b700f8b59295ae859c2ef9bae2c7bcf3
2020-05-29 12:13:22 +00:00
TreeHugger Robot
3d735f0aa1 Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641
Change-Id: Ifc9b6dbdf16b9d8f92ffdbfacf62fff3351a52a8
2020-05-29 12:01:23 +00:00
TreeHugger Robot
ff35a3e641 Merge "Fix the janky transition of contextual cards." into rvc-dev 2020-05-29 11:51:51 +00:00
TreeHugger Robot
e9f3f563d2 Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: 609a4aa949
Change-Id: I0cbc5cb536d588f5e6a160ebe220cc227e11650b
2020-05-29 11:25:51 +00:00
Rubin Xu
430afe19cb Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 085509cb17
Change-Id: Ia8f9f5395dc7ea63e9a3407a842965b1fd6c82af
2020-05-29 11:25:40 +00:00
TreeHugger Robot
609a4aa949 Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528
Change-Id: I6e99a73c8c0eb5745b39f592cae2d4f3d9e71bd1
2020-05-29 11:10:34 +00:00
Rubin Xu
085509cb17 Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00
Change-Id: I1539235ffb0b4776a4b521c96e69d637ae9603e1
2020-05-29 11:09:46 +00:00
TreeHugger Robot
1e0bb9f528 Merge "Cleanup notification channel slice" into rvc-dev 2020-05-29 10:55:53 +00:00
Rubin Xu
c3b12c3b00 Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev 2020-05-29 10:44:18 +00:00
Yi-Ling Chuang
bed0f23940 Fix the janky transition of contextual cards.
When contextual cards are being laid out, there are two separate layout
transitions, which brings users the feeling of slowness.

In the current design, we bind slices in the adapter's
onBindViewHolder(), where slice's binding is acutally done in the
background thread and it's time consuming. So before getting the
callback from the slice framework to have actual contents, the view is
empty but the viewholder is already created. So the RecyclerView would
treat it as completed and starts to lay them out. This introduces the
first time transition. Once we get the actual slice content, the view
will be refreshed and laid out, which is the second time transition.

To tackle this, this CL caches slices that are created at pre-check
time, and use them to render before getting updated slices to fill up
the gap.

Fixes: 156372414
Test: robotest and launch settings to see the transition being smooth.
Change-Id: Ic0a27ff36f1824de499b75ec73b2635de9cbe6b5
2020-05-29 18:28:45 +08:00
Jason Chiu
d06333167d Cleanup notification channel slice
Fixes: 144897605
Test: robotest

Change-Id: I1b654f31c6b001ef6f1eed95a87ca0b2dd1afc2e
2020-05-29 17:35:22 +08:00
TreeHugger Robot
424c5ad859 Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20 am: ef95b4781b
Change-Id: Ib171336f52c20fc7434cc8adb449df14d7ca9a91
2020-05-29 07:15:25 +00:00
TreeHugger Robot
5e9d33f731 Merge "[ANR] Settings froze" into rvc-dev am: dd356c5653 am: 29e0d389bf
Change-Id: Ia55db34ee4d7facbfabc46f7133703569cb172fc
2020-05-29 07:14:59 +00:00
TreeHugger Robot
ef95b4781b Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20
Change-Id: Ie3409d93df4c63857cfdbd8bf5d5b263f4bd390c
2020-05-29 06:50:02 +00:00
TreeHugger Robot
29e0d389bf Merge "[ANR] Settings froze" into rvc-dev am: dd356c5653
Change-Id: I337c660b32dcb94482919cf934b28d29ebbaa771
2020-05-29 06:49:54 +00:00
TreeHugger Robot
90331c0f20 Merge "Disable anomaly app detection for battery" into rvc-dev 2020-05-29 06:47:00 +00:00
TreeHugger Robot
dd356c5653 Merge "[ANR] Settings froze" into rvc-dev 2020-05-29 06:37:53 +00:00
tim peng
69f1c522a2 Merge "Improve feedback when failing transferring a disconnected device" into rvc-dev am: 6febf2c629 am: 1b1e05fb1d
Change-Id: I9d4758a3b66cf95ade0f9eef250d36e2b44c18de
2020-05-29 05:36:09 +00:00
tim peng
1b1e05fb1d Merge "Improve feedback when failing transferring a disconnected device" into rvc-dev am: 6febf2c629
Change-Id: I8bb341fb70c18e314ae8ac2bdfbf5ce1140845b5
2020-05-29 05:22:02 +00:00
tim peng
6febf2c629 Merge "Improve feedback when failing transferring a disconnected device" into rvc-dev 2020-05-29 05:09:07 +00:00
Tim Peng
0989586ce2 [ANR] Settings froze
-To handle getActiveLocalMediaController() in a background thread
-To update test cases for waiting LocalMediaManager initial in
 background thread

Bug: 157522889
Test: make -j42 RunSettingsRoboTests
Change-Id: I27cd282a89ac9cfb6a098843f7282d5b94d98402
2020-05-29 02:30:56 +00:00
Jay Aliomer
867766f919 Merge "Incorrect localization of dark theme custom time" into rvc-dev am: fb6711ae92 am: e931c35f4d
Change-Id: Ib8c21c6139fcb69d8abf985303f93e8434beaa07
2020-05-28 23:38:53 +00:00
TreeHugger Robot
22c94f426a [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-d1-dev am: 3304eb3fb6 -s ours
am skip reason: subject contains skip directive

Change-Id: I36f184163f2f990ac913cef2e41b48d362e6834c
2020-05-28 23:38:37 +00:00
Jay Aliomer
e931c35f4d Merge "Incorrect localization of dark theme custom time" into rvc-dev am: fb6711ae92
Change-Id: Ibf41defa2849b26c934dd3b72d30117993d696f2
2020-05-28 23:37:48 +00:00
TreeHugger Robot
3304eb3fb6 Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-05-28 22:52:24 +00:00
Jay Aliomer
fb6711ae92 Merge "Incorrect localization of dark theme custom time" into rvc-dev 2020-05-28 22:21:21 +00:00
TreeHugger Robot
ccb6c24c76 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: be2190fe64 -s ours am: 171694b82e -s ours
am skip reason: subject contains skip directive

Change-Id: I610e1391362a307dfba04724aba4c87ad4688f76
2020-05-28 20:25:40 +00:00
TreeHugger Robot
171694b82e [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: be2190fe64 -s ours
am skip reason: subject contains skip directive

Change-Id: Iea9d42d6ce8c804b8cff63ef81ec9bca49aab7ad
2020-05-28 20:09:41 +00:00
TreeHugger Robot
be2190fe64 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-28 19:58:59 +00:00
Bill Yi
049aca9d5e Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I5f6b84e0c2aef2d2c258f6c8dc80a140c04b1153
2020-05-28 19:17:11 +00:00
Bill Yi
18428dce24 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I09d9add17cf33cbe0525e728f4e7a3c19a7aa9f2
2020-05-28 18:38:28 +00:00
TreeHugger Robot
85f4ab8a57 Merge "Revert "Do not prebind sticky slices."" into rvc-dev am: 591d761d43 am: 1438ab4d59
Change-Id: I449df78c934041c4bfc9e242d29b45b53436ce90
2020-05-28 16:00:51 +00:00
TreeHugger Robot
a498b95ddb Merge "Increase the timeout for contextual card loading." into rvc-dev am: c3b262ed52 am: 1d1e16a09b
Change-Id: I953515152c0e9d7a7bf3bc726a83d29e21841f5b
2020-05-28 16:00:44 +00:00
Jay Aliomer
57cc7d01ae Incorrect localization of dark theme custom time
Fixes: 154361883
Test: manually select dark theme custom time and make sure it matches
locale

Change-Id: I2a918b4b2f5aad6b04d3b0318bbca25e82dfae78
2020-05-28 12:00:17 -04:00
TreeHugger Robot
1438ab4d59 Merge "Revert "Do not prebind sticky slices."" into rvc-dev am: 591d761d43
Change-Id: I6fca5b77f9301f2ddf0336beb8f12dd8bfd9bcb6
2020-05-28 15:48:00 +00:00
TreeHugger Robot
1d1e16a09b Merge "Increase the timeout for contextual card loading." into rvc-dev am: c3b262ed52
Change-Id: I50b31cbe7f309b988d30d5cab191dc6be9095eef
2020-05-28 15:47:30 +00:00
TreeHugger Robot
591d761d43 Merge "Revert "Do not prebind sticky slices."" into rvc-dev 2020-05-28 15:42:28 +00:00
Yi-Ling Chuang
740db33c5c Revert "Do not prebind sticky slices."
This reverts commit ac59ea8e23.

Reason for revert: Fix it using another approach in ag/11629780. The prebind part will be helpful to cache slice data.

Bug: 152365480
Change-Id: Iebed42027552a923907647b61480f135ac4f4097
2020-05-28 15:42:15 +00:00
TreeHugger Robot
c3b262ed52 Merge "Increase the timeout for contextual card loading." into rvc-dev 2020-05-28 15:37:37 +00:00
Bonian Chen
06312e5db5 Merge "[Settings] Avoid crash for VoIP account displayed as default voice" into rvc-dev am: e2da25108a am: cb1353756d
Change-Id: I86f0150ef7eb6f8f4666f749897f47ffff5333cf
2020-05-28 15:18:10 +00:00
Bonian Chen
cb1353756d Merge "[Settings] Avoid crash for VoIP account displayed as default voice" into rvc-dev am: e2da25108a
Change-Id: I98bea7d8fa90e267a3039012bf19babd2eec7223
2020-05-28 15:07:52 +00:00
Bonian Chen
e2da25108a Merge "[Settings] Avoid crash for VoIP account displayed as default voice" into rvc-dev 2020-05-28 14:59:47 +00:00
SongFerngWang
24c4c990ef EnabledNetworkModePreferenceController Remove AllowedNetworkType am: 259e6288c9 am: b6b8bc01e8
Change-Id: I31d1fc85b15e7b3d4335380ca4dbe6ef1e856e57
2020-05-28 14:47:12 +00:00
SongFerngWang
b6b8bc01e8 EnabledNetworkModePreferenceController Remove AllowedNetworkType am: 259e6288c9
Change-Id: I4064e14c9ed83f5712141ebff4edc8217efd879b
2020-05-28 14:32:40 +00:00
SongFerngWang
259e6288c9 EnabledNetworkModePreferenceController Remove AllowedNetworkType
Power manager decision do enable/disable NR by AllowedNetworkType,
and it will effect the PreferredNetworkMode UI. The
PreferredNetworkMode list no 5G item when AllowedNetworkType
disabled.

Bug: 156709797
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
EnabledNetworkModePreferenceControllerTest  (pass)

Change-Id: I3ab9eca0956c4cce1b79e518942063b681eb96cd
2020-05-28 20:37:51 +08:00
Tsung-Mao Fang
850bafbf58 Disable anomaly app detection for battery
This feature is introducing some false positive cases,
so we're going to disable this feature now.
Battery team will make it more precise in the next release.

Test: Run robotest. See there's no related card in battery page.
Fix: 156369998
Change-Id: I2dfe2f772e561b768af6af45ac92fdc65c1fafee
2020-05-28 20:14:32 +08:00
Yi-Ling Chuang
9d789ee7ba Increase the timeout for contextual card loading.
Some cards require a bit more time to be loaded, so relax the timeout a
bit. After tweaking the time, the overall loading time seems decreased.

Fixes: 152365480
Test: rebuild and launch
Change-Id: Icc2f66b28a377bd8ce230f8a9918b8f1f164f4ff
2020-05-28 20:05:15 +08:00
TreeHugger Robot
4d64c02c02 Merge "Send metrics log of card dismiss event to SI instantly" into rvc-dev am: f5056a03e3 am: db19d8ffd0
Change-Id: Ie01c24aed0ef2988e9815779193afffd7fd792d8
2020-05-28 11:35:46 +00:00
TreeHugger Robot
db19d8ffd0 Merge "Send metrics log of card dismiss event to SI instantly" into rvc-dev am: f5056a03e3
Change-Id: I6cf54fdbb02d84367f3311f697499de00fbf6ced
2020-05-28 11:29:32 +00:00
TreeHugger Robot
f5056a03e3 Merge "Send metrics log of card dismiss event to SI instantly" into rvc-dev 2020-05-28 11:14:49 +00:00