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

Commit 6a9ccd12 authored by Erfan Norozi's avatar Erfan Norozi Committed by Android (Google) Code Review
Browse files

Merge "Fix broken context menu test in ActionHandler." into main

parents 9d3785d5 6fdb0850
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -460,7 +460,10 @@ public class ActionHandlerTest {
        assertEquals(false, result);
    }

    // Require desktop file handling flag because when it's disabled proguard strips the
    // openDocumentViewOnly function because it's not used anywhere reachable by production code.
    @Test
    @RequiresFlagsEnabled({Flags.FLAG_DESKTOP_FILE_HANDLING})
    public void testDocumentContextMenuOpen() throws Exception {
        mActivity.resources.setQuickViewerPackage("corptropolis.viewer");
        mActivity.currentRoot = TestProvidersAccess.HOME;