If action is null (observed on some old devices) we'll get an exception. Reversing the check fixes it since Actions.XXX is statically defined.