Commit Graph

71465 Commits

Author SHA1 Message Date
TreeHugger Robot
cf5f149535 Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641 am: 3d735f0aa1 am: 51e7244e5f am: 2ce830edda am: 6ee3939be6
Change-Id: I7ed70e7a0ccb9fac896d5abe50aad6931b08dfcf
2020-05-29 12:53:02 +00:00
TreeHugger Robot
6ee3939be6 Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641 am: 3d735f0aa1 am: 51e7244e5f am: 2ce830edda
Change-Id: Ia5f6c4dd865167c11d18df9e1e9953de75416da7
2020-05-29 12:41:17 +00:00
TreeHugger Robot
2ce830edda Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641 am: 3d735f0aa1 am: 51e7244e5f
Change-Id: Ic958d8ea45e3f314f54d0ac83ee0ed620a5d6879
2020-05-29 12:29:21 +00:00
TreeHugger Robot
51e7244e5f Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641 am: 3d735f0aa1
Change-Id: I390e5950cbb3c1ccfc82cfbbd3478bbf5eb965f9
2020-05-29 12:13:27 +00:00
TreeHugger Robot
d1be71c42e Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: fcbc75c0a4 am: 30b0cf6f0c am: 05eddea515 am: b40ba2fdb3
Change-Id: I8dacb964d03a5e48ce099564b5fa7352c4e96da9
2020-05-29 12:03:52 +00:00
Rubin Xu
84130f933d Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 8dfd572525 am: c87cc8a7f8 am: da3a95c8cb am: 9ee8ad0a27
Change-Id: I6defddf004157f55b4f07085cac2761596e5a7d2
2020-05-29 12:03:44 +00:00
TreeHugger Robot
44f4fa5db7 Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: 609a4aa949 am: 9b67c01ad0 am: f9c0d00038 am: d2fb06685a
Change-Id: If46183f1aec2df1fb3649ca7d9376e85cb0a515f
2020-05-29 12:03:36 +00:00
TreeHugger Robot
363382370e Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: 609a4aa949 am: e9f3f563d2 am: a4361aadd8 am: 78e8977f94
Change-Id: I96c9e6b1bfe247ded895ff165db66840149ea87f
2020-05-29 12:03:30 +00:00
Rubin Xu
afedc82a6c Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 085509cb17 am: 430afe19cb am: e3a140bfb7 am: a9d796219e
Change-Id: I661a98c0982331584f6a296fea2d88d58b682072
2020-05-29 12:03:19 +00:00
Rubin Xu
9b3f6fa99d Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 085509cb17 am: 8f68066459 am: ce931b51ce am: a522f85b8b
Change-Id: I0f55ef7adc80c1ed5b10c90f72fae94a810dfc61
2020-05-29 12:02:02 +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
b40ba2fdb3 Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: fcbc75c0a4 am: 30b0cf6f0c am: 05eddea515
Change-Id: I2f56ef74cb541ee863421125afa29c2430386ad9
2020-05-29 11:52:30 +00:00
Rubin Xu
9ee8ad0a27 Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 8dfd572525 am: c87cc8a7f8 am: da3a95c8cb
Change-Id: If141f70f26a916d57f42338f41b639e0c9930b68
2020-05-29 11:52:03 +00:00
TreeHugger Robot
d2fb06685a Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: 609a4aa949 am: 9b67c01ad0 am: f9c0d00038
Change-Id: I8368fd4160c68d425b693a934deb4431505e04e4
2020-05-29 11:51:55 +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
78e8977f94 Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: 609a4aa949 am: e9f3f563d2 am: a4361aadd8
Change-Id: I1d4a61d475e1dabd5e130dda60f8e155ccd8ec29
2020-05-29 11:51:47 +00:00
Rubin Xu
a9d796219e Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 085509cb17 am: 430afe19cb am: e3a140bfb7
Change-Id: Ie2bf6cb011a8fc26041b0da3cfcd4293c66de6a1
2020-05-29 11:51:36 +00:00
Rubin Xu
a522f85b8b Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 085509cb17 am: 8f68066459 am: ce931b51ce
Change-Id: I8759fb3ced62acc35e1b451224fd65636cc3e151
2020-05-29 11:51:01 +00:00
TreeHugger Robot
05eddea515 Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: fcbc75c0a4 am: 30b0cf6f0c
Change-Id: Iff4b040ca7a8a35821d1f7a6fdaafcb5ee87e619
2020-05-29 11:38:12 +00:00
Rubin Xu
da3a95c8cb Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 8dfd572525 am: c87cc8a7f8
Change-Id: Ifb4c443d6264e698ed41d1a9f75a0ad871ada8a6
2020-05-29 11:37:50 +00:00
TreeHugger Robot
f9c0d00038 Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: 609a4aa949 am: 9b67c01ad0
Change-Id: Iaf1a3c53eae50b75ae198b74bcf9b442de742469
2020-05-29 11:37:40 +00:00
TreeHugger Robot
a4361aadd8 Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: 609a4aa949 am: e9f3f563d2
Change-Id: I98e1811f7e7d7c6ec50e9a7bab57a1ae29babb74
2020-05-29 11:37:05 +00:00
Rubin Xu
e3a140bfb7 Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 085509cb17 am: 430afe19cb
Change-Id: I424d6979b1030c359a30ae1926f0ada44b7b89bf
2020-05-29 11:36:57 +00:00
Rubin Xu
ce931b51ce Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 085509cb17 am: 8f68066459
Change-Id: Id2f6cc689b8086be18f911e8761a7f7920646b04
2020-05-29 11:36:30 +00:00
TreeHugger Robot
30b0cf6f0c Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: fcbc75c0a4
Change-Id: If28cfc66285825d150b4cf3480f2c990132736b6
2020-05-29 11:26:48 +00:00
Rubin Xu
c87cc8a7f8 Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 8dfd572525
Change-Id: I82c6ecf5f37dc39e62cc31c4a1c0dcb4e1a3dc4d
2020-05-29 11:26:41 +00:00
TreeHugger Robot
9b67c01ad0 Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528 am: 609a4aa949
Change-Id: Ic2e163ac5effcf6a364d88554a96426a05125de5
2020-05-29 11:26:10 +00:00
Rubin Xu
8f68066459 Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00 am: 085509cb17
Change-Id: I224b2f07f13ae988f2d4227bf14b5efb711dbc0e
2020-05-29 11:26:01 +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
TreeHugger Robot
fcbc75c0a4 Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528
Change-Id: Ibf8bcf7400470b3807faadd56c5ce2b917b4cafd
2020-05-29 11:10:00 +00:00
Rubin Xu
8dfd572525 Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00
Change-Id: Ibbc56241e0e249b31467362c55a65ce4970cda2b
2020-05-29 11:09:48 +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
12464e083f Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20 am: 343f6fb26f am: ee4cdc174c am: 57ce0dbae2 am: 65c715317b
Change-Id: I41ba88cc5618d4615a1770a07c3ca8a738fd93fc
2020-05-29 07:53:40 +00:00
Automerger Merge Worker
dd8846c1c5 Merge "Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20 am: ef95b4781b" into rvc-d1-dev-plus-aosp am: 45c1e42054 am: 985ee46675 am: e6c93841ce
Change-Id: If84d8de2706f173d54f6146dd280fa13cc444002
2020-05-29 07:53:33 +00:00
Automerger Merge Worker
c835070167 Merge "Merge "[ANR] Settings froze" into rvc-dev am: dd356c5653 am: ac6c74c146" into rvc-d1-dev-plus-aosp am: eae5f7b28d am: e9b1e6124f am: a27952adbc
Change-Id: I78df14e55e5139ef9d365c86f858553881cc2cb9
2020-05-29 07:53:26 +00:00
TreeHugger Robot
03d1eabec4 Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20 am: ef95b4781b am: 424c5ad859 am: 51b53dd01f am: dc480fe4c4
Change-Id: If17343baa1657a7b9a5e24c12b9ea1ec9e9a7d24
2020-05-29 07:53:20 +00:00
Automerger Merge Worker
f02668ee56 Merge "Merge "[ANR] Settings froze" into rvc-dev am: dd356c5653 am: 29e0d389bf am: 5e9d33f731" into rvc-qpr-dev-plus-aosp am: 8ea88b4fb4 am: c9f59f783d
Change-Id: I4bdd2186a0f10510305f6f2158c03e3f16a46375
2020-05-29 07:53:09 +00:00
TreeHugger Robot
b2110a9fbb Merge "[ANR] Settings froze" into rvc-dev am: dd356c5653 am: 29e0d389bf am: 7392cae089 am: 54425fd055 am: ded4c87729
Change-Id: Ic584b47bcb963362badf9dff1ea3a270a60b6a9e
2020-05-29 07:52:57 +00:00
TreeHugger Robot
65c715317b Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20 am: 343f6fb26f am: ee4cdc174c am: 57ce0dbae2
Change-Id: I36d2682a36499c1f2b3f3a9065da77d05fa18f91
2020-05-29 07:38:17 +00:00
Automerger Merge Worker
e6c93841ce Merge "Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20 am: ef95b4781b" into rvc-d1-dev-plus-aosp am: 45c1e42054 am: 985ee46675
Change-Id: I6d22a48fb76d8c8786a616383f31fbd5182c1b90
2020-05-29 07:38:11 +00:00
Automerger Merge Worker
a27952adbc Merge "Merge "[ANR] Settings froze" into rvc-dev am: dd356c5653 am: ac6c74c146" into rvc-d1-dev-plus-aosp am: eae5f7b28d am: e9b1e6124f
Change-Id: I1a8f174b2b58cb98d190d6f7573f3ce51890db84
2020-05-29 07:38:02 +00:00
TreeHugger Robot
dc480fe4c4 Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20 am: ef95b4781b am: 424c5ad859 am: 51b53dd01f
Change-Id: If786ba1387136708d83bc649cbbaf3a50cc08039
2020-05-29 07:37:53 +00:00
Automerger Merge Worker
c9f59f783d Merge "Merge "[ANR] Settings froze" into rvc-dev am: dd356c5653 am: 29e0d389bf am: 5e9d33f731" into rvc-qpr-dev-plus-aosp am: 8ea88b4fb4
Change-Id: I09958d3d81ae1e334ac03840198c7f31c0120e1c
2020-05-29 07:37:39 +00:00
TreeHugger Robot
ded4c87729 Merge "[ANR] Settings froze" into rvc-dev am: dd356c5653 am: 29e0d389bf am: 7392cae089 am: 54425fd055
Change-Id: Ieb6c9722d3f22ac26fb021143b6daa52e5217d8a
2020-05-29 07:37:19 +00:00