diff options
| author | 2023-03-03 15:02:10 -0500 | |
|---|---|---|
| committer | 2023-03-03 15:02:10 -0500 | |
| commit | e2ccb62e4fa243d8d4c52ac65e9f64554059494d (patch) | |
| tree | c15e1a74603f3a740eb01541813020c68b0f9759 /libs/androidfw/ApkParsing.cpp | |
| parent | 050627e4f7c75932bfa39a30909cb099e34c22c6 (diff) | |
Make active tiles always listen on creation
When a CustomTile corresponding to an active tile is created (either on
process start or on user switch), perform one round of
startListening/stopListening. This makes sure that the TileService has
an opportunity to refresh the information after a user switch without
having to request it.
Also, make `requestListeningState` called on the wrong user a noop.
Fixes: 242194868
Test: atest CustomTileTest
Test: manual using test TileService app
Change-Id: I5aea6f849e7a75ff71df8fb6c0d242785e94b8c3
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions