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

Commit f28dae92 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

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

Change-Id: I1729b0c60cac01f95cac0673044cb9e57c4b3036
parents 11fe366b bb26e42b
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,