Proper use cases for Android UserManager.isUserAGoat()?

My Jang

New member
Mar 10, 2014
1
0
0
Visit site
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?
 

cheeta186

Well-known member
Nov 2, 2009
344
3
0
Visit site
I doubt it is used, there is a chance that's just an engineer somewhere over at Google messing with people who find it in the code. Or, it could be that it does something else that is in fact quite useful, however you'd never know it by the name and comments.

Sent from my Nexus 5 using AC Forums mobile app
 

Trending Posts

Forum statistics

Threads
944,595
Messages
6,923,474
Members
3,159,635
Latest member
AquavaMyalis90