Don't send BOOT_COMPLETED to app in restricted backup mode
If the app is being started for a backup or restore operation, don't send it the BOOT_COMPLETED broadcasts even if currently in the package STOPPED state. This prevents some apps from crashing because they don't properly handle getting broadcasts during a backup or restore. Bug: 362516211 Test: Install a previously backed up app and ensure restore works Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a2e386b3555a25df7e3405ec1269f2ac4b2a9dfc) Merged-In: Iddb40c1398f49dd72cbcb730b9cfb48aaca98e2c Change-Id: Iddb40c1398f49dd72cbcb730b9cfb48aaca98e2c
Loading
Please register or sign in to comment