mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-05-01 07:04:27 +02:00

swipe-controls
rewrite (#64)
* rewrite swipe controls without deep hooks + merge changes + refactor class names * fix gesture detection behaviour * add option to disable press-to-swipe * add config options related to swipe * restore default device brightness when exiting fullscreen player fixes https://github.com/revanced/revanced-patches/issues/128 * set to default brightness after reaching 0% * block swipe-to-dismiss when not using press-to-swipe * fix: TouchThiefLayout potentially attaches multiple times * remove last references to 'fenster' name * move updatePlayerType hook into its own patch * refactor 'swipe-controls' patch * make feedback text backgrond semi-transparent * update swipe-controls overlay * fix swipe-controls leaking host activity context * fix saved screen brightness resetting between videos * fix crash on re-enter activity * make overlay more configurable * add settings to revanced_prefs.xml
ReVanced Integrations
How to use debugging:
- Include the enable-debugging patch
- Set
DEBUG_BOOLEAN("revanced_debug_enabled", false),
totrue
- Usage on Windows:
adb logcat | findstr "ReVanced" > log.txt
- Usage on Linux:
adb logcat | grep --line-buffered "ReVanced" > log.txt
This will write the log to a file called log.txt which you can view then.
Languages
Java
92.4%
Kotlin
7.6%