Skip to content

Commit

Permalink
CorpseFinder: Improve scan on Android 15
Browse files Browse the repository at this point in the history
Enable root-based filters for API35.
  • Loading branch information
d4rken committed Aug 6, 2024
1 parent 2215a0e commit 7d3aee2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fun hasApiLevel(level: Int): Boolean = when {
else -> false
}

const val UNTESTED_API = 35
const val UNTESTED_API = 36

inline fun <reified R> ifApiLevel(level: Int, block: () -> R): R? = if (hasApiLevel(level)) block() else null

0 comments on commit 7d3aee2

Please sign in to comment.