diff options
author | 2021-05-14 02:39:59 +0000 | |
---|---|---|
committer | 2021-05-14 03:22:55 +0000 | |
commit | 8e5f3b455afd2783788a6c68fbed37ce1ea36952 (patch) | |
tree | 018527b00e6312efad649ec16cd2948b8619124b /libs/binder/RpcState.cpp | |
parent | c3229abcc72519b381e40fd9223df333f67d6779 (diff) |
libbinder: introduce guards for getCalling*
Rein in the context! These "global" functions make sense sometimes, and
sometimes they make NO sense. Specifically, if you're going to make a
binder RPC call, you shouldn't be relying on getCalling* (silly!).
This is added as a generic mechanism in order that it might see more
use.
Bug: 186647790
Test: binderLibTest
Change-Id: I2145ad0e7dc44d257c25098160ad65086fa8cf21
Diffstat (limited to 'libs/binder/RpcState.cpp')
0 files changed, 0 insertions, 0 deletions