commit | 2cd3fb5aa71cd32cd67ddfaafaca8f85a7ac13c6 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Mon Nov 18 12:23:26 2013 -0800 |
committer | Adam Lesinski <adamlesinski@google.com> | Mon Nov 18 12:29:34 2013 -0800 |
tree | 11d46ef291ddc977829e3837011afe6edc5dbab3 | |
parent | 2229ca031a326491feea5832e5337e9f8a602dca [diff] |
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