Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42dc32d8 authored by Michael Wright's avatar Michael Wright Committed by Android (Google) Code Review
Browse files

Merge "Flip the permissions checks for video capture." into lmp-dev

parents 8746a478 0ccc2b0a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1367,7 +1367,7 @@ public final class DisplayManagerService extends SystemService {
            }
            if (mContext.checkCallingPermission(
                    android.Manifest.permission.CAPTURE_VIDEO_OUTPUT)
                    != PackageManager.PERMISSION_GRANTED) {
                    == PackageManager.PERMISSION_GRANTED) {
                return true;
            }
            return canProjectSecureVideo(projection);
@@ -1385,7 +1385,7 @@ public final class DisplayManagerService extends SystemService {
            }
            return mContext.checkCallingPermission(
                    android.Manifest.permission.CAPTURE_SECURE_VIDEO_OUTPUT)
                    != PackageManager.PERMISSION_GRANTED;
                    == PackageManager.PERMISSION_GRANTED;
        }
    }