FloatWindow
FloatWindow copied to clipboard
floatwindow.PermissionListener.onFail()' on a null object reference
你好,我在集成后,发现一些机型会报这个错误,看起来像是内部错误 ,麻烦作者查看一下,谢谢 Caused by:
5 java.lang.NullPointerException:Attempt to invoke interface method 'void com.yhao.floatwindow.PermissionListener.onFail()' on a null object reference 6 com.yhao.floatwindow.FloatActivity.onActivityResult(FloatActivity.java:49) 7 android.app.Activity.dispatchActivityResult(Activity.java:7672) 8 android.app.ActivityThread.deliverResults(ActivityThread.java:4574) 9 android.app.ActivityThread.performResumeActivity(ActivityThread.java:3778) 10 android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3857) 11 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3049) 12 android.app.ActivityThread.-wrap11(Unknown Source:0) 13 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1761) 14 android.os.Handler.dispatchMessage(Handler.java:106) 15 android.os.Looper.loop(Looper.java:192) 16 android.app.ActivityThread.main(ActivityThread.java:7007) 17 java.lang.reflect.Method.invoke(Native Method) 18 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:519) 19 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:836)
设备机型
OPPO PBAT00