diff options
| author | 2019-07-29 13:16:54 -0700 | |
|---|---|---|
| committer | 2019-07-29 13:16:54 -0700 | |
| commit | 459124638d7edcd36830f0b6d49e091aefddceb7 (patch) | |
| tree | 23d53cc8f072bbfa635a971e35fa13e815acfab4 | |
| parent | 081d87f3f22ec81fff4472a405de0ddba62ccc9e (diff) | |
| parent | da496c2eb2312310948909c2d08f4ee8fd809c0e (diff) | |
Merge "InputWindow: use read/writeStrongBinder" into stage-aosp-master
am: da496c2eb2
Change-Id: I2be51e3468ed692d1e2f36d30a1a259389e27cbe
| -rw-r--r-- | libs/input/InputWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/input/InputWindow.cpp b/libs/input/InputWindow.cpp index 5a60347ed3..ec28757933 100644 --- a/libs/input/InputWindow.cpp +++ b/libs/input/InputWindow.cpp @@ -99,7 +99,7 @@ status_t InputWindowInfo::write(Parcel& output) const { applicationInfo.write(output); output.write(touchableRegion); output.writeBool(replaceTouchableRegionWithCrop); - output.writeWeakBinder(touchableRegionCropHandle); + output.writeStrongBinder(touchableRegionCropHandle.promote()); return OK; } @@ -142,7 +142,7 @@ InputWindowInfo InputWindowInfo::read(const Parcel& from) { ret.applicationInfo = InputApplicationInfo::read(from); from.read(ret.touchableRegion); ret.replaceTouchableRegionWithCrop = from.readBool(); - ret.touchableRegionCropHandle = from.readWeakBinder(); + ret.touchableRegionCropHandle = from.readStrongBinder(); return ret; } |