Signed-off-by: androidacy-user <opensource@androidacy.com>
pull/102/head
androidacy-user 2 years ago
parent 2900b41850
commit 4bb2fbd04d

@ -59,8 +59,8 @@ class AndroidacyWebAPI(
* return current effective compat mode
*/
@get:JavascriptInterface
var effectiveCompatMode = 1
var notifiedCompatMode = 1
var effectiveCompatMode = 0
var notifiedCompatMode = 0
fun forceQuitRaw(error: String?) {
Toast.makeText(activity, error, Toast.LENGTH_LONG).show()
activity.runOnUiThread { activity.finish() }
@ -558,4 +558,4 @@ class AndroidacyWebAPI(
const val COMPAT_DOWNLOAD = 1
private const val MAX_COMPAT_MODE = 1
}
}
}

Loading…
Cancel
Save