diff options
Diffstat (limited to 'java/com/android/dialer/phonelookup/composite')
-rw-r--r-- | java/com/android/dialer/phonelookup/composite/CompositePhoneLookup.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/java/com/android/dialer/phonelookup/composite/CompositePhoneLookup.java b/java/com/android/dialer/phonelookup/composite/CompositePhoneLookup.java index 365b21883..7cc7a6d7f 100644 --- a/java/com/android/dialer/phonelookup/composite/CompositePhoneLookup.java +++ b/java/com/android/dialer/phonelookup/composite/CompositePhoneLookup.java @@ -16,7 +16,6 @@ package com.android.dialer.phonelookup.composite; -import android.content.Context; import android.support.annotation.MainThread; import android.support.annotation.VisibleForTesting; import com.android.dialer.DialerPhoneNumber; @@ -214,19 +213,19 @@ public final class CompositePhoneLookup { MoreExecutors.directExecutor()); } - /** Delegates to sub-lookups' {@link PhoneLookup#registerContentObservers(Context)}. */ + /** Delegates to sub-lookups' {@link PhoneLookup#registerContentObservers()}. */ @MainThread - public void registerContentObservers(Context appContext) { + public void registerContentObservers() { for (PhoneLookup phoneLookup : phoneLookups) { - phoneLookup.registerContentObservers(appContext); + phoneLookup.registerContentObservers(); } } - /** Delegates to sub-lookups' {@link PhoneLookup#unregisterContentObservers(Context)}. */ + /** Delegates to sub-lookups' {@link PhoneLookup#unregisterContentObservers()}. */ @MainThread - public void unregisterContentObservers(Context appContext) { + public void unregisterContentObservers() { for (PhoneLookup phoneLookup : phoneLookups) { - phoneLookup.unregisterContentObservers(appContext); + phoneLookup.unregisterContentObservers(); } } |