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

Works also for disabling anti-falsing classifier on Android 12 #1

Open
Dunedan opened this issue Feb 16, 2022 · 1 comment
Open

Works also for disabling anti-falsing classifier on Android 12 #1

Dunedan opened this issue Feb 16, 2022 · 1 comment

Comments

@Dunedan
Copy link

Dunedan commented Feb 16, 2022

Just a heads-up: This dummy accessibility service also works great as a workaround to disable the anti-falsing classifier on Android 12, where config_lockscreenAntiFalsingClassifierEnabled isn't available anymore. This makes swiping on the lock screen usable again. The "canPerformGesture" permission probably wouldn't be even necessary for that.

Here is why that works: https://github.com/aosp-mirror/platform_frameworks_base/blob/a41d3460117e3978c70ac386ea4328028b6cb8f3/packages/SystemUI/src/com/android/systemui/classifier/BrightLineFalsingManager.java#L333

@Dunedan
Copy link
Author

Dunedan commented Apr 7, 2022

And it already doesn't work anymore in Android 12.1, as that now checks for enabled touch exploration instead: https://github.com/aosp-mirror/platform_frameworks_base/blob/a3aa73c819443dfecfa96e4ef6ae9f9554dee322/packages/SystemUI/src/com/android/systemui/classifier/BrightLineFalsingManager.java#L333

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