mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-13 03:41:19 +08:00
@@ -13,7 +13,6 @@
|
||||
<activity
|
||||
android:name=".activity.SettingsActivity"
|
||||
android:exported="true"
|
||||
android:screenOrientation="portrait"
|
||||
android:launchMode="singleTop">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
@@ -10,7 +10,7 @@ object UnlockUnlimitedCropping : HookRegister() {
|
||||
override fun init() {
|
||||
//截图无限裁切
|
||||
findMethod("com.miui.gallery.editor.photo.screen.crop.ScreenCropView\$b") {
|
||||
name == "a"
|
||||
name == "a" && parameterCount == 0 && returnType == Int::class.java
|
||||
}.hookBefore {
|
||||
hasEnable("unlock_unlimited_cropping") {
|
||||
it.result = 0
|
||||
|
||||
Reference in New Issue
Block a user