It looks like there's no guarantee that the context defined on the Application will be used by the Activity, so it's better to set the theme on the Activity itself. PiperOrigin-RevId: 285241791
PiperOrigin-RevId: 267504117
PiperOrigin-RevId: 249243403
PiperOrigin-RevId: 243054730