diff options
| author | 2024-08-30 17:59:36 +0800 | |
|---|---|---|
| committer | 2024-09-03 15:17:27 +0800 | |
| commit | 095da031bb63caafecc86e3a82275a59e42c8f14 (patch) | |
| tree | 7ca3ffa58c4b763033648b21cf2d04e196ea8630 /libs/androidfw/AssetManager.cpp | |
| parent | 2f4e0476d0c690f7a5cb47c72cf61c03d6daf7fa (diff) | |
Send latest configuration for binding process
Before a process completes attaching, its configuration won't be
updated with system. Then if there is a global change happens in
this period, the client process will get old configuration which
is assigned when creating the process record.
So this change popluates the needed info in a single invocation
when the process is attaching. Then the client can start with the
latest configuration.
This would also benefit:
- Reduce entering WM lock from AM's compatibilityInfoForPackage.
- Copy configuration inside WM lock to ensure data consistency.
Bug: 362215030
Flag: EXEMPT bugfix
Test: atest ActivityTaskManagerServiceTests
Change-Id: I4af30c62864eefb9897120ba46ebd0c7e3fc8231
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions