mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-12 19:31:17 +08:00
修复A13状态栏兼容模式
This commit is contained in:
@@ -52,7 +52,7 @@ object StatusBarLayoutForT : HookRegister() {
|
|||||||
|
|
||||||
//判断是否开启居中挖孔兼容模式
|
//判断是否开启居中挖孔兼容模式
|
||||||
if (getHoleLocation == 1) {
|
if (getHoleLocation == 1) {
|
||||||
findMethod("com.android.systemui.ScreenDecorations\$DisplayCutoutView") {
|
findMethod("com.android.systemui.ScreenDecorations") {
|
||||||
name == "boundsFromDirection" && parameterCount == 3 && isStatic
|
name == "boundsFromDirection" && parameterCount == 3 && isStatic
|
||||||
}.hookBefore {
|
}.hookBefore {
|
||||||
it.args[1] = 0
|
it.args[1] = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user