commit | 44e19a0ad7987ac4bf53fbe7a314c1a008079839 | [log] [tgz] |
---|---|---|
author | Emilian Peev <epeev@google.com> | Thu Apr 12 14:21:20 2018 +0100 |
committer | Emilian Peev <epeev@google.com> | Thu Apr 12 14:21:20 2018 +0100 |
tree | 61000ccedb82953f12374d0e2aba3da037b5d6e1 | |
parent | 682ca4122d24d56a55cc821cbe12e99886ae8ff9 [diff] |
CameraProxy: Clear calling identity before scheduling Camera statistics job scheduling cannot be triggered by native camera service UID. Clear the binder calling identity before trying to schedule any jobs. In addition to that check also the binder calling UID value itself and make sure we are being called by camera service. Bug: 77818243 Test: Camera CTS Change-Id: I5d94671eaf0eb41b5d06abf10494b9e7dc172db5