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

Commit 00cfceee authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Register IonHeapSize puller only if supported" into rvc-dev am: bb26e42b am: f28dae92

Change-Id: I91bae37645f330d100c56ad02b89e576affef81d
parents bae8353f f28dae92
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,