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

Commit 6e126584 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 7584485 from c9076d3d to sc-release

Change-Id: Ifc607568202dbe64ea399b963cc9c96f86e6a8bf
parents b6b44454 c9076d3d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -63,6 +63,9 @@ public class ProfileUpdateReceiver extends BroadcastReceiver {

    /** Returns whether the current user name is different from the default one. */
    private static boolean isCurrentNameInteresting(Context context, UserManager um) {
        if (!um.isUserNameSet()) {
            return false;
        }
        final String currentName = um.getUserName();
        final String defaultName = um.isRestrictedProfile() || um.isProfile() ?
                context.getString(com.android.settingslib.R.string.user_new_profile_name) :