summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2013-11-18 12:23:26 -0800
committerAdam Lesinski <adamlesinski@google.com>2013-11-18 12:29:34 -0800
commit2cd3fb5aa71cd32cd67ddfaafaca8f85a7ac13c6 (patch)
tree11d46ef291ddc977829e3837011afe6edc5dbab3 /media
parent2229ca031a326491feea5832e5337e9f8a602dca (diff)
downloadframeworks_base-2cd3fb5aa71cd32cd67ddfaafaca8f85a7ac13c6.zip
frameworks_base-2cd3fb5aa71cd32cd67ddfaafaca8f85a7ac13c6.tar.gz
frameworks_base-2cd3fb5aa71cd32cd67ddfaafaca8f85a7ac13c6.tar.bz2
Do not hold direct ref BatteryStatsImpl$Uid$Proc
BatteryStatsImpl can reset its collected data, including removing a BatteryStatsImpl$Uid$Proc object. If a ProcessRecord has a direct reference, then the battery stats for a process will be recorded in an old Proc object and prevent GC, causing a memory leak. bug:11087238 Change-Id: I19a9cd9d8361c10446a8ebdd5c0860b56c442209
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions