Conversation

It returns true when the app is being operated by a "monkey" script that clicks buttons at random This is a common QA term but what's odd, if you think about it is on Android it returns the opposite of truth Literally speaking it's only true when a monkey is *not* using the app
3
60
. suggested they could disambiguate with separate "isUserAMonkey()" and "isUserAnApe()" functions Possibly implement one in terms of the other bool isUserAMonkey() { return !isUserAnApe(); }
3
29
Replying to and
developer.android.com/studio/test/mo is the monkey. It's actually a pretty smart fuzzer and if you use testing channels on the Play Store (or upload to Firebase manually) they run it against your app on a bunch of devices, check for crashes, jank, etc. and let you see the videos. It's neat.
1
8
There's also DISALLOW_FUN there as one of the user restrictions. Most of those are only exposed in AOSP via device policy managers set as device or profile owners. May be less a joke and more them making fun of companies which wanted to disable the Android version easter egg.
1
16
Show replies