Snap for 7584587 from 6804d23658 to sc-v2-release
Change-Id: I23202cbc395643d229fdbfc796f44e4f1546acd4
This commit is contained in:
@@ -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) :
|
||||
|
||||
Reference in New Issue
Block a user