Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 44f11f6e authored by Amith Yamasani's avatar Amith Yamasani
Browse files

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
parent 38618c52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment