src/api-impl: misc stubbing

This commit is contained in:
Mis012
2022-12-31 16:59:15 +01:00
parent 2a7345e44e
commit 9a3b5b21b6
4 changed files with 25 additions and 0 deletions

View File

@@ -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;
}