Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4ab16ad authored by Dan Morrill's avatar Dan Morrill
Browse files

New method returning user metadata.

Change-Id: Ic1a42cf54152fe2e6bcd01b1bd9f1edb77d1710e
parent 957fadc5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16592,6 +16592,7 @@ package android.os {
  public class UserManager {
    method public java.lang.String getUserName();
    method public boolean isUserAGoat();
  }
  public abstract class Vibrator {
+9 −0
Original line number Diff line number Diff line
@@ -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.