logoalt Hacker News

tetromino_06/16/20252 repliesview on HN

My favorite funny function in the Android source is android.os.Handler.runWithScissors() [1] - but (unfortunately) it is not part of the public API.

[1] https://android.googlesource.com/platform/frameworks/base/+/...


Replies

ROllerozxa06/16/2025

> @hide This method is prone to abuse and should probably not be in the API. If we ever do make it part of the API, we might want to rename it to something less funny like runUnsafe().

:D

Sohcahtoa8206/16/2025

I was looking for this in TFA. Sad it wasn't included, as it's one of my favorites.

show 1 reply