Skip to content

Commit

Permalink
Merge branch 'main' into keyboard/show-hide-events
Browse files Browse the repository at this point in the history
  • Loading branch information
theproducer committed Jan 18, 2024
2 parents e07291d + f69604e commit 6214f2d
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,7 @@ public void getState(PluginCall call) {

@PluginMethod
public void minimizeApp(PluginCall call) {
Intent startMain = new Intent(Intent.ACTION_MAIN);
startMain.addCategory(Intent.CATEGORY_HOME);
startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
getActivity().startActivity(startMain);
getActivity().moveTaskToBack(true);
call.resolve();
}

Expand Down

0 comments on commit 6214f2d

Please sign in to comment.