~aleteoryx/muditaos

6b329ce52257773e3a027fc90a15b352129a35b8 — Marcin Zieliński 3 years ago 72e2a30
[MOS-242] Fix windows flow after PIN mistakes

After too many PIN mistakes during a PIN change,
the user saw distorted windows instead of a PUK
request. Now, this has been fixed.

Also, a typo in a translation has been corrected.
M image/assets/lang/English.json => image/assets/lang/English.json +1 -1
@@ 224,7 224,7 @@
  "app_desktop_info_mmi_result_failed": "Failed",
  "sim_header_setup": "<text><token>$SIM</token> setup</text>",
  "sim_enter_pin_unlock": "<text>Enter the PIN code to set up <br></br> the <token>$PINTYPE</token> card:</text>",
  "sim_enter_enter_current": "<text>Type current Pin Code:</text>",
  "sim_enter_enter_current": "<text>Type current PIN code:</text>",
  "sim_change_pin": "Change PIN code",
  "sim_enter_new_pin": "Enter new PIN code:",
  "sim_confirm_new_pin": "Confirm new PIN code:",

M module-services/service-cellular/src/SimCard.cpp => module-services/service-cellular/src/SimCard.cpp +8 -1
@@ 227,9 227,16 @@ namespace cellular
                }
            }
            else if (result != sim::Result::OK) {
                if (onUnhandledCME)
                if (result == sim::Result::SIM_PUKRequired) {
                    // MOS-242: silence this case to avoid a misleading "wrong PUK" pop-up
                    return false;
                }

                if (onUnhandledCME) {
                    onUnhandledCME(static_cast<unsigned int>(result));
                }
            }

            return result == sim::Result::OK;
        }


M pure_changelog.md => pure_changelog.md +1 -0
@@ 29,6 29,7 @@
* Fixed PLAY label translation in German
* Fixed USB connection/disconnection detection
* Fixed memory leaks in APN settings
* Fixed windows flow regarding PUK requests after too many PIN mistakes

### Added
* Added basic MMS handling