From ab99dbe6ec1857fe35bde3bfc58032fdec59048d Mon Sep 17 00:00:00 2001 From: linyuh Date: Tue, 26 Jun 2018 16:06:23 -0700 Subject: Fix an AOSP build error caused by version codes Test: None. PiperOrigin-RevId: 202212283 Change-Id: Ieff3c7fb8a4234a46ef93cf2cc3fb9362439c64a --- java/com/android/dialer/assisteddialing/ConcreteCreator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/com/android/dialer/assisteddialing/ConcreteCreator.java b/java/com/android/dialer/assisteddialing/ConcreteCreator.java index ab8ea70a7..b4f926dd3 100644 --- a/java/com/android/dialer/assisteddialing/ConcreteCreator.java +++ b/java/com/android/dialer/assisteddialing/ConcreteCreator.java @@ -18,7 +18,6 @@ package com.android.dialer.assisteddialing; import android.content.Context; import android.os.Build; -import android.os.Build.VERSION_CODES; import android.preference.PreferenceManager; import android.support.annotation.NonNull; import android.support.v4.os.UserManagerCompat; @@ -36,8 +35,9 @@ import com.android.dialer.strictmode.StrictModeUtils; */ public final class ConcreteCreator { - // Ceiling set at P because this feature will ship as part of the framework in Q. - public static final int BUILD_CODE_CEILING = VERSION_CODES.P; + // Ceiling set at P (version code 28) because this feature will ship as part of the framework in + // Q. + public static final int BUILD_CODE_CEILING = 28; /** * Creates a new AssistedDialingMediator -- cgit v1.2.3