Merge "Can not reset the sim name in the onboarding sim flow" into main

This commit is contained in:
SongFerng Wang
2024-07-26 16:12:48 +00:00
committed by Android (Google) Code Review
2 changed files with 71 additions and 0 deletions

View File

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