Merge "Return null for contacts local account"
This commit is contained in:
committed by
Android (Google) Code Review
commit
d694afb4d5
@@ -2952,10 +2952,7 @@ public final class ContactsContract {
|
||||
*/
|
||||
@Nullable
|
||||
public static String getLocalAccountName(@NonNull Context context) {
|
||||
// config_rawContactsLocalAccountName is defined in
|
||||
// platform/frameworks/base/core/res/res/values/config.xml
|
||||
return TextUtils.nullIfEmpty(context.getString(
|
||||
com.android.internal.R.string.config_rawContactsLocalAccountName));
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2971,10 +2968,7 @@ public final class ContactsContract {
|
||||
*/
|
||||
@Nullable
|
||||
public static String getLocalAccountType(@NonNull Context context) {
|
||||
// config_rawContactsLocalAccountType is defined in
|
||||
// platform/frameworks/base/core/res/res/values/config.xml
|
||||
return TextUtils.nullIfEmpty(context.getString(
|
||||
com.android.internal.R.string.config_rawContactsLocalAccountType));
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user