Add a function that minimizes the Android app (#692)
Add a function that minimizes the Android app
This commit is contained in:
parent
db8d966fac
commit
c6e6f2ae84
7 changed files with 25 additions and 0 deletions
|
|
@ -209,6 +209,11 @@ void AndroidController::setScreenshotsEnabled(bool enabled)
|
|||
callActivityMethod("setScreenshotsEnabled", "(Z)V", enabled);
|
||||
}
|
||||
|
||||
void AndroidController::minimizeApp()
|
||||
{
|
||||
callActivityMethod("minimizeApp", "()V");
|
||||
}
|
||||
|
||||
// Moving log processing to the Android side
|
||||
jclass AndroidController::log;
|
||||
jmethodID AndroidController::logDebug;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue