Proper use cases for Android UserManager.isUserAGoat()?
Asked 07 September, 2021
Viewed 2.2K times
  • 58
Votes

I was looking at the new APIs introduced in Android 4.2. While looking at the UserManager class I came across the following method:


public boolean isUserAGoat()

Used to determine whether the user making this call is subject to teleportations.

Returns whether the user making this call is a goat.

How and when should this be used?

11 Answer