Remove MY_PACKAGE_REPLACED and MY_PACKAGE_SUSPEND for battery usage

Remove MY_PACKAGE_REPLACED and MY_PACKAGE_SUSPEND action since Settings
is not store updatable, and it will reboot every time while updating. Originally, it is used on the store updatable extension engine.

Test: presubmit
Bug: 258576047
Change-Id: I9f2d58e3a822c4e4ebe182b03ace1b30f97d2340
This commit is contained in:
ykhung
2023-03-26 11:01:24 +08:00
committed by YK Hung
parent 0d3818fb0a
commit 3bc2805914
3 changed files with 0 additions and 16 deletions

View File

@@ -61,8 +61,6 @@ public final class BootBroadcastReceiver extends BroadcastReceiver {
switch (action) {
case Intent.ACTION_BOOT_COMPLETED:
case Intent.ACTION_MY_PACKAGE_REPLACED:
case Intent.ACTION_MY_PACKAGE_UNSUSPENDED:
case ACTION_SETUP_WIZARD_FINISHED:
case ACTION_PERIODIC_JOB_RECHECK:
Log.d(TAG, "refresh periodic job from action=" + action);