mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Add stubs
This commit is contained in:
@@ -15,31 +15,30 @@
|
||||
package android.app;
|
||||
|
||||
import android.annotation.Nullable;
|
||||
import android.content.ComponentCallbacks2;
|
||||
import android.content.Context;
|
||||
import android.content.res.Configuration;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
|
||||
public class Fragment {
|
||||
|
||||
public class Fragment implements ComponentCallbacks2 {
|
||||
public static class SavedState implements Parcelable {
|
||||
|
||||
@Override
|
||||
public void writeToParcel(Parcel dest, int flags) {}
|
||||
|
||||
@Override
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToParcel(Parcel dest, int flags) {}
|
||||
|
||||
}
|
||||
|
||||
static public class InstantiationException {
|
||||
public InstantiationException(String msg, Exception cause) {}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public Fragment() {}
|
||||
|
||||
public static Fragment instantiate(Context context, String fname) {
|
||||
@@ -65,4 +64,13 @@ public class Fragment {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onConfigurationChanged(Configuration p0) {}
|
||||
|
||||
@Override
|
||||
public void onLowMemory() {}
|
||||
|
||||
@Override
|
||||
public void onTrimMemory(int p0) {}
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user