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 some missing APIs.
android.widget.Filter and android.webkit.MimeTypeMap are copied from AOSP. Other new classes are only stub implementations.
This commit is contained in:
@@ -307,7 +307,7 @@ public class KeyCharacterMap {
|
||||
}
|
||||
}
|
||||
return inputDevice.getKeyCharacterMap();*/
|
||||
return null;
|
||||
return new KeyCharacterMap(0);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -609,7 +609,8 @@ public class KeyCharacterMap {
|
||||
* @return The keyboard type.
|
||||
*/
|
||||
public int getKeyboardType() {
|
||||
return nativeGetKeyboardType(mPtr);
|
||||
return FULL;
|
||||
// return nativeGetKeyboardType(mPtr);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user