mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-13 03:41:19 +08:00
删除多余调试代码
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user