Clear NEEDS_REBOOT preference on reboot
UpdateEngine doesn't send an initial notification to bound client if the last status is not known, so clear the preference when we detect that the device has been rebooted. Change-Id: Ib15dff5fa8ac9ec07a68018a83683cc561fd3e85
This commit is contained in:
@@ -27,6 +27,7 @@ public final class Constants {
|
||||
public static final String PREF_AUTO_UPDATES_CHECK = "auto_updates_check";
|
||||
public static final String PREF_AUTO_DELETE_UPDATES = "auto_delete_updates";
|
||||
public static final String PREF_MOBILE_DATA_WARNING = "pref_mobile_data_warning";
|
||||
public static final String PREF_NEEDS_REBOOT = "needs_reboot";
|
||||
|
||||
public static final String UNCRYPT_FILE_EXT = ".uncrypt";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user