~aleteoryx/muditaos

cfa409eb97f1d29059d3049b063c754d590f7d86 — rrandomsky 2 years ago da838b8
[MOS-341] Fixed autofill data during adding previously deleted phone number

Fixed a scenario when the user, after deleting some contact, wont to add
this previously deleted number to contact by providing a phone number from
home screen and clicking Add button.
2 files changed, 3 insertions(+), 2 deletions(-)

M module-apps/application-call/ApplicationCall.cpp
M pure_changelog.md
M module-apps/application-call/ApplicationCall.cpp => module-apps/application-call/ApplicationCall.cpp +2 -2
@@ 283,8 283,8 @@ namespace app

        auto numberView    = utils::PhoneNumber(number).getView();
        auto searchResults = DBServiceAPI::MatchContactByPhoneNumber(this, numberView);
        if (searchResults != nullptr) {
            LOG_INFO("Found contact matching search num : contact ID %" PRIu32, searchResults->ID);
        if (searchResults != nullptr && !searchResults->isTemporary()) {
            LOG_INFO("Found contact matching (non temporary) search num : contact ID %" PRIu32, searchResults->ID);
            app::manager::Controller::sendAction(this,
                                                 app::manager::actions::EditContact,
                                                 std::make_unique<PhonebookItemData>(std::move(searchResults)));

M pure_changelog.md => pure_changelog.md +1 -0
@@ 45,6 45,7 @@
* Fixed missing notification about new SMS when phone was locked on application Messages
* Fixed MTP availability only after phone unlocked
* Fixed a ghost call after quick click back key to end a call after start a call
* Fixed autofill data during adding previously deleted phone number from dialing window

## [1.7.0 2023-03-23]
### Changed / Improved