api-impl: misc stubs and fixes for Spotify

This commit is contained in:
Daniel Panero
2024-11-01 14:21:15 +01:00
committed by Mis012
parent 6dfd0d1d4b
commit e541d87fc2
14 changed files with 229 additions and 95 deletions

View File

@@ -97,6 +97,7 @@ public class Activity extends ContextThemeWrapper implements Window.Callback {
break;
}
}
app_label = r.getText(pkg.applicationInfo.labelRes);
if (label != null) {
setTitle(label);
@@ -568,4 +569,6 @@ public class Activity extends ContextThemeWrapper implements Window.Callback {
public static native void nativeOpenURI(String uri);
public native void nativeFileChooser(int action, String type, String title, int requestCode);
public void reportFullyDrawn() {}
public void setVisible(boolean visible) {}
public Uri getReferrer() { return null; }
}