diff options
author | Brandon Maxwell <maxwelb@google.com> | 2016-02-24 18:39:42 -0800 |
---|---|---|
committer | Brandon Maxwell <maxwelb@google.com> | 2016-03-01 10:18:40 -0800 |
commit | 9baf4e56672d8beeed6bdd9d1cd9456b32cf83ba (patch) | |
tree | 8504070a647e6cdb07ad3eb50bb6a637520e8017 /src-N/com/android/dialer | |
parent | 6a87f4406af8ba5861c025bab12333ab6d40ae19 (diff) | |
download | android_packages_apps_Dialer-9baf4e56672d8beeed6bdd9d1cd9456b32cf83ba.tar.gz android_packages_apps_Dialer-9baf4e56672d8beeed6bdd9d1cd9456b32cf83ba.tar.bz2 android_packages_apps_Dialer-9baf4e56672d8beeed6bdd9d1cd9456b32cf83ba.zip |
Implementing Compat class for Filtering
+ FilteredNumberCompat contains the logic needed to switch between
the Dialer implemented number filtering and the new number filtering.
+ Direct uses of the Dialer Filtering code should be replaced to use
the fields in this class
Bug=26664600
Change-Id: I42db3da4b5ed124a88488713f56ccab7b2290309
Diffstat (limited to 'src-N/com/android/dialer')
-rw-r--r-- | src-N/com/android/dialer/compat/BlockedNumbersSdkCompat.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src-N/com/android/dialer/compat/BlockedNumbersSdkCompat.java b/src-N/com/android/dialer/compat/BlockedNumbersSdkCompat.java new file mode 100644 index 000000000..6c1625360 --- /dev/null +++ b/src-N/com/android/dialer/compat/BlockedNumbersSdkCompat.java @@ -0,0 +1,32 @@ +/* + * 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.net.Uri; +import android.provider.BlockedNumberContract.BlockedNumbers; + +public class BlockedNumbersSdkCompat { + + public static final Uri CONTENT_URI = BlockedNumbers.CONTENT_URI; + + public static final String _ID = BlockedNumbers.COLUMN_ID; + + public static final String COLUMN_ORIGINAL_NUMBER = BlockedNumbers.COLUMN_ORIGINAL_NUMBER; + + public static final String E164_NUMBER = BlockedNumbers.COLUMN_E164_NUMBER; + +} |