File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/com/afwsamples/testdpc/common Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -57,16 +57,15 @@ public class Util {
57
57
private static final String TAG = "Util" ;
58
58
private static final int DEFAULT_BUFFER_SIZE = 4096 ;
59
59
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" );
62
61
63
62
/**
64
63
* A replacement for {@link VERSION.SDK_INT} that is compatible with pre-release SDKs
65
64
*
66
65
* <p>This will be set to the version SDK, or {@link VERSION_CODES.CUR_DEVELOPMENT} if the SDK int
67
66
* is not yet assigned.
68
67
*/
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 ;
70
69
71
70
// Copied over from RoleManager.ROLE_DEVICE_POLICY_MANAGEMENT, which can't be referenced directly
72
71
// since it's a @SystemAPI.
You can’t perform that action at this time.
0 commit comments