commit | 017f3a1ca63abc4fe4356131fa4e266be79d7912 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Jul 01 20:16:54 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jul 01 20:16:54 2020 +0000 |
tree | 73619657af71c083fac94f30851b87f79bc272aa | |
parent | e58c2c57e8fd9b31f4782bb7e0e7fd47f8945905 [diff] | |
parent | 066ff58724e2750390f8650c6cded3be26a988e1 [diff] |
Merge "binder parcel: restrict on APEX" am: 066ff58724 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1320220 Change-Id: I67ff5c6d3721fe7b97cbe70d2c121c0d8f5f23f7
diff --git a/libs/binder/ndk/include_platform/android/binder_parcel_platform.h b/libs/binder/ndk/include_platform/android/binder_parcel_platform.h index ac46cb8..114a781 100644 --- a/libs/binder/ndk/include_platform/android/binder_parcel_platform.h +++ b/libs/binder/ndk/include_platform/android/binder_parcel_platform.h
@@ -20,6 +20,10 @@ __BEGIN_DECLS +#if defined(__ANDROID_APEX__) || defined(__ANDROID_VNDK__) +#error this is only for platform code +#endif + /** * Gets whether or not FDs are allowed by this AParcel * @@ -29,4 +33,4 @@ */ bool AParcel_getAllowFds(const AParcel*); -__END_DECLS \ No newline at end of file +__END_DECLS