commit | d8fe6de10d5ffc293f771b070bd1361a027757bb | [log] [tgz] |
---|---|---|
author | Chris Wren <cwren@android.com> | Fri Oct 04 10:42:14 2013 -0400 |
committer | Chris Wren <cwren@android.com> | Fri Oct 04 14:47:11 2013 +0000 |
tree | c03366b4452074f55879ec37623e07ef01ac69d6 | |
parent | b86f07696cd85c0b441b48895392da636ea601cb [diff] [blame] |
check the state of launcher before running a backup. Bug: 11066273 Change-Id: Ie27a7cce4060f0bafedb06dbdb33fddf50a9cc48
diff --git a/src/com/android/launcher3/LauncherAppState.java b/src/com/android/launcher3/LauncherAppState.java index 7da1c2a..8b34ffb 100644 --- a/src/com/android/launcher3/LauncherAppState.java +++ b/src/com/android/launcher3/LauncherAppState.java
@@ -54,6 +54,10 @@ return INSTANCE; } + public static LauncherAppState getInstanceNoCreate() { + return INSTANCE; + } + public Context getContext() { return sContext; }