summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlinyuh <linyuh@google.com>2018-06-26 16:06:23 -0700
committerCopybara-Service <copybara-piper@google.com>2018-06-27 11:06:34 -0700
commitab99dbe6ec1857fe35bde3bfc58032fdec59048d (patch)
treea0acde4f720d74137bce22755a892e0061587533
parentd745887310ae896649b11d9044cfbf070b2e5ac9 (diff)
Fix an AOSP build error caused by version codes
Test: None. PiperOrigin-RevId: 202212283 Change-Id: Ieff3c7fb8a4234a46ef93cf2cc3fb9362439c64a
-rw-r--r--java/com/android/dialer/assisteddialing/ConcreteCreator.java6
1 files 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