summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Franck Mevaa <gillesd@google.com>2016-02-29 23:05:35 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-02-29 23:05:35 +0000
commitc44630349eb2b17c58da4c96a60c2f9a32d731db (patch)
tree61bc563a1fdd05508548280874633bce47c431ac
parentb058d06e741087831d4003b207e648a64fd14c51 (diff)
parent6a87f4406af8ba5861c025bab12333ab6d40ae19 (diff)
Allowing FilteredNumberAQHelper to be stubbed
am: 6a87f4406a * commit '6a87f4406af8ba5861c025bab12333ab6d40ae19': Allowing FilteredNumberAQHelper to be stubbed
-rw-r--r--src/com/android/dialer/database/FilteredNumberAsyncQueryHandler.java12
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) {