summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/12/changes
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2018-05-01 00:37:59 +0800
committerRiddle Hsu <riddlehsu@google.com>2018-05-02 18:26:37 +0800
commit7fdd90af034ed495a5f772500b4980bbd4d64599 (patch)
tree74ea32df5e8d22cbd4956c0e2341754d2dd48836 /docs/html/sdk/api_diff/12/changes
parent8d18f0cf258991d5b69f0f9fd75da206bcd1f316 (diff)
Complete cleanup broadcast receivers of target user
If a broadcast is sending to all users, the receivers of target user should also be cleaned. -------------------------------------- Case | Send to | Clean target | 1 | All users | All users | 2 | All users | One user | <- Fix this. 3 | One user | All users | 4 | One user | One user | -------------------------------------- Issue case: Assume a package X is installed on user A, B (or even only A). X declared a manifest receiver which responds to an user-all broadcast(e.g. wifi state change). When the broadcast is sending, some events trigger force-stop the package X on user A, the broadcast in queue does not be cleaned and X still receives the broadcast. Bug: 78883341 Test: atest FrameworksServicesTests:com.android.server.am.BroadcastRecordTest Change-Id: I9de3319ecd1d4c23f81c28f29b3a7b0c5ffacb16
Diffstat (limited to 'docs/html/sdk/api_diff/12/changes')
0 files changed, 0 insertions, 0 deletions