diff options
author | Christopher Tate <ctate@google.com> | 2018-07-27 16:48:37 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2018-08-10 10:54:00 -0700 |
commit | 88dc93f1ccb2cff27ae642a254aa5f5d702ab774 (patch) | |
tree | 0e4f76a7f47ee1e4767bcd914fc04b5f0f63c10c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1ff73729b81f88788900206d5d47a6ff9b7b1761 (diff) |
Send widget registration broadcasts before BOOT_COMPLETE
Widget presence in the home app is important for usability, but it
depends on a broadcast-based handshake at boot time. This handshake
occurring after the BOOT_COMPLETED broadcast was initiated means
that in practice widgets may not become available for literal
minutes following unlock, as it can take this long for the
boot-complete broadcast to clear and let the systen proceed with
dispatch of the widget handshakes.
We address this by hoisting the widget setup broadcast to occur
just *before* the boot-completed broadcast, rather than as part
of general listener reaction to the global "this user has been
unlocked" notification.
Bug: 76154638
Test: manual (note broadcast ordering following boot)
Change-Id: I7c1a9f7a84fee71f71d2dcd52362a29c2436b01d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions