diff options
author | George Mount <mount@google.com> | 2011-11-21 09:08:21 -0800 |
---|---|---|
committer | George Mount <mount@google.com> | 2011-11-23 14:06:03 -0800 |
commit | 3636d0a6d90fd8de55a4894210b2dbe23f32aac9 (patch) | |
tree | 7109001dd220719fe4d43369506dbd2d8b0b69a8 /src/com/android/browser/PreferenceKeys.java | |
parent | e744d3b4f1f5d649c96641d5b77fb169b0e102d2 (diff) | |
download | packages_apps_Browser-3636d0a6d90fd8de55a4894210b2dbe23f32aac9.zip packages_apps_Browser-3636d0a6d90fd8de55a4894210b2dbe23f32aac9.tar.gz packages_apps_Browser-3636d0a6d90fd8de55a4894210b2dbe23f32aac9.tar.bz2 |
Crash recover no longer uses icicle.
Bug 5508252
Changed load state to use the crash recovery state every
time instead of using icicle. When the state is saved,
the value is written synchronously.
Moved settings from CrashRecoveryHandler to BrowserSettings
Change-Id: I1a241d4c488fe3246c7d7f1ee0ce26c42ba29429
Diffstat (limited to 'src/com/android/browser/PreferenceKeys.java')
-rw-r--r-- | src/com/android/browser/PreferenceKeys.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/com/android/browser/PreferenceKeys.java b/src/com/android/browser/PreferenceKeys.java index ecab008..1a20495 100644 --- a/src/com/android/browser/PreferenceKeys.java +++ b/src/com/android/browser/PreferenceKeys.java @@ -104,4 +104,17 @@ public interface PreferenceKeys { static final String PREF_DATA_PRELOAD = "preload_when"; static final String PREF_LOAD_IMAGES = "load_images"; + // ---------------------- + // Keys for browser recovery + // ---------------------- + /** + * The last time recovery was started as System.currentTimeMillis. + * 0 if not set. + */ + static final String KEY_LAST_RECOVERED = "last_recovered"; + + /** + * Key for whether or not the last run was paused. + */ + static final String KEY_LAST_RUN_PAUSED = "last_paused"; } |