mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-13 03:41:19 +08:00
Merge branch 'LittleTurtle2333:main' into main
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
android:theme="@style/Theme.MyApplication">
|
||||
<activity
|
||||
android:name=".activity.SettingsActivity"
|
||||
android:exported="true">
|
||||
android:exported="true"
|
||||
android:launchMode="singleTop">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
|
||||
@@ -43,7 +43,12 @@ class SettingsActivity : AppCompatActivity() {
|
||||
} catch (exception: SecurityException) {
|
||||
AlertDialog.Builder(this)
|
||||
.setMessage("您似乎正在使用过时的 LSPosed 版本或 LSPosed 未激活,请更新 LSPosed 或者激活后再试。")
|
||||
.setCancelable(false)
|
||||
.setPositiveButton("确定", DialogInterface.OnClickListener { dialogInterface, i ->
|
||||
android.os.Process.killProcess(android.os.Process.myPid())
|
||||
})
|
||||
.show()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user