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

Commit 7fdee829 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_ndk: mv host tip to binder_status.h

This ifdef warning w/ hint for NDK host users was in binder_ibinder.h.
However, since binder_status.h is always included first, moving it
there.

Fixes: 183160548
Test: N/A
Change-Id: Icd00c7769130026980d6d55fb9bc77b8561e59b3
parent 503a8d68
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -36,11 +36,6 @@


__BEGIN_DECLS
__BEGIN_DECLS


#ifndef __ANDROID_API__
#error Android builds must be compiled against a specific API. If this is an \
 android platform host build, you must use libbinder_ndk_host_user.
#endif

typedef uint32_t binder_flags_t;
typedef uint32_t binder_flags_t;
enum {
enum {
    /**
    /**
+5 −0
Original line number Original line Diff line number Diff line
@@ -32,6 +32,11 @@


__BEGIN_DECLS
__BEGIN_DECLS


#ifndef __ANDROID_API__
#error Android builds must be compiled against a specific API. If this is an \
 android platform host build, you must use libbinder_ndk_host_user.
#endif

/**
/**
 * Low-level status types for use in binder. This is the least preferable way to
 * Low-level status types for use in binder. This is the least preferable way to
 * return an error for binder services (where binder_exception_t should be used,
 * return an error for binder services (where binder_exception_t should be used,