micku7zu / PixelAccessibilityLag

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pixel 6 Accessibility Service Freeze Bug - Dummy app

This is a dummy Android Application with an accessibility service that does absolutely nothing, just requests the "canPerformGesture" permission in order to use "AccessibilityService.dispatchGesture".

Some users reported that having an Accessibility Service running with "canPerformGesture=true" it will trigger a bug in Pixel 6 Pro Android 12 every time the battery drops 1% and it will make the device freeze for 1-2 seconds and then it will unfreeze and execute all the touches from that period of time, like in the screen record below:

pixel_6_accessibility_service_freeze_bug.mp4

Mirror: https://imgur.com/a/YGfXsKF

Steps to reproduce

  1. Install the dummy accessibility service APK from Github Releases: pixel_6_accessibility_service_freeze_bug_v1.apk

(or any Android Application with an Accessibility Service with "canPerformGesture" permission)

  1. Enable the accessibility service from Android Settings
  2. Use the phone normally and watch for 1-2 seconds freeze each time when the battery drops 1%

Credits

@Burrro - Xda for reporting the bug and helping with investigation to find the root cause

About


Languages

Language:Java 100.0%