Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed11b0e1 authored by Zemiao Zhu's avatar Zemiao Zhu Committed by Automerger Merge Worker
Browse files

Merge "Fix test error 'No static method isAtLeastS()' by adding reference in...

Merge "Fix test error 'No static method isAtLeastS()' by adding reference in production code." into sc-dev am: 391c446b

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/DocumentsUI/+/14456922

Change-Id: Iacdf2c6afeec24d9afb143dd58df5fd1d84d9d60
parents 382de91b 391c446b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -30,7 +30,8 @@ public class VersionUtils {
     * Returns whether the device is running on Android R or newer.
     */
    public static boolean isAtLeastR() {
        return Build.VERSION.CODENAME.equals("R")
        return isAtLeastS() // Keep reference to isAtLeastS() so it's not stripped from test apk
                || Build.VERSION.CODENAME.equals("R")
                || Build.VERSION.SDK_INT >= 30;
    }