Loading packages/DynamicSystemInstallationService/src/com/android/dynsystem/DynamicSystemInstallationService.java +14 −10 Original line number Diff line number Diff line Loading @@ -394,15 +394,19 @@ public class DynamicSystemInstallationService extends Service } private void executeNotifyIfInUseCommand() { int status = getStatus(); if (status == STATUS_IN_USE) { switch (getStatus()) { case STATUS_IN_USE: startForeground(NOTIFICATION_ID, buildNotification(STATUS_IN_USE, CAUSE_NOT_SPECIFIED)); } else if (status == STATUS_READY) { break; case STATUS_READY: startForeground(NOTIFICATION_ID, buildNotification(STATUS_READY, CAUSE_NOT_SPECIFIED)); } else { break; case STATUS_IN_PROGRESS: break; case STATUS_NOT_STARTED: default: stopSelf(); } } Loading Loading
packages/DynamicSystemInstallationService/src/com/android/dynsystem/DynamicSystemInstallationService.java +14 −10 Original line number Diff line number Diff line Loading @@ -394,15 +394,19 @@ public class DynamicSystemInstallationService extends Service } private void executeNotifyIfInUseCommand() { int status = getStatus(); if (status == STATUS_IN_USE) { switch (getStatus()) { case STATUS_IN_USE: startForeground(NOTIFICATION_ID, buildNotification(STATUS_IN_USE, CAUSE_NOT_SPECIFIED)); } else if (status == STATUS_READY) { break; case STATUS_READY: startForeground(NOTIFICATION_ID, buildNotification(STATUS_READY, CAUSE_NOT_SPECIFIED)); } else { break; case STATUS_IN_PROGRESS: break; case STATUS_NOT_STARTED: default: stopSelf(); } } Loading