Suppress DiscouragedPrivateApi lint warning
This commit is contained in:
parent
a8fd4aec9a
commit
f07d21f050
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ public final class Workarounds {
|
|||
Looper.prepareMainLooper();
|
||||
}
|
||||
|
||||
@SuppressLint("PrivateApi")
|
||||
@SuppressLint("PrivateApi,DiscouragedPrivateApi")
|
||||
public static void fillAppInfo() {
|
||||
try {
|
||||
// ActivityThread activityThread = new ActivityThread();
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue