diff options
author | 2024-09-02 10:12:52 -0700 | |
---|---|---|
committer | 2024-09-05 04:10:42 +0000 | |
commit | 44f11f6e382127459d03d0d837287896f79e06b7 (patch) | |
tree | cdce420accc6a0384764946250c821c4f2df7b18 /libs/hwui/HardwareBitmapUploader.cpp | |
parent | 38618c521fb902e2a784208ca6beb9211119e739 (diff) |
Use ApplicationInfo to track the notLaunched flag
Use it instead of relying on PackageManager calls because the
PackageManager state gets updated before the ProcessRecord is
created, causing a difference between the ApplicationInfo and
package state.
This fixes the problem with force-stopped state being incorrect
when correlating FLAG_STOPPED and notLaunched state.
Bug: 362516211
Bug: 362198191
Bug: 353651949
Test: atest CtsAppTestCases:ForceStopTest
Flag: android.app.use_app_info_not_launched
Change-Id: I4d0138071a15a07ae41aaa1779919799da998ede
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions