Skip to content
Snippets Groups Projects
Commit 8ab5cf67 authored by Jooyung Han's avatar Jooyung Han
Browse files

Fix self-assign error in SimPhonebookContract

Bug: 180472752
Test: atest
FrameworksTelephonyTests: com.android.internal.telephony.uicc.IccUtilsTest
TeleServiceTests: SimPhonebookProviderTest
Change-Id: I1a8c0dabee3ca90fcdeca263a4c943e01fbae75e
parent 9a90bb9e
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