add more API stubs for NewPipe

This commit is contained in:
Julian Winkler 2023-09-19 23:22:21 +02:00
parent 2013024971
commit c830abc5f3
34 changed files with 310 additions and 23 deletions

View file

@ -10,6 +10,7 @@ public class Intent {
private Bundle extras = new Bundle();
private String action;
private Uri data;
private int flags;
public Intent() {}
public Intent(Intent o) {
@ -34,11 +35,13 @@ public class Intent {
}
public Intent addFlags(int flags) {
return this; //??
this.flags |= flags;
return this;
}
public Intent setFlags(int flags) {
return this; //??
this.flags = flags;
return this;
}
public Intent setPackage(String packageName) {
return this; //??
@ -206,7 +209,7 @@ public class Intent {
}
public String getAction() {
return null;
return action;
}
public Bundle getBundleExtra(String name) {
@ -259,4 +262,8 @@ public class Intent {
return target;
}
public int getFlags() {
return flags;
}
}