Skip to content

Commit 68b5bf1

Browse files
jscott1989pfmaggi
authored andcommitted
No public description
PiperOrigin-RevId: 621787679
1 parent 4ed97ef commit 68b5bf1

File tree

1 file changed

+2
-3
lines changed
  • src/main/java/com/afwsamples/testdpc/common

1 file changed

+2
-3
lines changed

src/main/java/com/afwsamples/testdpc/common/Util.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,15 @@ public class Util {
5757
private static final String TAG = "Util";
5858
private static final int DEFAULT_BUFFER_SIZE = 4096;
5959

60-
// TODO(b/258511062): change check once U SDK is launched
61-
private static final boolean IS_RUNNING_U = VERSION.CODENAME.equals("UpsideDownCake");
60+
private static final boolean IS_RUNNING_V = VERSION.CODENAME.equals("VanillaIceCream");
6261

6362
/**
6463
* A replacement for {@link VERSION.SDK_INT} that is compatible with pre-release SDKs
6564
*
6665
*

This will be set to the version SDK, or {@link VERSION_CODES.CUR_DEVELOPMENT} if the SDK int

6766
* is not yet assigned.
6867
*/
69-
public static final int SDK_INT = IS_RUNNING_U ? VERSION_CODES.CUR_DEVELOPMENT : VERSION.SDK_INT;
68+
public static final int SDK_INT = IS_RUNNING_V ? VERSION_CODES.CUR_DEVELOPMENT : VERSION.SDK_INT;
7069

7170
// Copied over from RoleManager.ROLE_DEVICE_POLICY_MANAGEMENT, which can't be referenced directly
7271
// since it's a @SystemAPI.

0 commit comments

Comments
 (0)