mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +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:
19
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ModuleInfo.java
generated
Normal file
19
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ModuleInfo.java
generated
Normal file
@@ -0,0 +1,19 @@
|
||||
// Generated automatically from android.content.pm.ModuleInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class ModuleInfo implements Parcelable
|
||||
{
|
||||
public CharSequence getName(){ return null; }
|
||||
public String getPackageName(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public boolean isHidden(){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static Parcelable.Creator<ModuleInfo> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
Reference in New Issue
Block a user