diff --git a/services/core/java/com/android/server/stats/pull/SystemMemoryUtil.java b/services/core/java/com/android/server/stats/pull/SystemMemoryUtil.java index 628c1d61ce9a6..9f8b27f5f1bfb 100644 --- a/services/core/java/com/android/server/stats/pull/SystemMemoryUtil.java +++ b/services/core/java/com/android/server/stats/pull/SystemMemoryUtil.java @@ -26,7 +26,7 @@ final class SystemMemoryUtil { private SystemMemoryUtil() {} static Metrics getMetrics() { - int totalIonKb = (int) Debug.getIonHeapsSizeKb(); + int totalIonKb = (int) Debug.getDmabufHeapTotalExportedKb(); int gpuTotalUsageKb = (int) Debug.getGpuTotalUsageKb(); int gpuDmaBufUsageKb = (int) Debug.getGpuDmaBufUsageKb(); int dmaBufTotalExportedKb = (int) Debug.getDmabufTotalExportedKb();