diff options
author | Gilles Franck Mevaa <gillesd@google.com> | 2016-02-29 23:09:26 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-02-29 23:09:26 +0000 |
commit | 1c883123bb612642449195b36bb9d9ad4148d909 (patch) | |
tree | 579d78617df91646e29258c70b07a532504a1d32 /src/com | |
parent | 794432220a5f36fd84d620049a58d1fd6c69c34f (diff) | |
parent | c44630349eb2b17c58da4c96a60c2f9a32d731db (diff) |
Allowing FilteredNumberAQHelper to be stubbed am: 6a87f4406a
am: c44630349e
* commit 'c44630349eb2b17c58da4c96a60c2f9a32d731db':
Allowing FilteredNumberAQHelper to be stubbed
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/dialer/database/FilteredNumberAsyncQueryHandler.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/android/dialer/database/FilteredNumberAsyncQueryHandler.java b/src/com/android/dialer/database/FilteredNumberAsyncQueryHandler.java index 39ae1caa0..6e64c6098 100644 --- a/src/com/android/dialer/database/FilteredNumberAsyncQueryHandler.java +++ b/src/com/android/dialer/database/FilteredNumberAsyncQueryHandler.java @@ -149,7 +149,7 @@ public class FilteredNumberAsyncQueryHandler extends AsyncQueryHandler { * @return {@code false} if the number was invalid and couldn't be checked, * {@code true} otherwise, */ - public final boolean isBlockedNumber( + public boolean isBlockedNumber( final OnCheckBlockedListener listener, String number, String countryIso) { final String normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); if (TextUtils.isEmpty(normalizedNumber)) { @@ -183,7 +183,7 @@ public class FilteredNumberAsyncQueryHandler extends AsyncQueryHandler { return true; } - public final void blockNumber( + public void blockNumber( final OnBlockNumberListener listener, String number, String countryIso) { blockNumber(listener, null, number, countryIso); } @@ -191,7 +191,7 @@ public class FilteredNumberAsyncQueryHandler extends AsyncQueryHandler { /** * Add a number manually blocked by the user. */ - public final void blockNumber( + public void blockNumber( final OnBlockNumberListener listener, String normalizedNumber, String number, @@ -212,7 +212,7 @@ public class FilteredNumberAsyncQueryHandler extends AsyncQueryHandler { * Block a number with specified ContentValues. Can be manually added or a restored row * from performing the 'undo' action after unblocking. */ - public final void blockNumber(final OnBlockNumberListener listener, ContentValues values) { + public void blockNumber(final OnBlockNumberListener listener, ContentValues values) { startInsert(NO_TOKEN, new Listener() { @Override @@ -229,7 +229,7 @@ public class FilteredNumberAsyncQueryHandler extends AsyncQueryHandler { * Caller should call {@link FilteredNumberAsyncQueryHandler#startBlockedQuery} first. * @param id The ID of row to remove, from {@link FilteredNumberAsyncQueryHandler#startBlockedQuery}. */ - public final void unblock(final OnUnblockNumberListener listener, Integer id) { + public void unblock(final OnUnblockNumberListener listener, Integer id) { if (id == null) { throw new IllegalArgumentException("Null id passed into unblock"); } @@ -241,7 +241,7 @@ public class FilteredNumberAsyncQueryHandler extends AsyncQueryHandler { * @param uri The uri of row to remove, from * {@link FilteredNumberAsyncQueryHandler#blockNumber}. */ - public final void unblock(final OnUnblockNumberListener listener, final Uri uri) { + public void unblock(final OnUnblockNumberListener listener, final Uri uri) { startQuery(NO_TOKEN, new Listener() { @Override public void onQueryComplete(int token, Object cookie, Cursor cursor) { |