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

Commit c538ae41 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊 Committed by Mohammed Althaf T
Browse files

base: Allow audio playback capture for every apps




(cherry picked from commit 1236c418)

Co-authored-by: default avataralthafvly <althafvly@gmail.com>
parent 4fe4fe8e
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -3599,11 +3599,7 @@ public class PackageParser {
            ai.privateFlags |= ApplicationInfo.PRIVATE_FLAG_ALLOW_CLEAR_USER_DATA_ON_FAILED_RESTORE;
        }

        if (sa.getBoolean(
                R.styleable.AndroidManifestApplication_allowAudioPlaybackCapture,
                owner.applicationInfo.targetSdkVersion >= Build.VERSION_CODES.Q)) {
        ai.privateFlags |= ApplicationInfo.PRIVATE_FLAG_ALLOW_AUDIO_PLAYBACK_CAPTURE;
        }

        if (sa.getBoolean(
                R.styleable.AndroidManifestApplication_requestLegacyExternalStorage,