commit | 3c316eda4494df9045d67a4231388513824aa19c | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Jan 17 09:39:37 2019 -0800 |
committer | Steven Moreland <smoreland@google.com> | Thu Jan 17 09:43:01 2019 -0800 |
tree | 1a291559aed85bab1cf7915bc754df170b133f9c | |
parent | cfc85f41338e7bf32f97bce25a50872051ed5567 [diff] |
Split readFromParcel into fromBinder. Before, readFromParcel figures out if the item in question is local or remote and returns the appropriate object based on that. This avoids wrapping a local object with a proxy when possible (and so, it prevents parceling code locally in a process). Bug: 111445392 Test: atest android.binder.cts Change-Id: I87a2ba53f539e0fea08d4e27315b33607dedf927