mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-30 05:07:58 +03:00
add more APIs needed for NewPipe
This commit is contained in:
parent
b3c0023a45
commit
276b5ca7ef
40 changed files with 768 additions and 50 deletions
|
@ -278,4 +278,16 @@ public class Intent {
|
|||
this.type = type;
|
||||
return this;
|
||||
}
|
||||
|
||||
public long getLongExtra(String name, long def) {
|
||||
return extras.getLong(name, def);
|
||||
}
|
||||
|
||||
public char getCharExtra(String name, char def) {
|
||||
return extras.getChar(name, def);
|
||||
}
|
||||
|
||||
public Parcelable[] getParcelableArrayExtra(String name) {
|
||||
return extras.getParcelableArray(name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue