diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawable.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawable.kt index ff98bd888..4f4568d39 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawable.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawable.kt @@ -446,6 +446,7 @@ open class LandscapeBatteryDrawable(private val context: Context, frameColor: In fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M3.77,0.80L21.85,0.80A1.97 1.97 0 0 1 23.82,2.77L23.82,9.31A1.97 1.97 0 0 1 21.85,11.27L3.77,11.27A1.97 1.97 0 0 1 1.81,9.31L1.81,2.77A1.97 1.97 0 0 1 3.77,0.80zM2.85,3.00L2.85,9.02A1.48 1.48 0 0 0 4.33,10.50L21.30,10.50A1.48 1.48 0 0 0 22.78,9.02L22.78,3.00A1.48 1.48 0 0 0 21.30,1.52L4.33,1.52A1.48 1.48 0 0 0 2.85,3.00zM1.26,7.97Q-1.14,5.86,1.29,3.81z" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableColorOS.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableColorOS.kt index 66113c99d..00ecf166a 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableColorOS.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableColorOS.kt @@ -386,6 +386,7 @@ open class LandscapeBatteryDrawableColorOS(private val context: Context, frameCo fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M22.91,6.00L22.91,8.39C22.91,9.80,21.55,11.97,18.83,11.97L6.04,11.97C3.36,11.97,2.18,10.48,2.00,8.72C2.00,7.63,1.09,7.81,1.10,6.80L1.10,5.30C1.09,4.19,2.00,4.37,2.00,3.28C2.00,2.20,3.36,0.03,6.04,0.03L18.83,0.03C21.55,0.03,22.91,2.20,22.91,3.61L22.91,6.00zM3.25,4.38L3.25,7.62A3.13 3.13 0 0 0 6.38,10.75L18.50,10.75A3.13 3.13 0 0 0 21.63,7.62L21.63,4.38A3.13 3.13 0 0 0 18.50,1.25L6.38,1.25A3.13 3.13 0 0 0 3.25,4.38z" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableMIUIPill.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableMIUIPill.kt index bba71bf9b..9f5898e17 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableMIUIPill.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableMIUIPill.kt @@ -394,6 +394,7 @@ open class LandscapeBatteryDrawableMIUIPill(private val context: Context, frameC fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M5.75,0.75L18.25,0.75A5.25 5.25 0 0 1 23.50,6.00L23.50,6.00A5.25 5.25 0 0 1 18.25,11.25L5.75,11.25A5.25 5.25 0 0 1 0.50,6.00L0.50,6.00A5.25 5.25 0 0 1 5.75,0.75zM1.75,6.00L1.75,6.00A4.00 4.00 0 0 0 5.75,10.00L18.25,10.00A4.00 4.00 0 0 0 22.25,6.00L22.25,6.00A4.00 4.00 0 0 0 18.25,2.00L5.75,2.00A4.00 4.00 0 0 0 1.75,6.00z" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableSmiley.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableSmiley.kt index a29e89c40..9efa8fe03 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableSmiley.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableSmiley.kt @@ -450,6 +450,7 @@ open class LandscapeBatteryDrawableSmiley(private val context: Context, frameCol fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M3.76,0.62L18.03,0.62A2.74 2.74 0 0 1 20.78,3.36L20.78,8.64A2.74 2.74 0 0 1 18.03,11.38L3.76,11.38A2.74 2.74 0 0 1 1.02,8.64L1.02,3.36A2.74 2.74 0 0 1 3.76,0.62zM21.66,7.79C23.42,7.68,23.42,4.32,21.66,4.21L21.66,7.79zM1.93,3.37L1.93,8.66A1.85 1.85 0 0 0 3.78,10.51L18.04,10.51A1.85 1.85 0 0 0 19.89,8.66L19.89,3.37A1.85 1.85 0 0 0 18.04,1.52L3.78,1.52A1.85 1.85 0 0 0 1.93,3.37z" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableStyleA.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableStyleA.kt index 66f1caf5b..d1d1cde4a 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableStyleA.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableStyleA.kt @@ -451,6 +451,7 @@ open class LandscapeBatteryDrawableStyleA(private val context: Context, frameCol fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M2.25,6L2.25,9.01L2.16,9C1.82,8.97,1.54,8.88,1.25,8.69C1.1,8.59,1.01,8.52,0.88,8.38C0.56,8.06,0.34,7.68,0.18,7.18C-0.22,5.94,0.06,4.47,0.86,3.64C1.24,3.25,1.67,3.04,2.15,3L2.25,3L2.25,6Z,M20.26,0.01C20.58,0.04,20.91,0.12,21.2,0.25C21.65,0.44,22.07,0.76,22.38,1.16C22.74,1.62,22.96,2.19,23,2.78C23.02,2.95,23.02,9.07,23,9.23C22.97,9.62,22.87,9.98,22.7,10.33C22.41,10.92,21.96,11.37,21.38,11.67C21.12,11.81,20.86,11.9,20.58,11.95C20.29,12,20.78,12,13,12C7.06,12,5.77,12,5.68,11.99C4.64,11.87,3.76,11.25,3.31,10.33C3.15,10,3.06,9.68,3.02,9.32C3,9.15,3,2.85,3.02,2.68C3.06,2.32,3.15,2,3.32,1.66C3.56,1.18,3.9,0.79,4.35,0.49C4.78,0.21,5.24,0.06,5.77,0.01C5.91,-0,20.12,-0,20.26,0.01ZM5.96,1.26C5.33,1.33,4.78,1.7,4.48,2.26C4.41,2.39,4.35,2.54,4.32,2.68C4.26,2.93,4.26,2.74,4.26,6C4.26,7.97,4.26,9,4.27,9.06C4.35,9.76,4.8,10.36,5.45,10.62C5.57,10.67,5.7,10.7,5.84,10.73L5.96,10.75L13.01,10.75L20.06,10.75L20.19,10.73C21.04,10.57,21.68,9.89,21.76,9.04C21.77,8.97,21.77,8.02,21.77,5.93L21.77,2.92L21.74,2.81C21.64,2.28,21.35,1.85,20.91,1.56C20.67,1.4,20.37,1.29,20.08,1.26C19.96,1.25,6.08,1.25,5.96,1.26Z" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableStyleB.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableStyleB.kt index 7cfa86e11..112ef3aa1 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableStyleB.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableStyleB.kt @@ -451,6 +451,7 @@ open class LandscapeBatteryDrawableStyleB(private val context: Context, frameCol fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M8.22,0.80L17.90,0.80A5.18 5.18 0 0 1 23.08,5.98L23.08,5.98A5.18 5.18 0 0 1 17.90,11.16L8.22,11.16A5.18 5.18 0 0 1 3.04,5.98L3.04,5.98A5.18 5.18 0 0 1 8.22,0.80zM0.46,5.05L0.46,7.02A0.92 0.92 0 0 0 1.38,7.94L1.38,7.94A0.92 0.92 0 0 0 2.30,7.02L2.30,5.05A0.92 0.92 0 0 0 1.38,4.13L1.38,4.13A0.92 0.92 0 0 0 0.46,5.05zM4.55,5.98L4.55,5.98A3.67 3.67 0 0 0 8.22,9.65L17.91,9.65A3.67 3.67 0 0 0 21.58,5.98L21.58,5.98A3.67 3.67 0 0 0 17.91,2.31L8.22,2.31A3.67 3.67 0 0 0 4.55,5.98z" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableiOS15.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableiOS15.kt index d13356fdc..68e9e81a3 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableiOS15.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableiOS15.kt @@ -388,6 +388,7 @@ open class LandscapeBatteryDrawableiOS15(private val context: Context, frameColo fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M3.79,0.78L18.21,0.78A2.82 2.82 0 0 1 21.03,3.60L21.03,8.40A2.82 2.82 0 0 1 18.21,11.22L3.79,11.22A2.82 2.82 0 0 1 0.97,8.40L0.97,3.60A2.82 2.82 0 0 1 3.79,0.78zM21.82,7.59C23.43,7.11,23.43,4.89,21.82,4.41L21.82,7.59zM2.00,3.75L2.00,8.25A2.00 2.00 0 0 0 4.00,10.25L18.00,10.25A2.00 2.00 0 0 0 20.00,8.25L20.00,3.75A2.00 2.00 0 0 0 18.00,1.75L4.00,1.75A2.00 2.00 0 0 0 2.00,3.75z" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableiOS16.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableiOS16.kt index 77dd429a8..3d0755b35 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableiOS16.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeBatteryDrawableiOS16.kt @@ -437,6 +437,7 @@ open class LandscapeBatteryDrawableiOS16(private val context: Context, frameColo fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M3.13,0.36L18.71,0.36A3.04 3.04 0 0 1 21.76,3.40L21.76,8.60A3.04 3.04 0 0 1 18.71,11.64L3.13,11.64A3.04 3.04 0 0 1 0.08,8.60L0.08,3.40A3.04 3.04 0 0 1 3.13,0.36zM22.61,7.72C24.35,7.19,24.35,4.81,22.61,4.28L22.61,7.72z" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawable.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawable.kt index d74a29bd8..94b687687 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawable.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawable.kt @@ -446,6 +446,7 @@ open class LandscapeRBatteryDrawable(private val context: Context, frameColor: I fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M2.44,0.64L19.70,0.64A2.21 2.21 0 0 1 21.91,2.85L21.91,9.21A2.21 2.21 0 0 1 19.70,11.42L2.44,11.42A2.21 2.21 0 0 1 0.23,9.21L0.23,2.85A2.21 2.21 0 0 1 2.44,0.64zM0.87,3.59L0.87,8.41A2.28 2.28 0 0 0 3.15,10.69L18.98,10.69A2.28 2.28 0 0 0 21.26,8.41L21.26,3.59A2.28 2.28 0 0 0 18.98,1.31L3.15,1.31A2.28 2.28 0 0 0 0.87,3.59zM22.45,8.32Q25.10,5.95,22.42,3.62" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawableColorOS.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawableColorOS.kt index 37b6650f9..14061e44e 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawableColorOS.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawableColorOS.kt @@ -386,6 +386,7 @@ open class LandscapeRBatteryDrawableColorOS(private val context: Context, frameC fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M1.09,6.00L1.09,8.39C1.09,9.80,2.45,11.97,5.17,11.97L17.96,11.97C20.64,11.97,21.82,10.48,22.00,8.72C22.00,7.63,22.91,7.81,22.90,6.80L22.90,5.30C22.91,4.19,22.00,4.37,22.00,3.28C22.00,2.20,20.64,0.03,17.96,0.03L5.17,0.03C2.45,0.03,1.09,2.20,1.09,3.61L1.09,6.00zM5.50,1.25L17.63,1.25A3.13 3.13 0 0 1 20.75,4.38L20.75,7.62A3.13 3.13 0 0 1 17.63,10.75L5.50,10.75A3.13 3.13 0 0 1 2.38,7.62L2.38,4.38A3.13 3.13 0 0 1 5.50,1.25z" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawableStyleA.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawableStyleA.kt index 99bc9e276..3f71cf2b4 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawableStyleA.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawableStyleA.kt @@ -451,6 +451,7 @@ open class LandscapeRBatteryDrawableStyleA(private val context: Context, frameCo fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M20.74,6L20.74,9.01L20.83,9C21.17,8.98,21.45,8.88,21.74,8.69C21.89,8.59,21.98,8.52,22.11,8.38C22.43,8.06,22.65,7.68,22.81,7.19C23.22,5.94,22.93,4.48,22.13,3.64C21.75,3.25,21.32,3.04,20.84,3L20.74,3L20.74,6Z,M2.74,0.01C2.41,0.04,2.08,0.12,1.79,0.25C1.34,0.44,0.92,0.76,0.61,1.16C0.26,1.62,0.03,2.19,-0.01,2.78C-0.02,2.95,-0.02,9.07,-0.01,9.23C0.02,9.62,0.12,9.98,0.29,10.33C0.59,10.92,1.03,11.38,1.61,11.67C1.87,11.81,2.13,11.9,2.42,11.95C2.7,12.01,2.21,12,9.99,12C15.93,12,17.22,12,17.31,11.9C18.35,11.87,19.23,11.25,19.68,10.33C19.84,10,19.93,9.68,19.98,9.33C19.99,9.16,19.99,2.85,19.98,2.68C19.93,2.32,19.84,2,19.67,1.66C19.44,1.18,19.09,0.79,18.64,0.49C18.21,0.21,17.75,0.06,17.22,0.01C17.08,-0,2.87,-0,2.74,0.01ZM17.03,1.26C17.67,1.33,18.21,1.7,18.51,2.26C18.58,2.39,18.64,2.54,18.67,2.68C18.74,2.93,18.73,2.74,18.73,6C18.73,7.97,18.73,9,18.72,9.06C18.64,9.76,18.19,10.36,17.54,10.62C17.42,10.67,17.3,10.7,17.15,10.73L17.03,10.75L9.98,10.75L2.93,10.75L2.8,10.73C1.95,10.58,1.32,9.9,1.23,9.05C1.22,8.97,1.22,8.02,1.22,5.93L1.22,2.93L1.25,2.82C1.35,2.28,1.64,1.85,2.09,1.56C2.32,1.4,2.63,1.29,2.91,1.26C3.03,1.25,16.91,1.25,17.03,1.26Z" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawableStyleB.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawableStyleB.kt index 2e9903d20..4f7a40fb8 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawableStyleB.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/LandscapeRBatteryDrawableStyleB.kt @@ -451,6 +451,7 @@ open class LandscapeRBatteryDrawableStyleB(private val context: Context, frameCo fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M6.10,0.80L15.78,0.80A5.18 5.18 0 0 1 20.96,5.98L20.96,5.98A5.18 5.18 0 0 1 15.78,11.16L6.10,11.16A5.18 5.18 0 0 1 0.92,5.98L0.92,5.98A5.18 5.18 0 0 1 6.10,0.80zM2.42,5.98L2.42,5.98A3.67 3.67 0 0 0 6.09,9.65L15.78,9.65A3.67 3.67 0 0 0 19.45,5.98L19.45,5.98A3.67 3.67 0 0 0 15.78,2.31L6.09,2.31A3.67 3.67 0 0 0 2.42,5.98zM21.70,5.05L21.70,7.02A0.92 0.92 0 0 0 22.62,7.94L22.62,7.94A0.92 0.92 0 0 0 23.54,7.02L23.54,5.05A0.92 0.92 0 0 0 22.62,4.13L22.62,4.13A0.92 0.92 0 0 0 21.70,5.05z" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/PortraitBatteryDrawableAiroo.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/PortraitBatteryDrawableAiroo.kt index e8c62e5d3..e78aae1f3 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/PortraitBatteryDrawableAiroo.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/PortraitBatteryDrawableAiroo.kt @@ -450,6 +450,7 @@ open class PortraitBatteryDrawableAiroo(private val context: Context, frameColor fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M2.85,4.00L9.15,4.00A2.85 2.85 0 0 1 12.00,6.85L12.00,13.15A2.85 2.85 0 0 1 9.15,16.00L2.85,16.00A2.85 2.85 0 0 1 -0.00,13.15L-0.00,6.85A2.85 2.85 0 0 1 2.85,4.00zM8.00,4.00L4.00,4.00C4.00,3.50,4.00,3.00,4.50,3.00L7.50,3.00C8.00,3.00,8.00,3.50,8.00,4.00zM2.49,12.25L2.49,12.91A0.66 0.66 0 0 0 3.15,13.57L6.24,13.57A0.66 0.66 0 0 0 6.90,12.91L6.90,12.25A0.66 0.66 0 0 0 6.24,11.59L3.15,11.59A0.66 0.66 0 0 0 2.49,12.25zM2.48,9.71L2.48,10.37A0.66 0.66 0 0 0 3.14,11.03L6.24,11.03A0.66 0.66 0 0 0 6.90,10.37L6.90,9.71A0.66 0.66 0 0 0 6.24,9.05L3.14,9.05A0.66 0.66 0 0 0 2.48,9.71zM1.80,6.85L1.80,13.15A1.05 1.05 0 0 0 2.85,14.20L9.15,14.20A1.05 1.05 0 0 0 10.20,13.15L10.20,6.85A1.05 1.05 0 0 0 9.15,5.80L2.85,5.80A1.05 1.05 0 0 0 1.80,6.85zM2.49,7.18L2.49,7.84A0.66 0.66 0 0 0 3.15,8.50L6.24,8.50A0.66 0.66 0 0 0 6.90,7.84L6.90,7.18A0.66 0.66 0 0 0 6.24,6.52L3.15,6.52A0.66 0.66 0 0 0 2.49,7.18z" diff --git a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/PortraitBatteryDrawableMx.kt b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/PortraitBatteryDrawableMx.kt index 8a8045ec8..0a0f38fa3 100644 --- a/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/PortraitBatteryDrawableMx.kt +++ b/app/src/main/java/com/drdisagree/iconify/xposed/mods/batterystyles/PortraitBatteryDrawableMx.kt @@ -445,6 +445,7 @@ open class PortraitBatteryDrawableMx(private val context: Context, frameColor: I fillColorStrokeProtection.strokeWidth = scaledStrokeWidth } + @SuppressLint("RestrictedApi") private fun loadPaths() { val pathString = "M4.39,0.15C4.1,0.28,4.02,0.35,3.89,0.59C3.68,0.98,3.78,1.55,4.11,1.83C4.4,2.09,4.55,2.1,6.44,2.1C8.33,2.1,8.47,2.09,8.76,1.83C9.1,1.55,9.2,0.98,8.98,0.59C8.85,0.35,8.78,0.28,8.49,0.15C8.3,0.06,8.15,0.05,6.44,0.05C4.72,0.05,4.58,0.06,4.39,0.15ZM4.39,0.15M3.18,2.6C2.68,2.74,2.34,2.95,1.92,3.35C1.35,3.89,1.04,4.54,1.04,5.16L1.04,5.4L3.59,5.4L3.86,5.13C4.39,4.61,4.64,4.55,6.46,4.55C8.29,4.55,8.54,4.61,9.07,5.13L9.34,5.4L11.94,5.4L11.94,5.17C11.94,4.55,11.62,3.89,11.06,3.35C10.63,2.93,10.3,2.74,9.77,2.59C9.45,2.5,9.23,2.5,6.46,2.5C3.76,2.5,3.48,2.52,3.18,2.6ZM3.18,2.6M0.93,11L0.93,15.65L3.27,15.65L3.27,6.35L0.93,6.35ZM0.93,11M9.66,11L9.66,15.65L11.99,15.65L11.99,6.35L9.66,6.35ZM9.66,11M1.04,16.86C1.04,17.45,1.37,18.11,1.92,18.65C2.35,19.06,2.76,19.3,3.25,19.43C3.7,19.54,9.28,19.54,9.73,19.43C10.23,19.3,10.63,19.06,11.06,18.65C11.61,18.11,11.94,17.45,11.94,16.86L11.94,16.65L9.35,16.65L9.07,16.92C8.52,17.45,8.29,17.5,6.46,17.5C4.64,17.5,4.4,17.45,3.86,16.92L3.58,16.65L1.04,16.65ZM1.04,16.86"