diff options
| author | 2023-10-04 15:10:39 -0700 | |
|---|---|---|
| committer | 2023-10-25 14:17:26 -0700 | |
| commit | 1715bac153cc8c0ac78b29074e9c590384426c5d (patch) | |
| tree | 0952f1f8fad743be8247f099a3687d8b906c7ffe /libs/permission/AppOpsManager.cpp | |
| parent | cdc9315db0745bc883f248f5ebf34b047ee83494 (diff) | |
NativeWindow: implement functions expected by AIDL
ANativeWindow is now parcelable over stable interfaces by being
wrapped in NativeWindow or Surface. The readFromParcel and
writeToParcel functions are implemented for this class, but
AIDL also expects some comparators and a toString function
to be implemented for custom parcelables.
This CL implements the comparison operators, and the toString
function to allow NativeWindow/Surface to be used with AIDL
interfaces and Parcelables. The operations simply
compare/print the ANativeWindow pointer that is being managed
by the object.
Bug: 283283111
Test: Verified that Surface can be used in an AIDL file.
Change-Id: I28ceded9ee1358884a6b1214269bb04a90749fc0
Diffstat (limited to 'libs/permission/AppOpsManager.cpp')
0 files changed, 0 insertions, 0 deletions