diff options
author | erfanian <erfanian@google.com> | 2017-12-06 11:01:51 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-07 18:28:17 -0800 |
commit | 32632f8cbed8ec7651e7c831b4defdfd4d81e70d (patch) | |
tree | 895b9e4bb0bc0d568d367ff7bb9ef218c3513d84 | |
parent | 7772ec071f5ed2e2283e9a00215e8cf1fca9168a (diff) |
Use explicit version constant for AD ceiling.
Test: tap
PiperOrigin-RevId: 178121918
Change-Id: Ia60c844181b63b527ce9753a9bef96d7b7076c40
-rw-r--r-- | java/com/android/dialer/assisteddialing/ConcreteCreator.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java/com/android/dialer/assisteddialing/ConcreteCreator.java b/java/com/android/dialer/assisteddialing/ConcreteCreator.java index 73817d7fc..5236ea8eb 100644 --- a/java/com/android/dialer/assisteddialing/ConcreteCreator.java +++ b/java/com/android/dialer/assisteddialing/ConcreteCreator.java @@ -41,8 +41,7 @@ public final class ConcreteCreator { // Floor set at N due to use of Optional. protected static final int BUILD_CODE_FLOOR = Build.VERSION_CODES.N; // Ceiling set at O_MR1 because this feature will ship as part of the framework in P. - // TODO(erfanian): Switch to public build constant when 27 is available in public master. - @VisibleForTesting public static final int BUILD_CODE_CEILING = 27; + @VisibleForTesting public static final int BUILD_CODE_CEILING = Build.VERSION_CODES.O_MR1; /** * Creates a new AssistedDialingMediator |