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

Commit 66e735eb authored by junyulai's avatar junyulai
Browse files

Address ag/11032295 leftover comments

Test: TH
Bug: 148905838
Change-Id: I2af9d4520dd2d22470fe0f975ea33b3e35b906ea
parent b8fd5923
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -316,7 +316,7 @@ public class StatsPullAtomService extends SystemService {

    // Listener for monitoring subscriptions changed event.
    private StatsSubscriptionsListener mStatsSubscriptionsListener;
    // List that store SubInfo of subscriptions that ever appeared since boot.
    // List that stores SubInfo of subscriptions that ever appeared since boot.
    private final CopyOnWriteArrayList<SubInfo> mHistoricalSubs = new CopyOnWriteArrayList<>();

    public StatsPullAtomService(Context context) {
@@ -672,7 +672,7 @@ public class StatsPullAtomService extends SystemService {
                collectNetworkStatsSnapshotForAtom(FrameworkStatsLog.DATA_USAGE_BYTES_TRANSFER));

        // Listen to subscription changes to record historical subscriptions that activated before
        // pulling, this is used by {@link #pullMobileBytesTransfer}.
        // pulling, this is used by {@code DATA_USAGE_BYTES_TRANSFER}.
        mSubscriptionManager.addOnSubscriptionsChangedListener(
                BackgroundThread.getExecutor(), mStatsSubscriptionsListener);