Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

进入没播的直播间,返回到关注列表,会短暂闪退然后未开播列表变成直播列表,重启软件恢复,下面是miui14给的闪退代码 #55

Open
Hb199806 opened this issue Apr 11, 2023 · 0 comments

Comments

@Hb199806
Copy link

java.lang.NullPointerException
at com.sunnyweather.android.ui.liveRoom.LiveRoomActivity$startFloatWindow$1.onGranted(LiveRoomActivity.kt:544)
at com.hjq.permissions.IPermissionInterceptor$-CC.$default$grantedPermissions(IPermissionInterceptor.java:30)
at com.hjq.permissions.XXPermissions$1.grantedPermissions(Unknown Source:0)
at com.hjq.permissions.XXPermissions.request(XXPermissions.java:177)
at com.sunnyweather.android.ui.liveRoom.LiveRoomActivity.startFloatWindow(LiveRoomActivity.kt:541)
at com.sunnyweather.android.ui.liveRoom.LiveRoomActivity.onBackPressed(LiveRoomActivity.kt:477)
at android.app.Activity.onKeyUp(Activity.java:4018)
at android.view.KeyEvent.dispatch(KeyEvent.java:2931)
at android.app.Activity.dispatchKeyEvent(Activity.java:4375)
at androidx.core.app.ComponentActivity.superDispatchKeyEvent(ComponentActivity.java:122)
at androidx.core.view.KeyEventDispatcher.dispatchKeyEvent(KeyEventDispatcher.java:84)
at androidx.core.app.ComponentActivity.dispatchKeyEvent(ComponentActivity.java:140)
at androidx.appcompat.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:599)
at androidx.appcompat.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:59)
at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.dispatchKeyEvent(AppCompatDelegateImpl.java:3068)
at com.android.internal.policy.DecorView.dispatchKeyEvent(DecorView.java:425)
at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:6927)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:6775)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6210)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6267)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6233)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:6398)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6241)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:6455)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6214)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6267)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6233)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6241)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6214)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6267)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6233)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:6431)
at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:6628)
at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:3692)
at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:3200)
at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:3191)
at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:3669)
at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:154)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:341)
at android.os.Looper.loopOnce(Looper.java:169)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8330)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant