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

Commit 8a9ab13d authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add audio capture flag to PackageState" into main

parents 93074e6a 9330cc33
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -811,6 +811,10 @@ public class PackageSetting extends SettingBase implements PackageStateInternal
                != 0;
    }

    public boolean isAudioPlaybackCaptureAllowed() {
        return (getPrivateFlags() & ApplicationInfo.PRIVATE_FLAG_ALLOW_AUDIO_PLAYBACK_CAPTURE) != 0;
    }

    public SigningDetails getSigningDetails() {
        return signatures.mSigningDetails;
    }
+6 −0
Original line number Diff line number Diff line
@@ -468,6 +468,12 @@ public interface PackageState {
     */
    boolean isVendor();

    /**
     * @see ApplicationInfo#PRIVATE_FLAG_ALLOW_AUDIO_PLAYBACK_CAPTURE
     * @hide
     */
    boolean isAudioPlaybackCaptureAllowed();

    /**
     * The name of the APEX module containing this package, if it is an APEX or APK-in-APEX.
     * @hide