summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherAppState.java
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2013-06-27 21:47:55 -0400
committerDaniel Sandler <dsandler@android.com>2013-06-27 21:47:55 -0400
commite060b0b3c72b93b47031f0f33bf18b121fb99333 (patch)
tree479ec79d2afea34ed3bfd70d453aac566e1fa2ec /src/com/android/launcher3/LauncherAppState.java
parentd34ba129b16881b48ca9bbd6d0edb8aa1b2b3573 (diff)
downloadandroid_packages_apps_Trebuchet-e060b0b3c72b93b47031f0f33bf18b121fb99333.tar.gz
android_packages_apps_Trebuchet-e060b0b3c72b93b47031f0f33bf18b121fb99333.tar.bz2
android_packages_apps_Trebuchet-e060b0b3c72b93b47031f0f33bf18b121fb99333.zip
Fix crash when started via Instrumentation.
Change-Id: Iffe2c76e93e67d56a239228fd2d9e6928ab9f65e
Diffstat (limited to 'src/com/android/launcher3/LauncherAppState.java')
-rw-r--r--src/com/android/launcher3/LauncherAppState.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/LauncherAppState.java b/src/com/android/launcher3/LauncherAppState.java
index ea8904f1f..03d2d3395 100644
--- a/src/com/android/launcher3/LauncherAppState.java
+++ b/src/com/android/launcher3/LauncherAppState.java
@@ -54,7 +54,7 @@ public class LauncherAppState {
public static void setApplicationContext(Context context) {
if (sContext != null) {
- throw new IllegalStateException("setApplicationContext called twice! old=" + sContext + " new=" + context);
+ Log.w(Launcher.TAG, "setApplicationContext called twice! old=" + sContext + " new=" + context);
}
sContext = context.getApplicationContext();
}