Avatar ·

What is UserManager.isUserAGoat() for in Android and how to use it correctly?

Hi everyone! I'm a beginner Android developer, writing my first expense tracking app. The other day I came across the `UserManager.isUserAGoat()` method in the documentation. The method signature looks like this: ```java public boolean isUserAGoat() ``` The method returns a `boolean` and, judging by the name, checks whether the user is a "goat". At first I thought it was a joke or a typo, but the method actually exists in the Android SDK starting from API 21. I tried calling it in my app: ```java UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); boolean isGoat = userManager.isUserAGoat(); Log.d("GoatCheck", "User is a goat? " + isGoat); ``` On the emulator it always returns `false`. On a real device — also `false`. I still don't understand in which