Suppress DiscouragedPrivateApi lint warning

This commit is contained in:
Romain Vimont 2020-04-08 12:08:27 +02:00
parent a8fd4aec9a
commit f07d21f050
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ public final class Workarounds {
Looper.prepareMainLooper();
}
@SuppressLint("PrivateApi")
@SuppressLint("PrivateApi,DiscouragedPrivateApi")
public static void fillAppInfo() {
try {
// ActivityThread activityThread = new ActivityThread();

View file

@ -6,7 +6,7 @@ import android.os.IInterface;
import java.lang.reflect.Method;
@SuppressLint("PrivateApi")
@SuppressLint("PrivateApi,DiscouragedPrivateApi")
public final class ServiceManager {
private final Method getServiceMethod;