[Android Apps and Games] kristong1117:
Tried on Pixel 3, installed successful, can preview, but cannot actually set

Tried on Pixel 3, installed successful, can preview, but cannot actually set

1. Device Pixel 3

2. ROM - stock Android 10

3. Log cat

captured as following:

09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview: Failure setting wallpaper
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview: java.lang.SecurityException: Selected service does not have android.permission.AMBIENT_WALLPAPER: ComponentInfo{com.breel.wallpapers19/com.breel.wallpapers19.doodle.wallpaper.variations.DoodleWallpaperV1}
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.os.Parcel.createException(Parcel.java:2071)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.os.Parcel.readException(Parcel.java:2039)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.os.Parcel.readException(Parcel.java:1987)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.app.IWallpaperManager$Stub$Proxy.setWallpaperComponentChecked(IWallpaperManager.java:748)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.app.WallpaperManager.setWallpaperComponent(WallpaperManager.java:1694)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.app.WallpaperManager.setWallpaperComponent(WallpaperManager.java:1674)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at com.android.wallpaper.livepicker.LiveWallpaperPreview.setLiveWallpaper(LiveWallpaperPreview.java:477)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at com.android.wallpaper.livepicker.LiveWallpaperPreview.setLiveWallpaper(LiveWallpaperPreview.java:441)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at com.android.wallpaper.livepicker.-$$Lambda$ZVfXGrN4i6DRdSRdxjs5tqtCoGo.onClick(Unknown Source:2)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.view.View.performClick(View.java:7140)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.view.View.performClickInternal(View.java:7117)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.view.View.access$3500(View.java:801)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.view.View$PerformClick.run(View.java:27351)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.os.Handler.handleCallback(Handler.java:883)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.os.Handler.dispatchMessage(Handler.java:100)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.os.Looper.loop(Looper.java:214)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.app.ActivityThread.main(ActivityThread.java:7356)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at java.lang.reflect.Method.invoke(Native Method)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview: Caused by: android.os.RemoteException: Remote stack trace:
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at com.android.server.wallpaper.WallpaperManagerService.bindWallpaperComponentLocked(WallpaperManagerService.java:2618)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at com.android.server.wallpaper.WallpaperManagerService.setWallpaperComponent(WallpaperManagerService.java:2491)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at com.android.server.wallpaper.WallpaperManagerService.setWallpaperComponentChecked(WallpaperManagerService.java:2444)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.app.IWallpaperManager$Stub.onTransact(IWallpaperManager.java:381)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:	at android.os.Binder.execTransactInternal(Binder.java:1021)
09-28 21:49:37.008 14426 14426 W LiveWallpaperPreview:
09-28 21:49:37.014 14313 14313 I WallpaperService: engine paused
09-28 21:49:37.015 879 879 I sensors-hal: activate_physical_sensor:155, android.sensor.gyroscope/10 en=0
09-28 21:49:37.016 879 879 I sensors-hal: activate_physical_sensor:166, android.sensor.gyroscope/10 en=0 completed
09-28 21:49:37.021 879 940 D CHRE : @ 1290.424: [ImuCal] Dynamic sensor configuration: stand-by.
09-28 21:49:37.158 966 966 I Dpps : HandleDppsClientEvent():919 Incoming message on client fd 15: 'dpps:on'
09-28 21:49:37.479 14313 14313 I WallpaperService: engine surface destroyed
09-28 21:49:37.485 1330 2965 W ActivityManager: Unbind failed: could not find connection for android.os.BinderProxy@2804329
09-28 21:49:37.486 14313 14313 I WallpaperService: service destroyed