There's things built into iOS and Android and the government does send them; but not for _every_ quake, only for the bigger ones, and if you're close to epicenter.
This wasn't big enough in Tokyo to send out one.