diff options
author | 2023-12-07 00:10:31 +0000 | |
---|---|---|
committer | 2023-12-07 00:26:28 +0000 | |
commit | 10973add15aed7a382019673ba231dc353b3f7cc (patch) | |
tree | c18a92efc2479f15bc9af9b0103a35d82e0b09b1 /libs/input/PointerController.cpp | |
parent | b9fc62256c919cc290e7497c279a81e5ae92d239 (diff) |
Remove incorrect assumption.
The initial assumption was that PACKAGE_RESTARTED meant that the app
would be put into the stopped state and be kept in the stopped state
until the PACKAGE_UNSTOPPED broadcast was sent. However, there are cases
where the PACKAGE_RESTARTED broadcast is sent but the app is not put and
kept in the stopped state (eg. clearing app data). Change the logic to
no longer assume that PACKAGE_RESTARTED means the app is put and kept in
the stopped state.
Bug: 315171674
Test: atest android.permissionui.cts.SafetyLabelChangesJobServiceTest#runNotificationJob_packageSourceUnspecified_updatesSafetyLabelHistoryForApps
Test: atest FrameworksMockingServicesTests:BackgroundJobsControllerTest
Change-Id: I23efa966b4963ca1777bdac58bbdad2f250c4984
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions