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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user