getActionMasked() substitues getAction()