mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Resumed activities should be marked as foreground
This commit is contained in:
@ -106,6 +106,7 @@ function initEvents() {
|
||||
|
||||
onActivityResumed: function (activity: any) {
|
||||
androidApp.paused = false;
|
||||
androidApp.foregroundActivity = activity;
|
||||
|
||||
if (activity === androidApp.foregroundActivity) {
|
||||
if (typedExports.onResume) {
|
||||
|
Reference in New Issue
Block a user