NeoApplications / Neo-Launcher

Neo-Launcher
GNU General Public License v3.0
1.67k stars 109 forks source link

[BUG]: Screen freezing #466

Open Johndjk opened 8 months ago

Johndjk commented 8 months ago

Description

I've had this problem for a long time. Ever since I first installed Neo Launcher. The screen freezes after a few times opening the foreground apps table and closing to go to the home screen again. I'm not a technical person but I've added some logs that I think are related to the bug.

Expected Behavior

Go to the home screen again.

Actual Behavior

Screen freezes.

Steps to Reproduce

  1. Go to apps in foreground table;
  2. Go to the home screen again;
  3. Repeat this several times;
  4. Screen freezes.

Device and OS

Redmi 9 A13 0.9.3 LineageOS Offcial

Logcat

03-06 21:56:48.366 I/FEED    ( 2591): 1 03-06 21:56:48.366 I/FEED    ( 2591): 2 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): Failed to close system windows 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): java.lang.SecurityException: Permission Denial: android.intent.action.CLOSE_SYSTEM_DIALOGS broadcast from com.saggitt.omega (pid=2591, uid=10222) requires android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS. 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at android.os.Parcel.createExceptionOrNull(Parcel.java:3011) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at android.os.Parcel.createException(Parcel.java:2995) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at android.os.Parcel.readException(Parcel.java:2978) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at android.os.Parcel.readException(Parcel.java:2920) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at com.android.systemui.shared.system.ActivityManagerWrapper.closeSystemWindows(ActivityManagerWrapper.java:296) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at android.app.IActivityManager$Stub$Proxy.closeSystemDialogs(IActivityManager.java:6494) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at com.android.quickstep.TaskUtils.lambda$closeSystemWindowsAsync$0(TaskUtils.java:98) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at com.android.quickstep.TaskUtils$$ExternalSyntheticLambda0.run(Unknown Source:2) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at android.os.Handler.handleCallback(Handler.java:942) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at android.os.Handler.dispatchMessage(Handler.java:99) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at android.os.Looper.loopOnce(Looper.java:201) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at android.os.Looper.loop(Looper.java:288) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at android.os.HandlerThread.run(HandlerThread.java:67) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): Caused by: android.os.RemoteException: Remote stack trace: 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at com.android.server.wm.ActivityTaskManagerService.checkCanCloseSystemDialogs(ActivityTaskManagerService.java:3135) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at com.android.server.wm.ActivityTaskManagerService$LocalService.checkCanCloseSystemDialogs(ActivityTaskManagerService.java:5701) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at com.android.server.wm.ActivityTaskManagerService$LocalService.closeSystemDialogs(ActivityTaskManagerService.java:6184) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at com.android.server.am.ActivityManagerService.closeSystemDialogs(ActivityManagerService.java:4131) 03-06 21:56:48.382 W/ActivityManagerWrapper( 2591): at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3288

https://github.com/NeoApplications/Neo-Launcher/assets/154085819/28bc84aa-99e6-40c7-9bfc-dbdabd99c728