Can’t apply that type to a super!

Another compiling error as I work on getting Android Nougat on the TBLTEXX/TBLTETMO Samsung Galaxy Note Edge. This time, it will not allow me to return processUnsolicited(p) as a type under “super” like so:

[CODE]
super.processUnsolicited(p);
^
[/CODE]

So, I opened up build_cm14/device/samsung/tblte-common/ril/telephony/java/com/android/internal/telephony/tblteRIL.java and took a look, here is what I found:

[CODE]
@Override
protected void
processUnsolicited (Parcel p) {
Object ret;
int dataPosition = p.dataPosition(); // save off position within the Parcel
int response = p.readInt();
……………EDITED FOR SPACE……………..

// Forward responses that we are not overriding to the super class
super.processUnsolicited(p);
return;
}

}
[/CODE]

Which I changed to this after reviewing similar code for the JFLTETMO in their jflteRIL.java code:

[CODE]
@Override
protected void
processUnsolicited (Parcel p, int type) {
Object ret;
int dataPosition = p.dataPosition(); // save off position within the Parcel
int response = p.readInt();
……………EDITED FOR SPACE……………..

// Forward responses that we are not overriding to the super class
super.processUnsolicited(p, type);
return;
}

}
[/CODE]

Apperently, we needed to give it an integer named type to keep things flowing smoothly. I understand that well enough, but what confuses me is that this worked in Marshmallow, why does it not function in Nougat the way it was written before?

Linux – keep it simple.