AudioTrack: getLatency continues UnsupportedAppUsage

Exoplayer needs this API for devices with timestamp issues.

Test: compiles
Bug: 112561552
Bug: 130237544
Change-Id: I136d80011765ac83be8f5258c4ba139ee1f1ef75
This commit is contained in:
Andy Hung
2019-04-09 13:23:50 -07:00
parent e320cdb441
commit ce795489ee

View File

@@ -25,7 +25,6 @@ import android.annotation.Nullable;
import android.annotation.TestApi;
import android.annotation.UnsupportedAppUsage;
import android.os.Binder;
import android.os.Build;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.Looper;
@@ -1662,7 +1661,7 @@ public class AudioTrack extends PlayerBase
* a better solution.
* @hide
*/
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 112561552)
@UnsupportedAppUsage(trackingBug = 130237544)
public int getLatency() {
return native_get_latency();
}