Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 520b9e44 authored by Steven Moreland's avatar Steven Moreland
Browse files

binder parcel: restrict on APEX

This is platform-only, so we should provide a nice error message for
APEX includes.

Bug: N/A
Test: N/A
Change-Id: I4b0a169baaa342797975fd46dbf83d07fc5a06ff
parent 839fc143
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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
 *