Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22351c32 authored by Kirill Grouchnikov's avatar Kirill Grouchnikov
Browse files

Remove tracking of all drawables in ViewOverlay.clear()

Bug: 27529505
Change-Id: Ibf35ffb7b9883ed8321107fc793d50172dff26f2
parent 497b473b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -216,6 +216,9 @@ public class ViewOverlay {
        public void clear() {
            removeAllViews();
            if (mDrawables != null) {
                for (Drawable drawable : mDrawables) {
                    drawable.setCallback(null);
                }
                mDrawables.clear();
            }
        }