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
api-impl: misc stubs for K-9 Mail
This makes the non composeUI parts of K-9 Mail mostly functional.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
package android.os;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class Parcel {
|
||||
|
||||
public static Parcel obtain() {
|
||||
@@ -55,4 +58,26 @@ public class Parcel {
|
||||
public int dataSize() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void writeStringList(List<String> list) {
|
||||
System.out.println("Parcel.writeStringList(" + list + ")");
|
||||
}
|
||||
|
||||
public void unmarshall(byte[] data, int offset, int length) {}
|
||||
|
||||
public String readString() {
|
||||
return "fixme: Parcel.readString()";
|
||||
}
|
||||
|
||||
public byte readByte() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public ArrayList<String> createStringArrayList() {
|
||||
return new ArrayList<String>();
|
||||
}
|
||||
|
||||
public Parcelable readParcelable(ClassLoader loader) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user