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

Commit f10b6f4d authored by Diksha Gohlyan's avatar Diksha Gohlyan
Browse files

isAtleastR to include S as well

Test: atest CtsAppSecurityHostTestCases:android.appsecurity.cts.DocumentsTest
Bug: 161370998

Change-Id: Ia9cbab5d947920ba05e01e83cafa08415ed349c2
parent bd37bef9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,6 +31,6 @@ public class VersionUtils {
     */
    public static boolean isAtLeastR() {
        return Build.VERSION.CODENAME.equals("R")
                || (Build.VERSION.CODENAME.equals("REL") && Build.VERSION.SDK_INT >= 30);
                || Build.VERSION.SDK_INT >= 30;
    }
}