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

Commit 72fb3ffc authored by sqian's avatar sqian
Browse files

Remove/Modify some logs in SubscriptionController to prevent log flood.

Test: no need; treehuger
Bug: 64155166
Change-Id: I77197d23960966a8e6270598b41b2ed1dfc086c3
parent 714936fa
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -666,8 +666,6 @@ public class SubscriptionController extends ISub.Stub {
     */
    @Override
    public int getActiveSubInfoCount(String callingPackage) {
        if (DBG) logd("[getActiveSubInfoCount]+");

        if (!canReadPhoneState(callingPackage, "getActiveSubInfoCount")) {
            return 0;
        }
@@ -678,10 +676,10 @@ public class SubscriptionController extends ISub.Stub {
            List<SubscriptionInfo> records = getActiveSubscriptionInfoList(
                    mContext.getOpPackageName());
            if (records == null) {
                if (DBG) logd("[getActiveSubInfoCount] records null");
                if (VDBG) logd("[getActiveSubInfoCount] records null");
                return 0;
            }
            if (DBG) logd("[getActiveSubInfoCount]- count: " + records.size());
            if (VDBG) logd("[getActiveSubInfoCount]- count: " + records.size());
            return records.size();
        } finally {
            Binder.restoreCallingIdentity(identity);