diff options
author | Sanket Padawe <sanketpadawe@google.com> | 2014-11-04 17:34:47 -0800 |
---|---|---|
committer | Sanket Padawe <sanketpadawe@google.com> | 2014-11-04 17:34:47 -0800 |
commit | c9f823e22a9fbaaa016fd250dcfffd6e655b75ec (patch) | |
tree | 17b69e149238a6381cd1972205f9fe16c4e06aa0 | |
parent | 2a03d8e2991b64740c803c65e2e09ba69180a02e (diff) | |
download | packages_apps_Settings-c9f823e22a9fbaaa016fd250dcfffd6e655b75ec.zip packages_apps_Settings-c9f823e22a9fbaaa016fd250dcfffd6e655b75ec.tar.gz packages_apps_Settings-c9f823e22a9fbaaa016fd250dcfffd6e655b75ec.tar.bz2 |
Sim name doesn't persist on reboot
Sim name was not persisting on changed by user because of wrong api call.
Bug: 18024820
Change-Id: I7dee4a181f17f8cfabe48fefb92d7fc407efbe59
-rw-r--r-- | src/com/android/settings/sim/SimSettings.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/sim/SimSettings.java b/src/com/android/settings/sim/SimSettings.java index 706e0f3..6a66111 100644 --- a/src/com/android/settings/sim/SimSettings.java +++ b/src/com/android/settings/sim/SimSettings.java @@ -570,7 +570,8 @@ public class SimSettings extends RestrictedSettingsFragment implements Indexable String displayName = nameText.getText().toString(); int subId = mSubInfoRecord.getSubscriptionId(); mSubInfoRecord.setDisplayName(displayName); - SubscriptionManager.setDisplayName(displayName, subId); + SubscriptionManager.setDisplayName(displayName, subId, + SubscriptionManager.NAME_SOURCE_USER_INPUT); findRecordBySubId(subId).setDisplayName(displayName); final int colorSelected = colorSpinner.getSelectedItemPosition(); |