FakeStandby icon indicating copy to clipboard operation
FakeStandby copied to clipboard

Android 13: Accessibility Service - "This service is malfunctioning" [BUG]

Open AyoungDukie opened this issue 1 year ago • 5 comments

Describe the bug Using version 1.3.4 on Android 13 (Pixel 4a), attempting to start fake standby fails (as though a permission is missing), however everything was enabled. Under the Android Accessibility Settings page, FakeStandby is noted with a subheading of "Not working. Tap for more info." Which reveals the following screen:

Screenshot_20220920-233022

To Reproduce Occurs both on fresh installs and on upgrades from previous app versions. Does not occur on an install of 1.3.3

Disabling/reenabling the service did not address, nor does clearing app data or reinstalling.

Device information:

  • Device: Pixel 4a
  • Android Version: 13
  • App Version 1.3.4

AyoungDukie avatar Sep 21 '22 03:09 AyoungDukie

Can confirm. I'm also using a Pixel 4a with Android 13 and 1.3.4 does not work. However, downgrading to 1.3.3 works fine

pythonmcpi avatar Sep 25 '22 05:09 pythonmcpi

Me too.

KrasnayaPloshchad avatar Sep 25 '22 06:09 KrasnayaPloshchad

So do I, the old version do not have the problem.

  • Device :Redmi K40S
  • Android Version: 12
  • MIUI Version:13.0.11stable
  • App Version 1.3.4

SituChengxiang avatar Oct 04 '22 03:10 SituChengxiang

Since I think nobody has posted a StackTrace of the error yet, I'm leaving this one here in the hope it helps fixing the problem:

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. stacktrace: 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:375) at android.app.PendingIntent.buildServicePendingIntent(PendingIntent.java:724) at android.app.PendingIntent.getService(PendingIntent.java:686) at a.a.(Unknown Source:21) at android.jonas.fakestandby.service.AccessibilityOverlayService.onServiceConnected(SourceFile:2) at android.accessibilityservice.AccessibilityService.dispatchServiceConnected(AccessibilityService.java:768) at android.accessibilityservice.AccessibilityService.access$200(AccessibilityService.java:240) at android.accessibilityservice.AccessibilityService$2.onServiceConnected(AccessibilityService.java:2171) at android.accessibilityservice.AccessibilityService$IAccessibilityServiceClientWrapper.executeMessage(AccessibilityService.java:2417) 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:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7876) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

I also think this issue is a duplicate of #45.

Device information:

  • Device: Realme X2 Pro
  • Android Version: 12L
  • App Version 1.3.4

jul13579 avatar Oct 06 '22 05:10 jul13579

Thank you so much. This seems helpful.

JonasBernard avatar Oct 06 '22 05:10 JonasBernard