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

Commit 340f8b10 authored by Christopher Cameron's avatar Christopher Cameron Committed by John Reck
Browse files

Remove use of SkGainmapInfo::Type

This is no longer used.

Change-Id: I536c9dc8998820aea2ed27495a7fe271e8c7e616
parent 4f12d6c6
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -208,8 +208,6 @@ static void Gainmap_writeToParcel(JNIEnv* env, jobject, jlong nativeObject, jobj
    p.writeFloat(info.fDisplayRatioHdr);
    p.writeFloat(info.fDisplayRatioHdr);
    // base image type
    // base image type
    p.writeInt32(static_cast<int32_t>(info.fBaseImageType));
    p.writeInt32(static_cast<int32_t>(info.fBaseImageType));
    // type
    p.writeInt32(static_cast<int32_t>(info.fType));
#else
#else
    doThrowRE(env, "Cannot use parcels outside of Android!");
    doThrowRE(env, "Cannot use parcels outside of Android!");
#endif
#endif
@@ -232,7 +230,6 @@ static void Gainmap_readFromParcel(JNIEnv* env, jobject, jlong nativeObject, job
    info.fDisplayRatioSdr = p.readFloat();
    info.fDisplayRatioSdr = p.readFloat();
    info.fDisplayRatioHdr = p.readFloat();
    info.fDisplayRatioHdr = p.readFloat();
    info.fBaseImageType = static_cast<SkGainmapInfo::BaseImageType>(p.readInt32());
    info.fBaseImageType = static_cast<SkGainmapInfo::BaseImageType>(p.readInt32());
    info.fType = static_cast<SkGainmapInfo::Type>(p.readInt32());


    fromJava(nativeObject)->info = info;
    fromJava(nativeObject)->info = info;
#else
#else