Skip to content

Commit 8684e2b

Browse files
committed
Fix version check
1 parent 4a54919 commit 8684e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry-android-core/src/main/java/io/sentry/android/core/internal/util/AndroidThreadChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ private AndroidThreadChecker() {
3636
*/
3737
@SuppressWarnings("deprecation")
3838
public static long getThreadId(final @NotNull Thread thread) {
39-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
39+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.BAKLAVA) {
4040
return thread.threadId();
4141
} else {
4242
return thread.getId();

0 commit comments

Comments
 (0)