Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -16593,6 +16593,7 @@ package android.os { public class UserManager { method public java.lang.String getUserName(); method public boolean isUserAGoat(); } public abstract class Vibrator { core/java/android/os/UserManager.java +9 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,15 @@ public class UserManager { } } /** * Used to determine whether the user making this call is subject to * teleportations. * @return whether the user making this call is a goat */ public boolean isUserAGoat() { return false; } /** * Returns the UserInfo object describing a specific user. * Requires {@link android.Manifest.permission#MANAGE_USERS} permission. Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -16593,6 +16593,7 @@ package android.os { public class UserManager { method public java.lang.String getUserName(); method public boolean isUserAGoat(); } public abstract class Vibrator {
core/java/android/os/UserManager.java +9 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,15 @@ public class UserManager { } } /** * Used to determine whether the user making this call is subject to * teleportations. * @return whether the user making this call is a goat */ public boolean isUserAGoat() { return false; } /** * Returns the UserInfo object describing a specific user. * Requires {@link android.Manifest.permission#MANAGE_USERS} permission. Loading