Loading services/core/java/com/android/server/wallpaper/WallpaperManagerService.java +5 −1 Original line number Original line Diff line number Diff line Loading @@ -3749,7 +3749,11 @@ public class WallpaperManagerService extends IWallpaperManager.Stub mContext.getMainThreadHandler().removeCallbacks( mContext.getMainThreadHandler().removeCallbacks( wallpaper.connection.mTryToRebindRunnable); wallpaper.connection.mTryToRebindRunnable); try { mContext.unbindService(wallpaper.connection); mContext.unbindService(wallpaper.connection); } catch (IllegalArgumentException e) { Slog.w(TAG, "Error unbinding wallpaper when detaching", e); } wallpaper.connection = null; wallpaper.connection = null; if (wallpaper == mLastWallpaper) { if (wallpaper == mLastWallpaper) { mLastWallpaper = null; mLastWallpaper = null; Loading Loading
services/core/java/com/android/server/wallpaper/WallpaperManagerService.java +5 −1 Original line number Original line Diff line number Diff line Loading @@ -3749,7 +3749,11 @@ public class WallpaperManagerService extends IWallpaperManager.Stub mContext.getMainThreadHandler().removeCallbacks( mContext.getMainThreadHandler().removeCallbacks( wallpaper.connection.mTryToRebindRunnable); wallpaper.connection.mTryToRebindRunnable); try { mContext.unbindService(wallpaper.connection); mContext.unbindService(wallpaper.connection); } catch (IllegalArgumentException e) { Slog.w(TAG, "Error unbinding wallpaper when detaching", e); } wallpaper.connection = null; wallpaper.connection = null; if (wallpaper == mLastWallpaper) { if (wallpaper == mLastWallpaper) { mLastWallpaper = null; mLastWallpaper = null; Loading