diff options
| author | Daichi Hirono <hirono@google.com> | 2016-03-02 13:23:29 +0900 |
|---|---|---|
| committer | Daichi Hirono <hirono@google.com> | 2016-03-07 12:45:19 +0900 |
| commit | 82ab9801ebebe8e4783ad327ad02686b44ab87f1 (patch) | |
| tree | bda87854b02282e0d0ac7f834619730a717ca48b /core/java | |
| parent | 39c0921b455721ab0678a5e49e9ceed2776010ad (diff) | |
Add a new key to Settings.Global to obtain the number of boot.
BUG=26212981
Change-Id: I5ca51ca624a30dc2d96e547a85a712e273af1931
Diffstat (limited to 'core/java')
| -rwxr-xr-x | core/java/android/provider/Settings.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index a40cf963751e..9b22c2129855 100755 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -8260,6 +8260,13 @@ public final class Settings { "allow_user_switching_when_system_user_locked"; /** + * Boot count since the device starts running APK level 24. + * <p> + * Type: int + */ + public static final String BOOT_COUNT = "boot_count"; + + /** * Settings to backup. This is here so that it's in the same place as the settings * keys and easy to update. * |
