From 17df9323e45ae5984b6df25b788a9cbffb51e8ab Mon Sep 17 00:00:00 2001 From: Brandon Maxwell Date: Thu, 10 Mar 2016 19:42:44 -0800 Subject: 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 --- .../com/android/dialer/compat/CallsSdkCompat.java | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src-N/com/android/dialer/compat/CallsSdkCompat.java (limited to 'src-N') diff --git a/src-N/com/android/dialer/compat/CallsSdkCompat.java b/src-N/com/android/dialer/compat/CallsSdkCompat.java new file mode 100644 index 000000000..3d72e356e --- /dev/null +++ b/src-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.provider.CallLog; + +public class CallsSdkCompat { + + public static final String POST_DIAL_DIGITS = CallLog.Calls.POST_DIAL_DIGITS; +} -- cgit v1.2.3