logoalt Hacker News

objclxt06/16/20251 replyview on HN

> How the hell did this pass code review? Are booleans strings on Android?

You are misreading the documentation, it's a key/value API.

`DISALLOW_FUN` is the string key you pass to `setUserRestriction`, which takes a boolean value.


Replies

uncircle06/16/2025

That makes more sense. Thanks.

show 1 reply