commit | 8e5f3b455afd2783788a6c68fbed37ce1ea36952 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri May 14 02:39:59 2021 +0000 |
committer | Steven Moreland <smoreland@google.com> | Fri May 14 03:22:55 2021 +0000 |
tree | 018527b00e6312efad649ec16cd2948b8619124b | |
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