chore: Merge integrations

This commit is contained in:
oSumAtrIX
2024-11-06 17:03:36 +01:00
parent eee1692277
commit a361bfb1da
261 changed files with 24801 additions and 0 deletions

View File

@ -0,0 +1,7 @@
extension {
name = "extensions/all/screenshot/remove-screenshot-restriction.rve"
}
android {
namespace = "app.revanced.extension"
}

View File

@ -0,0 +1 @@
<manifest/>

View File

@ -0,0 +1,15 @@
package app.revanced.extension.all.screenshot.removerestriction;
import android.view.Window;
import android.view.WindowManager;
public class RemoveScreenshotRestrictionPatch {
public static void addFlags(Window window, int flags) {
window.addFlags(flags & ~WindowManager.LayoutParams.FLAG_SECURE);
}
public static void setFlags(Window window, int flags, int mask) {
window.setFlags(flags & ~WindowManager.LayoutParams.FLAG_SECURE, mask & ~WindowManager.LayoutParams.FLAG_SECURE);
}
}