Revert "Fixs user input nothing, but save it successfully"

This reverts commit 6f27b8bca7.

Reason for revert: wrong logic

Change-Id: Ic2eaaa5dd318a2eb92da1a3615590e7d132641a7
This commit is contained in:
Tom Hsu
2024-04-15 01:50:12 +00:00
committed by Android (Google) Code Review
parent 6f27b8bca7
commit 880b8c6dbf

View File

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