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
src/api-impl: misc stubbing
This commit is contained in:
@@ -42,6 +42,10 @@ public class Activity extends Context {
|
||||
return new WindowManagerImpl();
|
||||
}
|
||||
|
||||
public String getCallingPackage() {
|
||||
return null; // [from api reference] Note: if the calling activity is not expecting a result (that is it did not use the startActivityForResult(Intent, int) form that includes a request code), then the calling package will be null.
|
||||
}
|
||||
|
||||
public ComponentName getComponentName() {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user