Merge "Remove tracking of all drawables in ViewOverlay.clear()" into nyc-dev
am: a487ab1368
* commit 'a487ab13682d6e60c6ff41a5b9f708b752efc776':
Remove tracking of all drawables in ViewOverlay.clear()
This commit is contained in:
@@ -216,6 +216,9 @@ public class ViewOverlay {
|
||||
public void clear() {
|
||||
removeAllViews();
|
||||
if (mDrawables != null) {
|
||||
for (Drawable drawable : mDrawables) {
|
||||
drawable.setCallback(null);
|
||||
}
|
||||
mDrawables.clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user