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 more APIs needed for NewPipe
This commit is contained in:
12
src/api-impl/android/content/ClipData.java
Normal file
12
src/api-impl/android/content/ClipData.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package android.content;
|
||||
|
||||
public class ClipData {
|
||||
|
||||
String text;
|
||||
|
||||
public static ClipData newPlainText(CharSequence label, CharSequence text) {
|
||||
ClipData clip = new ClipData();
|
||||
clip.text = text.toString();
|
||||
return clip;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user