diff options
author | Brandon Maxwell <maxwelb@google.com> | 2016-03-10 19:42:44 -0800 |
---|---|---|
committer | Brandon Maxwell <maxwelb@google.com> | 2016-03-11 13:34:35 -0800 |
commit | 17df9323e45ae5984b6df25b788a9cbffb51e8ab (patch) | |
tree | e8a24e607b77c1c21283da024859f84d94bd7123 /src-pre-N | |
parent | ebfbfa10d95ef21373cf7c112eac52413b11c525 (diff) |
Removing hardcoded database column name
+ We were previously hardcoding the post_dial_digits column name.
This code was written before we had src-N and src-pre-N folders.
+ This CL converts the hard coded column name to follow the pattern
we have for new stuff in the SDK.
+ Additionally, this CL removes an unneeded method which checks the
SDK version, instead using the CompatUtils class.
Bug: 25021389
Change-Id: I017d47f7efd323254e616a64d7ac824c5cfb8902
Diffstat (limited to 'src-pre-N')
-rw-r--r-- | src-pre-N/com/android/dialer/compat/CallsSdkCompat.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src-pre-N/com/android/dialer/compat/CallsSdkCompat.java b/src-pre-N/com/android/dialer/compat/CallsSdkCompat.java new file mode 100644 index 000000000..836f091a1 --- /dev/null +++ b/src-pre-N/com/android/dialer/compat/CallsSdkCompat.java @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2016 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.android.dialer.compat; + +import android.support.annotation.Nullable; + +public class CallsSdkCompat { + + @Nullable public static final String POST_DIAL_DIGITS = null; +} |