Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93cbb9ad authored by Marcus Hagerott's avatar Marcus Hagerott Committed by Android (Google) Code Review
Browse files

Merge "Revert "Return null for contacts local account""

parents c0427c3c 6000de4d
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -2956,7 +2956,10 @@ public final class ContactsContract {
         */
        @Nullable
        public static String getLocalAccountName(@NonNull Context context) {
            return null;
            //  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));
        }

        /**
@@ -2972,7 +2975,10 @@ public final class ContactsContract {
         */
        @Nullable
        public static String getLocalAccountType(@NonNull Context context) {
            return null;
            //  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));
        }

        /**