commit | 2758037adaab89c4866704e3541aade9094754aa | [log] [tgz] |
---|---|---|
author | skill <skill@google.com> | Mon Feb 25 11:49:44 2019 +0100 |
committer | Stanley Tng <stng@google.com> | Mon Mar 11 19:50:47 2019 +0000 |
tree | 24275fcbadc604e0c58569c1978bfc305d946d47 | |
parent | b12f1a825f59698124e8d16dcc2afb2c8cc72e35 [diff] |
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