Merge "Register IonHeapSize puller only if supported" into rvc-dev am: bb26e42b19 am: f28dae923f
Change-Id: I721e3173b80b145857556a5325f6f4681b9264c8
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user