ActivityManager | isUserAMonkey()
public static boolean isUserAMonkey
Added in API level 8
Returns "true" if the user interface is currently being messed with by a monkey.
Update: There are more:
public void fyiWillBeAdvancedByHostKThx ()
Added in API level 11
Called by an AppWidgetHost to indicate that it will be automatically advancing the views of this AdapterViewFlipper by calling advance() at some point in the future. This allows AdapterViewFlipper to prepare by no longer Advancing its children.
public boolean isUserAGoat ()
Added in API level 17
Used to determine whether the user making this call is subject to teleportations.
Returns whether the user making this call is a goat
2013-08-15