diff options
| author | 2025-02-06 15:20:52 -0800 | |
|---|---|---|
| committer | 2025-02-21 11:16:58 -0800 | |
| commit | 7535a18c67584b9e8ab1af01add35488eb822d96 (patch) | |
| tree | ee8191f3695c1923c3d54c258d6fb2a02d947bc6 /libs/androidfw/StringPool.cpp | |
| parent | 0b924ad1034ca22acacac4d63b147659b9ddd8cc (diff) | |
Add package to appops state earlier
Use the same entry point that the permission manager service uses when
a package is being installed. This is needed since the package added
broadcast and the non broadcast based PackageMonitor mechanism are both
invoked later than the permission manager service entry point. It had
been observed installed apps were already executing code before the
former two callbacks invoked leading to appop checks from other services
that the app had interacted with or test apps attempting to mutate appop
state.
Test: CtsAppOpsTestCases
Bug: 388994751
Flag: EXEMPT bugfix
Change-Id: I65b9f446c136d37633a8d1540cbced972678e61d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions