commit | 0563e3b1f48bedcd59addf9de7209e3958a65748 | [log] [tgz] |
---|---|---|
author | Ruchir Rastogi <ruchirr@google.com> | Tue Jan 28 17:43:13 2020 -0800 |
committer | Ruchir Rastogi <ruchirr@google.com> | Thu Jan 30 18:18:33 2020 -0800 |
tree | 28692a10ad532dc717dcb6b8e2ca0df6c06e5003 | |
parent | e0206059a14c63cf0c60dd39195208b8aa99635a [diff] |
statsd checks permissions using SCS The checkCallingPermission function is not supported by libbinder_ndk. To circumvent this issue, statsd will now ask StatsCompanionService (SCS) to do that check using a synchronous Binder call. Once libbinder_ndk does support checkCallingPermission, this workaround will be unnecessary. Test: m -j Test: atest GtsStatsdHostTestCases Bug: 145566180 Change-Id: I11f0e82f88aa5921cf531fd041b0a18d3a26a0a0