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 and fixes
This commit is contained in:
@@ -238,6 +238,8 @@ public class Context extends Object {
|
||||
return new JobScheduler();
|
||||
case "appops":
|
||||
return new AppOpsManager();
|
||||
case "user":
|
||||
return new UserManager();
|
||||
default:
|
||||
Slog.e(TAG, "!!!!!!! getSystemService: case >" + name + "< is not implemented yet");
|
||||
return null;
|
||||
@@ -717,4 +719,9 @@ public class Context extends Object {
|
||||
return new String[0];
|
||||
}
|
||||
}
|
||||
|
||||
public Context createDeviceProtectedStorageContext() {
|
||||
/* FIXME: should be a different context, and return different storage locations */
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user