Skip to content
Commit 6fc752c7 authored by Hui Yu's avatar Hui Yu
Browse files

Revert "Fix the memory leak in BatteryStatsImpl.Timebase.mObservers."

This reverts commit 420ed9ef.

Reason for revert: The WeakReference change can prevent memory leak, but 
but the extra time spend on creating thousands of WeakReference objects has slowed down system_server startup as reported by b/111658334. Revert this CL for now, will find other approach to prevent memory leak. 

Change-Id: I07a5806e36159467459b841f63e2b0c55b6cc10b
parent 38bd60a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment