OSDN Git Service

Recreating QSB when the widget host gets reset
authorSunny Goyal <sunnygoyal@google.com>
Tue, 8 Dec 2015 17:28:23 +0000 (09:28 -0800)
committerSunny Goyal <sunnygoyal@google.com>
Tue, 8 Dec 2015 17:29:03 +0000 (09:29 -0800)
Bug: 25073414
Change-Id: Ibdaa2b330ef7989cb7c93d64a05c8f6e5b26594a

src/com/android/launcher3/Launcher.java

index 9532c39..0323e23 100644 (file)
@@ -2529,6 +2529,9 @@ public class Launcher extends Activity
         if (mAppWidgetHost != null) {
             mAppWidgetHost.startListening();
         }
+
+        // Recreate the QSB, as the widget has been reset.
+        bindSearchProviderChanged();
     }
 
     /**