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

Commit bb26e42b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Register IonHeapSize puller only if supported" into rvc-dev

parents c0cc6a53 ded8305c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1468,6 +1468,9 @@ public class StatsPullAtomService extends SystemService {
    }

    private void registerIonHeapSize() {
        if (!new File("/sys/kernel/ion/total_heaps_kb").exists()) {
            return;
        }
        int tagId = FrameworkStatsLog.ION_HEAP_SIZE;
        mStatsManager.registerPullAtomCallback(
                tagId,