Skip to content
Commit edbfdb38 authored by Winson Chung's avatar Winson Chung
Browse files

Prevent adding duplicate callbacks to the state controller

- KeyguardBottomAreaView can add itself multiple times as a callback,
  which can leak a bitmap via that view if the state controller keeps
  an extra ref to it.

Bug: 141555865
Bug: 140629244
Test: Change overlays multiple times, take heap dump and ensure no
      leaked bitmaps

Change-Id: I8169eac24d8801ae71e4bdc60a16c68eb3896cc4
parent 85ce7cb0
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