Merge "stopSelf() if there is no installed system image" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-11 03:41:01 +00:00
committed by Android (Google) Code Review

View File

@@ -326,6 +326,8 @@ public class DynamicSystemInstallationService extends Service
} else if (status == STATUS_READY) {
startForeground(NOTIFICATION_ID,
buildNotification(STATUS_READY, CAUSE_NOT_SPECIFIED));
} else {
stopSelf();
}
}