Android app wrongly assumes device is not PIN/pattern/fingerprint protected