Fix mvno data field summary not update issue
With current code logic, whenever user changing mvno type, it only updates mvno data field text, but the summary is not get updated. For example, there is an apn configured as mvno type 'GID' and mvno data 'FF', and user changes mvno type to: 1. 'none' then save, the APN is saved with mvno type 'none' and mvno data 'FF' while it is better to save mvno data as empty value. 2. 'imsi', although the APN can be saved with mvno type 'imsi' and mvno data 'mcc + mnc + x', the UI still display mvno data field as 'FF' unchanged(until user edit mvno data then save) while the mvno data text is already changed to 'mcc + mnc + x'. It is better to also update mvno data summary as 'mcc + mnc + x' With current patch, either adding new apn or edit exist apn, the mvno data field summary is always consistent with latest mvno data field text, which won't make user feel confused. Test: Build and manual test on device. Change-Id: Ica72e246296c20a6d20283b315e6e6c46e80ac08 Signed-off-by:Wei Huang <hwbest.v@gmail.com> Signed-off-by:
Honggang Luo <luo.loky@gmail.com> Signed-off-by:
Chao Yuan <chaoyuanx@gmail.com>
Loading
Please register or sign in to comment