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

Commit 9d60d4bb authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Reduce the log spam in some of the IMS classes

Bug: 149100088
Test: atest TeleServiceTests; atest FrameworksTelephonyTests
Change-Id: I936fdb50084fbf5e4ea2f43a339cc2c3e0019d35
parent 6e27787a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ import java.util.concurrent.Executor;
 */
public class FeatureConnector<T extends IFeatureConnector> extends Handler {
    private static final String TAG = "FeatureConnector";
    private static final boolean DBG = true;
    private static final boolean DBG = false;

    // Initial condition for ims connection retry.
    private static final int IMS_RETRY_STARTING_TIMEOUT_MS = 500; // ms
@@ -206,7 +206,7 @@ public class FeatureConnector<T extends IFeatureConnector> extends Handler {
        removeCallbacks(mGetServiceRunnable);
        int timeout = mRetryTimeout.get();
        postDelayed(mGetServiceRunnable, timeout);
        if (DBG) log("retryGetImsService: unavailable, retrying in " + timeout + " seconds");
        if (DBG) log("retryGetImsService: unavailable, retrying in " + timeout + " ms");
    }

    // Callback fires when IMS Feature changes state
@@ -264,7 +264,7 @@ public class FeatureConnector<T extends IFeatureConnector> extends Handler {
            mListener.connectionReady(manager);
        }
        catch (ImsException e) {
            logw("notifyReady exception: " + e.getMessage());
            if(DBG) log("notifyReady exception: " + e.getMessage());
            throw e;
        }
        // Only reset retry count if connectionReady does not generate an ImsException/
+1 −3
Original line number Diff line number Diff line
@@ -133,10 +133,8 @@ public class RcsFeatureConnection extends FeatureConnection {
            // Trigger the cache to be updated for feature status.
            serviceProxy.getFeatureState();
        } else {
            Rlog.w(TAG, "create: binder is null! Slot Id: " + slotId);
            Rlog.i(TAG, "create: binder is null! Slot Id: " + slotId);
        }

        Rlog.d(TAG, "create: RcsFeatureConnection done");
        return serviceProxy;
    }

+0 −1
Original line number Diff line number Diff line
@@ -154,7 +154,6 @@ public class RcsFeatureManager implements IFeatureConnector {
    public RcsFeatureManager(Context context, int slotId) {
        mContext = context;
        mSlotId = slotId;
        logi("RcsFeatureManager");

        createImsService();
    }