Merge "Register IonHeapSize puller only if supported" into rvc-dev am: bb26e42b19
Change-Id: Id82283fc58ccfd1e875eab6c34633112d4699249
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