Skip to content
Snippets Groups Projects
Commit 334917b8 authored by Colin Cross's avatar Colin Cross Committed by Gerrit Code Review
Browse files

Merge "Fix self-assign error in SimPhonebookContract"

parents 3341199c 8ab5cf67
No related branches found
No related tags found
No related merge requests found
......@@ -262,7 +262,7 @@ public final class SimPhonebookContract {
@WorkerThread
public static int getEncodedNameLength(
@NonNull ContentResolver resolver, @NonNull String name) {
name = Objects.requireNonNull(name);
Objects.requireNonNull(name);
Bundle result = resolver.call(AUTHORITY, GET_ENCODED_NAME_LENGTH_METHOD_NAME, name,
null);
if (result == null || !result.containsKey(EXTRA_ENCODED_NAME_LENGTH)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment