diff options
author | Brandon Maxwell <maxwelb@google.com> | 2016-03-22 16:52:59 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-03-22 16:52:59 +0000 |
commit | cf230a91080dcfddb82fe4a42c401d77e6ae9bca (patch) | |
tree | 60053ab9a554d3f36979f9c23411f1923bcdd43e /src/com/android | |
parent | fd75e4c3b3c1a8f5a6ee5d3ce6a8503cf83ea424 (diff) | |
parent | edf03935c1b4ff958e133c505dd94046b07a62b1 (diff) |
Merge "No notification shown for blocking after E911 call" into nyc-dev
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/dialer/filterednumber/FilteredNumbersUtil.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/dialer/filterednumber/FilteredNumbersUtil.java b/src/com/android/dialer/filterednumber/FilteredNumbersUtil.java index e3870ded9..498b10a45 100644 --- a/src/com/android/dialer/filterednumber/FilteredNumbersUtil.java +++ b/src/com/android/dialer/filterednumber/FilteredNumbersUtil.java @@ -33,6 +33,7 @@ import android.widget.Toast; import com.android.contacts.common.testing.NeededForTesting; import com.android.dialer.R; +import com.android.dialer.compat.FilteredNumberCompat; import com.android.dialer.database.FilteredNumberAsyncQueryHandler; import com.android.dialer.database.FilteredNumberAsyncQueryHandler.OnHasBlockedNumbersListener; import com.android.dialer.database.FilteredNumberContract.FilteredNumber; @@ -298,6 +299,10 @@ public class FilteredNumbersUtil { } public static void maybeNotifyCallBlockingDisabled(final Context context) { + // The Dialer is not responsible for this notification after migrating + if (FilteredNumberCompat.useNewFiltering()) { + return; + } // Skip if the user has already received a notification for the most recent emergency call. if (PreferenceManager.getDefaultSharedPreferences(context) .getBoolean(NOTIFIED_CALL_BLOCKING_DISABLED_BY_EMERGENCY_CALL_PREF_KEY, false)) { |