summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Christopher Cameron <ccameron@google.com> 2023-09-26 09:09:51 +0000
committer John Reck <jreck@google.com> 2023-09-26 13:07:13 +0000
commit340f8b10080df7a258075e4e79bc4402fda5ddba (patch)
treec05c1b0d32e1e5a421208282429a41c281a7934d
parent4f12d6c65176712215e830f3d91eb2fa9c70ebcb (diff)
Remove use of SkGainmapInfo::Type
This is no longer used. Change-Id: I536c9dc8998820aea2ed27495a7fe271e8c7e616
-rw-r--r--libs/hwui/jni/Gainmap.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/hwui/jni/Gainmap.cpp b/libs/hwui/jni/Gainmap.cpp
index cec0ee7ee247..0fffee744be0 100644
--- a/libs/hwui/jni/Gainmap.cpp
+++ b/libs/hwui/jni/Gainmap.cpp
@@ -208,8 +208,6 @@ static void Gainmap_writeToParcel(JNIEnv* env, jobject, jlong nativeObject, jobj
p.writeFloat(info.fDisplayRatioHdr);
// base image type
p.writeInt32(static_cast<int32_t>(info.fBaseImageType));
- // type
- p.writeInt32(static_cast<int32_t>(info.fType));
#else
doThrowRE(env, "Cannot use parcels outside of Android!");
#endif
@@ -232,7 +230,6 @@ static void Gainmap_readFromParcel(JNIEnv* env, jobject, jlong nativeObject, job
info.fDisplayRatioSdr = p.readFloat();
info.fDisplayRatioHdr = p.readFloat();
info.fBaseImageType = static_cast<SkGainmapInfo::BaseImageType>(p.readInt32());
- info.fType = static_cast<SkGainmapInfo::Type>(p.readInt32());
fromJava(nativeObject)->info = info;
#else