Hi I’ve been getting alot of crash errors for my live wallpapers in Samsung a51 and Samsung Note20 Ultra with Android 10.
Here’s the error log:
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.WallpaperManager.notifyPid(boolean, int, java.lang.String)' on a null object reference at android.service.wallpaper.WallpaperService$Engine.attach(WallpaperService.java:1326) at android.service.wallpaper.WallpaperService$IWallpaperEngineWrapper.executeMessage(WallpaperService.java:1732) at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:44) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:237) at android.app.ActivityThread.main(ActivityThread.java:8154) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
Has Samsung made any change to live wallpaper engine in latest Android 10 recently? It worked on Android 9 with the same device, Samsung a51 to be specific.