ui: fix android_secure checks

Change-Id: I799f88091c82905b63047b6131962511f79823e9