Chris fcabebf3a7
feat: 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
2022-07-11 14:29:39 +02:00
2022-07-11 14:29:39 +02:00
2022-03-25 11:20:56 +01:00
2022-07-08 01:21:18 +02:00
2022-07-08 21:09:51 +00:00
2022-05-06 23:11:34 +02:00

ReVanced Integrations

How to use debugging:

  • Include the enable-debugging patch
  • Set DEBUG_BOOLEAN("revanced_debug_enabled", false), to true
  • 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.

Description
🔩 ReVanced Integrations containing classes to be merged by ReVanced Patcher
Readme GPL-3.0 10 MiB
Languages
Java 92.4%
Kotlin 7.6%