diff options
author | Mathew Inwood <mathewi@google.com> | 2018-08-16 18:40:47 +0100 |
---|---|---|
committer | Mathew Inwood <mathewi@google.com> | 2018-08-16 18:40:47 +0100 |
commit | e420f8b5fb9451412767a4920bd02219e5423f43 (patch) | |
tree | 18428ef8a42208fb9b8911e9c84e829bad906f59 /keystore/java/android/security/GateKeeper.java | |
parent | 1e14f9f92a35e61c24ec53410740e588e4ba8b39 (diff) |
Add @UnsupportedAppUsage annotations
For packages:
android.security.net.config
android.security.keystore
android.security.keymaster
android.security
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: I7762dd647bede8abc9be2c538af3a3a99a25a73e
Diffstat (limited to 'keystore/java/android/security/GateKeeper.java')
-rw-r--r-- | keystore/java/android/security/GateKeeper.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keystore/java/android/security/GateKeeper.java b/keystore/java/android/security/GateKeeper.java index 03df5de9b484..a50ff7984341 100644 --- a/keystore/java/android/security/GateKeeper.java +++ b/keystore/java/android/security/GateKeeper.java @@ -16,6 +16,7 @@ package android.security; +import android.annotation.UnsupportedAppUsage; import android.content.Context; import android.os.RemoteException; import android.os.ServiceManager; @@ -42,6 +43,7 @@ public abstract class GateKeeper { return service; } + @UnsupportedAppUsage public static long getSecureUserId() throws IllegalStateException { try { return getService().getSecureUserId(UserHandle.myUserId()); |