Loading core/java/android/service/wallpaper/WallpaperService.java +6 −1 Original line number Diff line number Diff line Loading @@ -2738,7 +2738,12 @@ public abstract class WallpaperService extends Service { engineWrapper.destroy(); } mActiveEngines.clear(); if (mBackgroundThread != null) { // onDestroy might be called without a previous onCreate if WallpaperService was // instantiated manually. While this is a misuse of the API, some things break // if here we don't take into consideration this scenario. mBackgroundThread.quitSafely(); } Trace.endSection(); } Loading Loading
core/java/android/service/wallpaper/WallpaperService.java +6 −1 Original line number Diff line number Diff line Loading @@ -2738,7 +2738,12 @@ public abstract class WallpaperService extends Service { engineWrapper.destroy(); } mActiveEngines.clear(); if (mBackgroundThread != null) { // onDestroy might be called without a previous onCreate if WallpaperService was // instantiated manually. While this is a misuse of the API, some things break // if here we don't take into consideration this scenario. mBackgroundThread.quitSafely(); } Trace.endSection(); } Loading