From 022151fefd9e2c20c6992dc275bed88a05a5de31 Mon Sep 17 00:00:00 2001 From: Fox2Code <42963271+Fox2Code@users.noreply.github.com> Date: Mon, 10 Feb 2020 10:08:53 +0000 Subject: [PATCH] Prevent fake clicks on SuRequest --- .../magisk/legacy/surequest/SuRequestActivity.kt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/legacy/surequest/SuRequestActivity.kt b/app/src/main/java/com/topjohnwu/magisk/legacy/surequest/SuRequestActivity.kt index a1ced5143..edb04f82c 100644 --- a/app/src/main/java/com/topjohnwu/magisk/legacy/surequest/SuRequestActivity.kt +++ b/app/src/main/java/com/topjohnwu/magisk/legacy/surequest/SuRequestActivity.kt @@ -6,6 +6,7 @@ import android.content.res.Resources import android.os.Build import android.os.Bundle import android.view.Window +import android.view.WindowManager import com.topjohnwu.magisk.R import com.topjohnwu.magisk.core.su.SuCallbackHandler import com.topjohnwu.magisk.core.su.SuCallbackHandler.REQUEST @@ -32,6 +33,8 @@ open class SuRequestActivity : BaseUIActivity