Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2714660d authored by Karthick M J's avatar Karthick M J
Browse files

Fix incorrect satellite config udater metrics logging

We are emitting CONFIG_UPDATE_RESULT_NO_DATA whenever we update
plmn, supported services. And satellite config being empty is totally
fine, in case if there hasn't been a config update. So reporting
it as CONFIG_UPDATE_RESULT_NO_DATA seems like noise.

Test: atest TelephonyConfigUpdateInstallReceiverTest
Bug: 404563574
Flag: EXEMPT bugfix
Change-Id: Iddce82393435230dc0cccac8b6a1485cc5307f75
parent 73c4f11c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -258,8 +258,6 @@ public class TelephonyConfigUpdateInstallReceiver extends ConfigUpdateInstallRec
    public ConfigParser getNewConfigParser(String domain, @Nullable byte[] data) {
        if (data == null) {
            Log.d(TAG, "content data is null");
            mConfigUpdaterMetricsStats.reportOemAndCarrierConfigError(
                    SatelliteConstants.CONFIG_UPDATE_RESULT_NO_DATA);
            return null;
        }
        switch (domain) {