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

Commit 98e2ae20 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5582428 from 97ce4ce5 to qt-release

Change-Id: Id3aeab82de4acef3508c00fea03d4bea5b9e8441
parents 57e88080 97ce4ce5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -162,7 +162,9 @@ public class DocumentStack implements Durable, Parcelable {

        // Add this for keep stack size is 1 on recent root.
        if (root.isRecents()) {
            push(new DocumentInfo());
            DocumentInfo rootRecent = new DocumentInfo();
            rootRecent.deriveFields();
            push(rootRecent);
        }
    }

+2 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.documentsui.base;

import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertFalse;
import static junit.framework.TestCase.assertNotNull;
import static junit.framework.TestCase.assertNull;
import static junit.framework.TestCase.assertTrue;

@@ -196,5 +197,6 @@ public class DocumentStackTest {

        assertEquals(1, mStack.size());
        assertEquals(true, mStack.isRecents());
        assertNotNull(mStack.peek().derivedUri);
    }
}