FakeStandby icon indicating copy to clipboard operation
FakeStandby copied to clipboard

[BUG] app keeps stopping

Open rajarshikhatua opened this issue 2 years ago • 3 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. download from f - droid
  2. open the app
  3. toggle on
  4. turn on accessibility
  5. the app crashes

Screenshots Screenshot_20230124_145923_AppErrorsTracking

Device information:

  • Device: Samsung galaxy s20FE
  • Android Version: 13
  • App Version : 1.3.0

error log - Generated by AppErrorsTracking Url: https://github.com/KitsunePie/AppErrorsTracking

[Stack Trace]: java.lang.IllegalArgumentException: android.jonas.fakestandby: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles. at android.app.PendingIntent.checkFlags(PendingIntent.java:408) at android.app.PendingIntent.buildServicePendingIntent(PendingIntent.java:767) at android.app.PendingIntent.getService(PendingIntent.java:729) at a.a.(Unknown Source:21) at android.jonas.fakestandby.service.AccessibilityOverlayService.onServiceConnected(SourceFile:2) at android.accessibilityservice.AccessibilityService.dispatchServiceConnected(AccessibilityService.java:826) at android.accessibilityservice.AccessibilityService.-$$Nest$mdispatchServiceConnected(Unknown Source:0) at android.accessibilityservice.AccessibilityService$2.onServiceConnected(AccessibilityService.java:2645) at android.accessibilityservice.AccessibilityService$IAccessibilityServiceClientWrapper.executeMessage(AccessibilityService.java:3016) at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:44) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8741) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

rajarshikhatua avatar Jan 24 '23 09:01 rajarshikhatua

https://github.com/JonasBernard/FakeStandby/issues/55 I think this may be the same sort of crash that I've been having? Have you ever had FakeStandby working on Android 12 or 13 @rajarshikhatua100 ?

PeterKW avatar Feb 03 '23 20:02 PeterKW

Use version 1.33 and hide update.

KelvinCrag avatar Feb 04 '23 06:02 KelvinCrag

This should be fixed in version 1.3.5., is it?

JonasBernard avatar Mar 19 '23 22:03 JonasBernard