[automerger skipped] Add permission check on onKeyguardVisibilityChanged am: aad9178b57 -s ours

am skip reason: Change-Id Idb8a200dc2963e1085e9fddd0c565c5172465e65 with SHA-1 21f452c372 is in history

Change-Id: I033f6086e462c4324ad64e95559a1c4bce692235