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

Commit 3d35c546 authored by Jack Yoo's avatar Jack Yoo Committed by Gerrit - the friendly Code Review server
Browse files

EditorUtil: Complying to new accoutType api

Changing parameter to comply with new accountType api

Change-Id: Ie4d6ee91b0fb1c996a1411da3a21f17f80be1bfc
parent f9c1e4ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -88,7 +88,7 @@ public class EditorUiUtils {
     */
     */
    public static Pair<String,String> getAccountInfo(Context context, boolean isProfile,
    public static Pair<String,String> getAccountInfo(Context context, boolean isProfile,
            String accountName, AccountType accountType) {
            String accountName, AccountType accountType) {
        CharSequence accountTypeDisplayLabel = accountType.getDisplayLabel(context, accountName);
        CharSequence accountTypeDisplayLabel = accountType.getDisplayLabel(context);


        if (isProfile) {
        if (isProfile) {
            if (TextUtils.isEmpty(accountName)) {
            if (TextUtils.isEmpty(accountName)) {