diff options
author | 2019-08-01 15:48:43 -0700 | |
---|---|---|
committer | 2019-08-02 20:34:19 -0700 | |
commit | bec7c58e8c98d4517296e7001dbafe414a993f2e (patch) | |
tree | 70058a0b5d432711615a7061df2bd40135170ca5 | |
parent | dea3cf9157146ceba20bfbeb60783b314c7d0c31 (diff) |
Keep Parcel size stable.
The size of 32-bit on arm 'Parcel' was accidentally changed. Fix this by
making stability 16-bits (there is not enough space in Parcel right now
to keep the 32-bit mask without combining some of the bools). This broke
a device in internal master with some 32-bit prebuilts.
Bug: 137348710
Test: TH
Test: boots on broken device
Merged-In: Ifd9aa07ae359557ff94b600c1b64bb565be85dc2
Change-Id: Ifd9aa07ae359557ff94b600c1b64bb565be85dc2
-rw-r--r-- | libs/binder/include/binder/Stability.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/include/binder/Stability.h b/libs/binder/include/binder/Stability.h index 77f066748d..487f480d0e 100644 --- a/libs/binder/include/binder/Stability.h +++ b/libs/binder/include/binder/Stability.h @@ -45,7 +45,7 @@ private: // up the efficiency level of a binder object. So, we expose the underlying type. friend ::android::Parcel; - enum Level : int32_t { + enum Level : int16_t { UNDECLARED = 0, VENDOR = 0b000011, |