Don't validate BLUETOOTH_PRIVILEGED permission every time the restricted
handler is notified via onNotify callback. Instead cache that permission
if granted.

This is possible because permissions cannot be revoked at run time
without killing the process.

Test: manual testing
Change-Id: I8aa150cdd481cff7d18f5f5937d08a075287adbc
2 files changed