Merge "Revert "Fixs user input nothing, but save it successfully"" into main

This commit is contained in:
Tom Hsu
2024-04-15 02:13:55 +00:00
committed by Android (Google) Code Review

View File

@@ -225,7 +225,7 @@ class SimOnboardingService {
} }
fun addItemForRenaming(subInfo: SubscriptionInfo, newName: String) { fun addItemForRenaming(subInfo: SubscriptionInfo, newName: String) {
if (newName.isEmpty() && subInfo.displayName == newName) { if (subInfo.displayName == newName) {
return return
} }
renameMutableMap[subInfo.subscriptionId] = newName renameMutableMap[subInfo.subscriptionId] = newName