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

Commit 01f99447 authored by Jim Miller's avatar Jim Miller
Browse files

Fix 3305645: Hide recents if there are no recent apps.

Change-Id: I7a6131b22fd73cb8dae12b8bb80a5921414c1861
parent 3459e27e
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -252,7 +252,11 @@ public class RecentAppsPanel extends LinearLayout implements StatusBarPanel, OnC

    private void refreshApplicationList() {
        mActivityDescriptions = getRecentTasks();
        if (mActivityDescriptions.size() > 0) {
            updateUiElements(getResources().getConfiguration(), true);
        } else {
            mBar.animateCollapse();
        }
    }

    private Bitmap compositeBitmap(Bitmap background, Bitmap thumbnail) {