diff options
| author | 2024-03-19 18:47:24 +0000 | |
|---|---|---|
| committer | 2024-03-26 18:29:01 +0000 | |
| commit | 7e3aab80550f2b7cce7863acaf01cc5df8a8cdc9 (patch) | |
| tree | c46ba315a1caff6568be7c1713c227c9ae146a63 /libs/androidfw/StringPool.cpp | |
| parent | cb2fd331c72f93f7bdd8a40e9bd28529324ffcf8 (diff) | |
Do not send (LOCKED_)BOOT_COMPLETED to private space apps.
These broadcasts wake up a ton of pre-installed apps whenever the
private profile is unlocked, causing jank and significant memory usage.
There are no ordering or timing guarantees around BOOT_COMPLETED, and
its use in a profile like private space is very limited anyway.
Therefore, defer delivering these broadcasts until an app is started the
first time since private space has unlocked.
Bug: 294192700
Test: Verify broadcasts being deferred, and then delivered (once)
Change-Id: I905d5afda2abb27c1a1beb18b3dcb5c0b44717ab
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions