diff options
Diffstat (limited to 'java/com/android/dialer/phonelookup/blockednumber/SystemBlockedNumberPhoneLookup.java')
-rw-r--r-- | java/com/android/dialer/phonelookup/blockednumber/SystemBlockedNumberPhoneLookup.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/com/android/dialer/phonelookup/blockednumber/SystemBlockedNumberPhoneLookup.java b/java/com/android/dialer/phonelookup/blockednumber/SystemBlockedNumberPhoneLookup.java index d791e9b9e..def1f017d 100644 --- a/java/com/android/dialer/phonelookup/blockednumber/SystemBlockedNumberPhoneLookup.java +++ b/java/com/android/dialer/phonelookup/blockednumber/SystemBlockedNumberPhoneLookup.java @@ -181,4 +181,9 @@ public class SystemBlockedNumberPhoneLookup implements PhoneLookup<SystemBlocked true, // BlockedNumbers notifies on the item markDirtyObserver); } + + @Override + public void unregisterContentObservers(Context appContext) { + appContext.getContentResolver().unregisterContentObserver(markDirtyObserver); + } } |