News for hackers. Stuff that matters.
Re:Jokes and Humour in the Public Android API by TrianguloY on Monday June 16, 2025 @02:09AM (#44287017)
If you want to test the isUserAGoat and isUserAMonkey on you own device, I published this small app that does just that: https://play.google.com/store/apps/details?id=com.trianguloy...

Maybe I can add these other easter eggs...

Re:Jokes and Humour in the Public Android API by mixermachine on Monday June 16, 2025 @03:15AM (#44287297)
On my device with Android 15 I can't install your app. Google enforces a minimum compielSdk now. Maybe you can upgrade it in your build :)?
Re:Jokes and Humour in the Public Android API by itsTyrion on Monday June 16, 2025 @09:50AM (#44289490)
If you check the app description, there's a GitHub link, which in turn has an f-droid link you can use.

But you're not missing out since `isUserAGoat()` will return false on Android >=11 anyway and `isUserAMonkey()` will return true if and only if you're using the monkey test suite.

Re:Jokes and Humour in the Public Android API by ROllerozxa on Monday June 16, 2025 @10:52AM (#44290157)
That would be quite fun, especially if you would have some thing that checks the DISALLOW_FUN policy. While doing a quick search on GitHub while reading the blog post to see if any Android apps with available source code were using it, all that came up were repositories containing code for the system Settings app locking away the version easter egg based on it. You might become the first third-party to use it!