Skip to main content
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Required fields*

Proper use cases for Android UserManager.isUserAGoat()?

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?

Answer*

Cancel
12
  • 120
    Theory: Goats are found in all kinds of precarious places, like sheer cliffs, possibly bucking location trends they get from regular non-goat users. Might explain "teleportations", which could be goats appearing to wildly relocate as the software tries to determine their location with algos designed for non-goats.
    tedders
    –  tedders
    2012-11-14 12:58:36 +00:00
    Commented Nov 14, 2012 at 12:58
  • 14
    @LarsH - the source for one.
    djechlin
    –  djechlin
    2012-11-14 20:07:01 +00:00
    Commented Nov 14, 2012 at 20:07
  • 65
    This is a history lesson, not an answer. Even if it is an Easter egg, is there a valid use case for it? Being an Easter egg doesn't preclude it from being useful, and you've not shown whether it is or is not useful.
    casperOne
    –  casperOne
    2012-11-14 20:26:37 +00:00
    Commented Nov 14, 2012 at 20:26
  • 53
    That's a real app.
    Kevin Krumwiede
    –  Kevin Krumwiede
    2015-02-21 08:07:45 +00:00
    Commented Feb 21, 2015 at 8:07
  • 242
    I feel bad for anyone who cheekily used this function, expecting it to return false forever.
    Martin Konecny
    –  Martin Konecny
    2015-04-27 05:11:45 +00:00
    Commented Apr 27, 2015 at 5:11

Morty Proxy This is a proxified and sanitized view of the page, visit original site.