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

Commit ef565c43 authored by Martijn Coenen's avatar Martijn Coenen
Browse files

Fix NdefRecord byte-stream constructor.

Bug: 5601404
Change-Id: I30fada97487829a8b2ccc1a1e7a32837c29ddd70
parent 0946fe5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ static jint android_nfc_NdefRecord_parseNdefRecord(JNIEnv *e, jobject o,

    /* Set flags field */
    mFlags = e->GetFieldID(record_cls, "mFlags", "B");
    e->SetIntField(o, mFlags, record.Flags);
    e->SetByteField(o, mFlags, record.Flags);

    ret = 0;