Merge "Call listener onConnected method when connection starts." into ub-launcher3-master
diff --git a/src/com/android/wallpaper/util/WallpaperConnection.java b/src/com/android/wallpaper/util/WallpaperConnection.java
index 3cc61c0..07404fa 100644
--- a/src/com/android/wallpaper/util/WallpaperConnection.java
+++ b/src/com/android/wallpaper/util/WallpaperConnection.java
@@ -87,6 +87,11 @@
 
             mConnected = true;
         }
+
+        if (mListener != null) {
+            mListener.onConnected();
+        }
+
         return true;
     }