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:
Julian Winkler
2023-09-01 12:55:04 +02:00
parent 6c2a3adae6
commit 97f8c2ed0f
30 changed files with 1165 additions and 38 deletions

View File

@@ -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);
}
/**