diff options
author | Brandon Maxwell <maxwelb@google.com> | 2016-03-22 17:02:25 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-03-22 17:02:25 +0000 |
commit | 1fa3f7f8127377461c6000d1f58e73dc109744c0 (patch) | |
tree | d9f339f7b65d56b37022a899855fb625a8801235 /src/com/android | |
parent | 8e3e51da8bdee28f1e0ef6867c8ec5482c2e15cb (diff) | |
parent | 6dd61510f2c019a8c662257e368568bb93e9d9e0 (diff) |
Merge "No notification shown for blocking after E911 call" into nyc-dev am: cf230a9
am: 6dd6151
* commit '6dd61510f2c019a8c662257e368568bb93e9d9e0':
No notification shown for blocking after E911 call
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)) { |