Fix crash when started via Instrumentation.

Change-Id: Iffe2c76e93e67d56a239228fd2d9e6928ab9f65e
diff --git a/src/com/android/launcher3/LauncherAppState.java b/src/com/android/launcher3/LauncherAppState.java
index ea8904f..03d2d33 100644
--- a/src/com/android/launcher3/LauncherAppState.java
+++ b/src/com/android/launcher3/LauncherAppState.java
@@ -54,7 +54,7 @@
 
     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();
     }