Expose appInForeground to Java for MainActivity lifecycle updates.
This commit is contained in:
1 parent
ca889f2eec
commit
86dc7f849a
1 file changed
+2
-1
@@ -948,7 +948,8 @@ class MatrixSyncService : Service() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set by [SyncServicePlugin] — true when the Capacitor WebView UI is visible. */
|
/** Set by [SyncServicePlugin] / [MainActivity] — true when the Capacitor UI is visible. */
|
||||||
|
@JvmField
|
||||||
@Volatile
|
@Volatile
|
||||||
var appInForeground = false
|
var appInForeground = false
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user