implement Activity.isInMultiWindowMode()

This commit is contained in:
Julian Winkler
2024-12-20 17:32:53 +01:00
parent f9db8faebd
commit bf610d3504
3 changed files with 14 additions and 1 deletions

View File

@@ -575,5 +575,5 @@ public class Activity extends ContextThemeWrapper implements Window.Callback {
public Uri getReferrer() { return null; }
public void setDefaultKeyMode(int flag) {}
public void registerForContextMenu(View view) {}
public boolean isInMultiWindowMode() { return true; }
public native boolean isInMultiWindowMode();
}