We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 079c882 commit 089a8e7Copy full SHA for 089a8e7
app/src/main/java/io/github/lsposed/disableflagsecure/DisableFlagSecure.java
@@ -378,14 +378,6 @@ private static class ScreenCaptureHooker implements Hooker {
378
379
@BeforeInvocation
380
public static void before(@NonNull BeforeHookCallback callback) {
381
- if (Build.VERSION.SDK_INT < Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
382
- var uid = android.os.Process.myUid();
383
- // cannot bypass hasCaptureBlackoutContentPermission() in SurfaceFlinger.cpp
384
- // skipping this hook for S~T before implement native hook
385
- if (uid != 1000 && uid != 1003) {
386
- return;
387
- }
388
389
var captureArgs = callback.getArgs()[0];
390
try {
391
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.BAKLAVA &&
0 commit comments