diff --git a/app/src/main/java/com/topjohnwu/magisk/core/tasks/HideAPK.kt b/app/src/main/java/com/topjohnwu/magisk/core/tasks/HideAPK.kt index a89cb375d..2cb3b9368 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/tasks/HideAPK.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/tasks/HideAPK.kt @@ -49,7 +49,7 @@ object HideAPK { var next: Char var prev = 0.toChar() for (i in 0 until len) { - next = if (prev == '.' || prev == 0.toChar() || i == len - 1) { + next = if (prev == '.' || i == 0 || i == len - 1) { ALPHA[random.nextInt(ALPHA.length)] } else { ALPHADOTS[random.nextInt(ALPHADOTS.length)]