commit | 5ea54dab99550e00fdc80cd1e8bb2a07c95f4014 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Sep 04 13:29:55 2018 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue Sep 04 13:33:18 2018 -0700 |
tree | f1e63445de7cb0f9d9f2bd7156392b321f683933 | |
parent | 71cddc3c7f8a6bf6791643598e80b6f76bbef475 [diff] |
libbinder_ndk: make AIBinder_isRemote const. It's a C function, so it is not const, but it now takes a const AIBinder object. There isn't a way to do a check on a const IBinder if it is remote. We could store the isRemote status as a member of AIBinder to avoid this, but this would be wasted space. A const isRemote method can't be added to IBinder for legacy reasons. Bug: 111445392 Test: ./ndk/runtests.sh Change-Id: I72df61e429e06e24dcffd4158447670ec1b41d7a