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: stubs and fixes for Compose Stopwatch and LibreSudoku
This commit is contained in:
@@ -231,8 +231,8 @@ public class Context extends Object {
|
||||
}
|
||||
}
|
||||
|
||||
public final <T> T getSystemService(Class<T> serviceClass) {
|
||||
return null;
|
||||
public final Object getSystemService(Class<?> serviceClass) throws InstantiationException, IllegalAccessException, InvocationTargetException {
|
||||
return serviceClass.getConstructors()[0].newInstance();
|
||||
}
|
||||
|
||||
public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) {
|
||||
|
||||
Reference in New Issue
Block a user