summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/11/changes
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2011-01-13 17:56:35 -0800
committerJim Miller <jaggies@google.com>2011-01-14 18:01:12 -0800
commit8b886fab5496b0b1f5193f21855220176deddc37 (patch)
tree38cad39f24e37fa645e148422d3242afefc3a0e2 /docs/html/sdk/api_diff/11/changes
parent5a40b8ef81034e00f886010c71dccd62b919028b (diff)
Fix 3106227: use WeakReferences for receivers in DigitalClock class
This works around a bug in the framework where LockScreen wouldn't get GC'd under certain circumstances which would lead to an OOM crash. It now uses WeakReferences for observers inside the DigitalClock container class and unregisters them if the containing DigitalClock goes away. Also removed mLive variable which was unused and could potentially leak the receivers. Left mAttached for debugging so we can use it to determine if the calls to onAttachToWindow() and onDetachFromWindow() are grossly unbalanced which may be the root cause of the original problem. Have cleanUp() explicitly clear unused references to make tracing through hprof references easier. Change-Id: I99a7e0c356001b05eab5aa729564553666febfea
Diffstat (limited to 'docs/html/sdk/api_diff/11/changes')
0 files changed, 0 insertions, 0 deletions