删除多余调试代码

This commit is contained in:
乌堆小透明
2022-03-08 16:47:12 +08:00
parent c4ef262153
commit c0e9c67d5e

View File

@@ -3,7 +3,6 @@ package com.lt2333.simplicitytools.hook.app.systemui
import android.content.Context import android.content.Context
import android.content.res.Resources import android.content.res.Resources
import android.os.Bundle import android.os.Bundle
import android.util.Log
import android.view.Gravity import android.view.Gravity
import android.view.View import android.view.View
import android.view.ViewGroup import android.view.ViewGroup
@@ -159,13 +158,11 @@ class StatusBarLayout : IXposedHookLoadPackage {
if (XSPUtils.getBoolean("layout_compatibility_mode", false)) { if (XSPUtils.getBoolean("layout_compatibility_mode", false)) {
val custom_left_margin = XSPUtils.getInt("status_bar_left_margin", 0) val custom_left_margin = XSPUtils.getInt("status_bar_left_margin", 0)
if (custom_left_margin != 0) { if (custom_left_margin != 0) {
Log.d("测试", "afterHookedMethod: "+custom_left_margin)
status_bar_left = custom_left_margin status_bar_left = custom_left_margin
} }
val custom_right_margin = XSPUtils.getInt("status_bar_right_margin", 0) val custom_right_margin = XSPUtils.getInt("status_bar_right_margin", 0)
if (custom_right_margin != 0) { if (custom_right_margin != 0) {
Log.d("测试", "afterHookedMethod: "+custom_right_margin)
status_bar_right = custom_right_margin status_bar_right = custom_right_margin
} }
updateLayout() updateLayout()