You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add Intent.setDataAndType() method
This commit is contained in:
@@ -272,4 +272,10 @@ public class Intent {
|
||||
public static Intent createChooser(Intent target, CharSequence title) {
|
||||
return target;
|
||||
}
|
||||
|
||||
public Intent setDataAndType(Uri uri, String type) {
|
||||
this.data = uri;
|
||||
this.type = type;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user