diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-03-22 20:20:35 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-03-22 20:20:35 +0000 |
commit | 2aea5b1df52c9f15e551006a46743e792b71cb51 (patch) | |
tree | 10a2be8052ba1ecf4b8ac94d31898dec7df2ada5 /java/com/android/dialer/phonelookup/blockednumber | |
parent | 6c64810275484ecc554e1e7ab0e0759c01640fe0 (diff) | |
parent | deb440005181e1d18785e2474192142cf1681d54 (diff) |
Merge changes I31e744f3,Ie64d2c6f
* changes:
Use SwitchPreferenceWithClickableSummary instead of SwitchPreference for VM Donation
Removed appContext from CallLogDataSource and PhoneLookup.
Diffstat (limited to 'java/com/android/dialer/phonelookup/blockednumber')
-rw-r--r-- | java/com/android/dialer/phonelookup/blockednumber/DialerBlockedNumberPhoneLookup.java | 4 | ||||
-rw-r--r-- | java/com/android/dialer/phonelookup/blockednumber/SystemBlockedNumberPhoneLookup.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/java/com/android/dialer/phonelookup/blockednumber/DialerBlockedNumberPhoneLookup.java b/java/com/android/dialer/phonelookup/blockednumber/DialerBlockedNumberPhoneLookup.java index f5a249aed..ce879a995 100644 --- a/java/com/android/dialer/phonelookup/blockednumber/DialerBlockedNumberPhoneLookup.java +++ b/java/com/android/dialer/phonelookup/blockednumber/DialerBlockedNumberPhoneLookup.java @@ -169,7 +169,7 @@ public final class DialerBlockedNumberPhoneLookup implements PhoneLookup<DialerB } @Override - public void registerContentObservers(Context appContext) { + public void registerContentObservers() { appContext .getContentResolver() .registerContentObserver( @@ -179,7 +179,7 @@ public final class DialerBlockedNumberPhoneLookup implements PhoneLookup<DialerB } @Override - public void unregisterContentObservers(Context appContext) { + public void unregisterContentObservers() { appContext.getContentResolver().unregisterContentObserver(markDirtyObserver); } diff --git a/java/com/android/dialer/phonelookup/blockednumber/SystemBlockedNumberPhoneLookup.java b/java/com/android/dialer/phonelookup/blockednumber/SystemBlockedNumberPhoneLookup.java index e2a90c257..a3d51a78f 100644 --- a/java/com/android/dialer/phonelookup/blockednumber/SystemBlockedNumberPhoneLookup.java +++ b/java/com/android/dialer/phonelookup/blockednumber/SystemBlockedNumberPhoneLookup.java @@ -170,7 +170,7 @@ public class SystemBlockedNumberPhoneLookup implements PhoneLookup<SystemBlocked } @Override - public void registerContentObservers(Context appContext) { + public void registerContentObservers() { if (VERSION.SDK_INT < VERSION_CODES.N) { return; } @@ -183,7 +183,7 @@ public class SystemBlockedNumberPhoneLookup implements PhoneLookup<SystemBlocked } @Override - public void unregisterContentObservers(Context appContext) { + public void unregisterContentObservers() { appContext.getContentResolver().unregisterContentObserver(markDirtyObserver); } |