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

Commit 5e757204 authored by Mathew Inwood's avatar Mathew Inwood
Browse files

Move two audio APIs back the the greylist.

These APIs are used by older versions of the unity game engine, and many
of these games are not in a position where they are able to update
unity. To keep these games working now and in the future, leave these
APIs on the derestricted greylist.

Bug: 134049522
Test: m
Change-Id: I541ed6fbacfc1e405a319af5c2ff785625afb26a
parent 358c2b33
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -990,9 +990,9 @@ public class AudioSystem
    public static native int setMasterBalance(float balance);

    // helpers for android.media.AudioManager.getProperty(), see description there for meaning
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 112561552)
    @UnsupportedAppUsage(trackingBug = 134049522)
    public static native int getPrimaryOutputSamplingRate();
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 112561552)
    @UnsupportedAppUsage(trackingBug = 134049522)
    public static native int getPrimaryOutputFrameCount();
    @UnsupportedAppUsage
    public static native int getOutputLatency(int stream);