mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Fix tests disrupted by re-modelling and stubbing Android 9:
* Account for changed dataflow graph shape using external flow * Account for BaseBundle only existing as of Android 5 * Properly implement Parcelable, which we previously got away with due to a partial stub * Restore an Android 11 function that had been added to the Android 9 Context class (I won't get into enforcing the difference in this PR)
This commit is contained in:
@@ -21,6 +21,9 @@ public class ParcelableEntity implements Parcelable {
|
||||
parcel.writeString(GSON.toJson(obj));
|
||||
}
|
||||
|
||||
@Override
|
||||
public int describeContents() { return 0; }
|
||||
|
||||
public static final Parcelable.Creator CREATOR = new Creator<ParcelableEntity>() {
|
||||
@Override
|
||||
public ParcelableEntity createFromParcel(Parcel parcel) {
|
||||
|
||||
Reference in New Issue
Block a user