From e873a4dfc2ddbf1dec55120520210e4bb45e58ef Mon Sep 17 00:00:00 2001 From: Simon Chan <1330321+yume-chan@users.noreply.github.com> Date: Tue, 4 Apr 2023 22:52:09 +0800 Subject: [PATCH] Use SuppressLint annotation --- server/lint-baseline.xml | 8 ++++---- .../genymobile/scrcpy/wrappers/AudioRecordWrapper.java | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/server/lint-baseline.xml b/server/lint-baseline.xml index c0045ef96f..e6854c5ee4 100644 --- a/server/lint-baseline.xml +++ b/server/lint-baseline.xml @@ -8,7 +8,7 @@ errorLine2=" ^"> @@ -19,7 +19,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -30,7 +30,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -41,7 +41,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> diff --git a/server/src/main/java/com/genymobile/scrcpy/wrappers/AudioRecordWrapper.java b/server/src/main/java/com/genymobile/scrcpy/wrappers/AudioRecordWrapper.java index 942ea88138..4036016e6b 100644 --- a/server/src/main/java/com/genymobile/scrcpy/wrappers/AudioRecordWrapper.java +++ b/server/src/main/java/com/genymobile/scrcpy/wrappers/AudioRecordWrapper.java @@ -22,6 +22,7 @@ import android.os.Looper; import android.os.Parcel; +@SuppressLint("SoonBlockedPrivateApi") public class AudioRecordWrapper { public final static String SUBMIX_FIXED_VOLUME = "fixedVolume";