Commit Graph

68075 Commits

Author SHA1 Message Date
Julia Reynolds
279bc196e2 Add a bubbles content description am: 4029f92f12
Change-Id: I3d35091a90d0dcf9013fa342da5b9a7880a9e662
2020-05-29 22:25:39 +00:00
Julia Reynolds
ff85c188d8 Add a bubbles content description am: 4029f92f12
Change-Id: I2bb8406aca20a1052379b6c4cf06608785363ee9
2020-05-29 22:25:38 +00:00
Paul Hu
68028eec24 [automerger skipped] Merge "Forward the ResultReceiver to Tethering Entitlement app" am: 6045e9b90d am: cbebca9881 -s ours am: 93e8e65406 -s ours am: ebdc88ae40 -s ours
am skip reason: Change-Id I37fcaddd5569223146ff9d6316d97f33312d8d24 with SHA-1 2efe482d95 is in history

Change-Id: If920076bff603d5b13b81b4809d2140e963c1f66
2020-05-29 22:12:21 +00:00
Paul Hu
ebdc88ae40 [automerger skipped] Merge "Forward the ResultReceiver to Tethering Entitlement app" am: 6045e9b90d am: cbebca9881 -s ours am: 93e8e65406 -s ours
am skip reason: Change-Id I37fcaddd5569223146ff9d6316d97f33312d8d24 with SHA-1 2efe482d95 is in history

Change-Id: I766f222165ca254d37ea2d0334d79f44b13e3a0a
2020-05-29 21:53:59 +00:00
Paul Hu
93e8e65406 [automerger skipped] Merge "Forward the ResultReceiver to Tethering Entitlement app" am: 6045e9b90d am: cbebca9881 -s ours
am skip reason: Change-Id I37fcaddd5569223146ff9d6316d97f33312d8d24 with SHA-1 2efe482d95 is in history

Change-Id: I638a7096f44e65b6868f26bad4cb5b9f5574e42d
2020-05-29 21:41:04 +00:00
Paul Hu
cbebca9881 Merge "Forward the ResultReceiver to Tethering Entitlement app" am: 6045e9b90d
Change-Id: I614914b738e3af198fe21b881d2e475e2e8eda41
2020-05-29 21:26:52 +00:00
Julia Reynolds
4029f92f12 Add a bubbles content description
Test: manual with a11y service
Fixes: 155262236
Change-Id: Ib4c9650e1d90c4681ca721df3fde58ffc9430078
2020-05-29 20:47:40 +00:00
TreeHugger Robot
303796c5f1 Merge "Update DND add bypassing app string" into rvc-dev am: b7c1c4e30d am: c3138b4b60 am: 83212ba1c8
Change-Id: If8ab11da454bf558ac3d297e9d947f529a5a0093
2020-05-29 19:51:11 +00:00
TreeHugger Robot
1c17c8042b Merge "Update DND add bypassing app string" into rvc-dev am: b7c1c4e30d am: 6edf2c6880 am: 8836d181f8
Change-Id: Ie7d28a6d0a2229763e5a2d2d47540bf4354bb78c
2020-05-29 19:50:18 +00:00
TreeHugger Robot
f7fbb58851 Merge "Update DND add bypassing app string" into rvc-dev am: b7c1c4e30d am: 6edf2c6880 am: 80d380642a
Change-Id: Ibf09ce0040756fc56108d53e1bb235a9c1d2af4e
2020-05-29 19:50:07 +00:00
TreeHugger Robot
83212ba1c8 Merge "Update DND add bypassing app string" into rvc-dev am: b7c1c4e30d am: c3138b4b60
Change-Id: Ibe45f86921ae49e2c2cf2a545129563fbdcab740
2020-05-29 19:35:31 +00:00
TreeHugger Robot
8836d181f8 Merge "Update DND add bypassing app string" into rvc-dev am: b7c1c4e30d am: 6edf2c6880
Change-Id: I5985f7791299dbe66f11ac74169ad945e90757ae
2020-05-29 19:35:17 +00:00
TreeHugger Robot
80d380642a Merge "Update DND add bypassing app string" into rvc-dev am: b7c1c4e30d am: 6edf2c6880
Change-Id: Ic575e76cec73fa88a5e8b37ade85c573b9d33a43
2020-05-29 19:35:10 +00:00
TreeHugger Robot
6edf2c6880 Merge "Update DND add bypassing app string" into rvc-dev am: b7c1c4e30d
Change-Id: I6796116ad2492780d55355b10c52469b3123bf14
2020-05-29 19:18:18 +00:00
TreeHugger Robot
c3138b4b60 Merge "Update DND add bypassing app string" into rvc-dev am: b7c1c4e30d
Change-Id: I30683b0d45702505464d4f4092217ba7c69e93a6
2020-05-29 19:17:47 +00:00
TreeHugger Robot
b7c1c4e30d Merge "Update DND add bypassing app string" into rvc-dev 2020-05-29 19:06:22 +00:00
Julia Reynolds
3d613bb6c9 Only show Bubbles link for messaging apps
Apps that have sent at least one valid conversation

Test: manual, atest
Fixes: 156033178
Change-Id: If4fff6810f2e390ba0ad0f7587b8d8c2d5819c93
2020-05-29 14:51:06 -04:00
Fabian Kozynski
d0d07ddceb Use PackageManager.FEATURE_CONTROLS to decide availability
Using this features, some of the Preference in Power Menu Settings can
change their availability and their summary.

Test: Robotest Settings
Fixes: 157244528
Change-Id: I704438dda181aa6347c3f168ac5ef6bd16148993
2020-05-29 13:12:08 -04:00
Beverly
77f8c4add6 Update DND add bypassing app string
Test: manual
Bug: 153363351
Change-Id: I521b2e0ef1b17afa353e3a0a187366d59774a75f
2020-05-29 12:53:57 -04:00
Andras Kloczl
106431e525 Improve multi user functionality for restricted users
- Restricted users can change their name
- Improved App&Content access screen
- Remove "Turn on phone calls" from restricted user detail page

Doc: http://shortn/_Prb3SJ3xJ3
Bug: 142798722
Test: Run robo tests with this command:
  make -j64 RunSettingsRoboTests
Change-Id: I2aadf32aef52ba5ad0db7aa0cd83bac9d9941589
(cherry picked from commit f4759e00d5)
2020-05-29 12:55:18 +00:00
TreeHugger Robot
baa19ea952 Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641 am: 3d735f0aa1 am: 014dfa68b1
Change-Id: Ic5be6de58225b8476e1d262d8460e503742809b6
2020-05-29 12:29:41 +00:00
TreeHugger Robot
cc92c03be1 Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641 am: 391ebade33 am: abd6bc4eeb
Change-Id: I28c4a8b58a83614e72f6bcf3029edf6075bfb69c
2020-05-29 12:29:35 +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
abd6bc4eeb Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641 am: 391ebade33
Change-Id: I366d1024411aecaab62d14a313a73d7e728c2c1f
2020-05-29 12:13:33 +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
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
391ebade33 Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641
Change-Id: I007ed7e12f8a1e7f5ee467907e564c0a0cb7ca3d
2020-05-29 12:01:27 +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
Paul Hu
6045e9b90d Merge "Forward the ResultReceiver to Tethering Entitlement app" 2020-05-29 11:54:20 +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
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