This repository has been archived by the owner on Oct 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/dev' into hide-suggestions-shelf
- Loading branch information
Showing
29 changed files
with
1,315 additions
and
533 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
app/src/main/java/app/revanced/integrations/patches/BrandingWaterMarkPatch.java
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
app/src/main/java/app/revanced/integrations/patches/DisableFineScrubbingGesturePatch.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package app.revanced.integrations.patches; | ||
|
||
import android.view.MotionEvent; | ||
import android.view.VelocityTracker; | ||
import app.revanced.integrations.settings.SettingsEnum; | ||
|
||
public final class DisableFineScrubbingGesturePatch { | ||
/** | ||
* Disables the fine scrubbing gesture. | ||
* @param tracker The velocity tracker that is used to determine the gesture. | ||
* @param event The motion event that is used to determine the gesture. | ||
*/ | ||
public static void disableGesture(VelocityTracker tracker, MotionEvent event) { | ||
if (SettingsEnum.DISABLE_FINE_SCRUBBING_GESTURE.getBoolean()) return; | ||
|
||
tracker.addMovement(event); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
278 changes: 230 additions & 48 deletions
278
app/src/main/java/app/revanced/integrations/patches/ReturnYouTubeDislikePatch.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.