Merge "Disable user-facing historical app ops methods"
This commit is contained in:
@@ -367,4 +367,14 @@ public abstract class ActivityManagerInternal {
|
||||
* Unregisters the specified {@code processObserver}.
|
||||
*/
|
||||
public abstract void unregisterProcessObserver(IProcessObserver processObserver);
|
||||
|
||||
/**
|
||||
* Checks if there is an unfinished instrumentation that targets the given uid.
|
||||
*
|
||||
* @param uid The uid to be checked for
|
||||
*
|
||||
* @return True, if there is an instrumentation whose target application uid matches the given
|
||||
* uid, false otherwise
|
||||
*/
|
||||
public abstract boolean isUidCurrentlyInstrumented(int uid);
|
||||
}
|
||||
|
||||
@@ -178,6 +178,12 @@ public class Process {
|
||||
*/
|
||||
public static final int OTA_UPDATE_UID = 1061;
|
||||
|
||||
/**
|
||||
* Defines the UID used for statsd
|
||||
* @hide
|
||||
*/
|
||||
public static final int STATSD_UID = 1066;
|
||||
|
||||
/**
|
||||
* Defines the UID used for incidentd.
|
||||
* @hide
|
||||
|
||||
Reference in New Issue
Block a user