summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-12-18 10:26:57 -0800
committerJeff Sharkey <jsharkey@android.com>2015-01-14 10:58:52 -0800
commit0c1f5cbb8a41d19195ab49dcfeb5caaea2d3fcda (patch)
treefa0ab7fe8fe97a5c4f7b7bdc9e7ff778b7a42b0d
parentaec922426620804768f00a6c5cb902f278f2967f (diff)
downloadframeworks_native-0c1f5cbb8a41d19195ab49dcfeb5caaea2d3fcda.zip
frameworks_native-0c1f5cbb8a41d19195ab49dcfeb5caaea2d3fcda.tar.gz
frameworks_native-0c1f5cbb8a41d19195ab49dcfeb5caaea2d3fcda.tar.bz2
Follow StrictMode refactoring.
Bug: 18335678 Change-Id: Iea920cfa26b5ebfd77b4601c9e6e65b21599342a
-rw-r--r--libs/binder/Parcel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp
index c526399..80c5d7e 100644
--- a/libs/binder/Parcel.cpp
+++ b/libs/binder/Parcel.cpp
@@ -56,7 +56,7 @@
#define PAD_SIZE(s) (((s)+3)&~3)
// Note: must be kept in sync with android/os/StrictMode.java's PENALTY_GATHER
-#define STRICT_MODE_PENALTY_GATHER 0x100
+#define STRICT_MODE_PENALTY_GATHER (0x40 << 16)
// Note: must be kept in sync with android/os/Parcel.java's EX_HAS_REPLY_HEADER
#define EX_HAS_REPLY_HEADER -128