diff options
author | 2023-11-29 21:39:29 -0800 | |
---|---|---|
committer | 2023-12-05 14:25:30 -0800 | |
commit | 8378013d7981e802787d25c25d7408363894c786 (patch) | |
tree | f472a29a21a7ee632cb8052f2cd6bb4ad64e0b43 /libs/binder/Parcel.cpp | |
parent | dec4e24b42232d50ce9701a73c8e3e1bc78108b6 (diff) |
Minor build-outside-android fixes
- add missing includes
- fix maybe_unused warning
- use LOG_ALWAYS_FATAL instead of __assert (behind flag)
Bug: 302723053
Test: mma in binder folder
Change-Id: I4e90ff7c7f37e6736bc38abaa11744ccf7155a17
Diffstat (limited to 'libs/binder/Parcel.cpp')
-rw-r--r-- | libs/binder/Parcel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp index 47e3f91ac2..0b94fa4be4 100644 --- a/libs/binder/Parcel.cpp +++ b/libs/binder/Parcel.cpp @@ -110,7 +110,7 @@ static std::atomic<size_t> gParcelGlobalAllocSize; constexpr size_t kMaxFds = 1024; // Maximum size of a blob to transfer in-place. -static const size_t BLOB_INPLACE_LIMIT = 16 * 1024; +[[maybe_unused]] static const size_t BLOB_INPLACE_LIMIT = 16 * 1024; enum { BLOB_INPLACE = 0, |