hyb1996-guest / auto.js3-issues

0 stars 0 forks source link

[404]java.lang.SecurityException: Invalid media projection #26670

Open lure1992 opened 5 years ago

lure1992 commented 5 years ago

Description:

java.lang.SecurityException: Invalid media projection at android.os.Parcel.readException(Parcel.java:2021) at android.os.Parcel.readException(Parcel.java:1967) at android.hardware.display.IDisplayManager$Stub$Proxy.createVirtualDisplay(IDisplayManager.java:528) at android.hardware.display.DisplayManagerGlobal.createVirtualDisplay(DisplayManagerGlobal.java:399) at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:620) at android.media.projection.MediaProjection.createVirtualDisplay(MediaProjection.java:138) at com.stardust.autojs.core.image.capture.ScreenCapturer.initVirtualDisplay(ScreenCapturer.java:106) at com.stardust.autojs.core.image.capture.ScreenCapturer.refreshVirtualDisplay(ScreenCapturer.java:100) at com.stardust.autojs.core.image.capture.ScreenCapturer.access$300(ScreenCapturer.java:29) at com.stardust.autojs.core.image.capture.ScreenCapturer$1.onOrientationChanged(ScreenCapturer.java:71) at android.view.OrientationEventListener$SensorEventListenerImpl.onSensorChanged(OrientationEventListener.java:160) at android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent(SystemSensorManager.java:898) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:325) at android.os.Looper.loop(Looper.java:172) at android.app.ActivityThread.main(ActivityThread.java:7038) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:521) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837)

Device info:

App version4.0.1 Beta
App version code404
Android build version1541497158
Android release version8.1.0
Android SDK version27
Android build IDPAHM00_11_A.26
Device brandOPPO
Device manufacturerOPPO
Device namePAHM00
Device modelPAHM00
Device product namePAHM00
Device hardware nameqcom
ABIs[arm64-v8a, armeabi-v7a, armeabi]
ABIs (32bit)[armeabi-v7a, armeabi]
ABIs (64bit)[arm64-v8a]