Merge pull request #19 from revanced/non-root

feat: `microg-patch`
This commit is contained in:
oSumAtrIX 2022-06-12 01:40:26 +02:00 committed by GitHub
commit d3873e6568
17 changed files with 79 additions and 99 deletions

View file

@ -27,9 +27,9 @@ internal fun String.startsWithAny(vararg prefixes: String): Boolean {
return false
}
internal fun String.containsAny(vararg others: String): Boolean {
for (other in others)
if (this.contains(other))
internal fun String.equalsAny(vararg other: String): Boolean {
for (_other in other)
if (this == _other)
return true
return false