~aleteoryx/muditaos

3b67389034e33bc10f8f6ebcbbd93d4495476f88 — Jakub Pyszczak 4 years ago 49b82ca
[EGD-7162] Removed sensitive data from settings app

During validation tests of EGD-6962 found
sensitive data being logged in settings app.
This PR deletes all of those.
M module-apps/application-settings/ApplicationSettings.cpp => module-apps/application-settings/ApplicationSettings.cpp +1 -1
@@ 97,7 97,7 @@ namespace app
    {
        CellularServiceAPI::SubscribeForOwnNumber(this, [&](const std::string &number) {
            selectedSimNumber = number;
            LOG_DEBUG("Sim number changed: %s", selectedSimNumber.c_str());
            LOG_DEBUG("Sim number changed");
        });
        if ((Store::GSM::SIM::SIM1 == selectedSim || Store::GSM::SIM::SIM2 == selectedSim) &&
            Store::GSM::get()->sim == selectedSim) {

M module-apps/application-settings/windows/bluetooth/AddDeviceWindow.cpp => module-apps/application-settings/windows/bluetooth/AddDeviceWindow.cpp +0 -1
@@ 43,7 43,6 @@ namespace gui
            optionsList.emplace_back(std::make_unique<gui::option::OptionSettings>(
                device.name,
                [=](gui::Item & /*unused*/) {
                    LOG_DEBUG("Device: %s", device.name.c_str());
                    auto pairingDeviceData = std::make_unique<PairingDeviceData>(device);
                    application->switchWindow(gui::window::name::all_devices, std::move(pairingDeviceData));
                    bluetoothSettingsModel->requestDevicePair(bd_addr_to_str(device.address));

M module-apps/application-settings/windows/bluetooth/AllDevicesWindow.cpp => module-apps/application-settings/windows/bluetooth/AllDevicesWindow.cpp +0 -1
@@ 123,7 123,6 @@ namespace gui
            optionsList.emplace_back(std::make_unique<gui::option::OptionSettings>(
                device.name,
                [=](gui::Item & /*item*/) {
                    LOG_DEBUG("Device: %s", device.name.c_str());
                    return handleDeviceAction(newDevice);
                },
                [=](gui::Item &item) {