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

Commit 6168317f authored by Winson Chung's avatar Winson Chung
Browse files

resolved conflicts for merge of 7b2ad857 to master

Change-Id: I72472e56b2303aa6ccabd784fadc7da4eabcb0e8
parents 8fbe05fb 7b2ad857
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -1587,7 +1587,13 @@ public class KeyguardHostView extends KeyguardViewBase {

    @Override
    public void cleanUp() {

        // Make sure we let go of all widgets and their package contexts promptly. If we don't do
        // this, and the associated application is uninstalled, it can cause a soft reboot.
        int count = mAppWidgetContainer.getChildCount();
        for (int i = 0; i < count; i++) {
            KeyguardWidgetFrame frame = mAppWidgetContainer.getWidgetPageAt(i);
            frame.removeAllViews();
        }
    }

    /**