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

Commit a35be222 authored by Jiaming Liu's avatar Jiaming Liu
Browse files

Read drag to fullscreen from attributes

Bug: 293654166
Test: manual test with demo app
Flag: com.android.window.flags.activity_embedding_interactive_divider_flag
Change-Id: Iaf19c1c3c66e9d30aaad83b2a9e0af4bddcdce56
parent b283f3d3
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -894,9 +894,7 @@ class DividerPresenter implements View.OnTouchListener {

    private static boolean isDraggingToFullscreenAllowed(
            @NonNull DividerAttributes dividerAttributes) {
        // TODO(b/293654166) Use DividerAttributes.isDraggingToFullscreenAllowed when extension is
        // updated to v7.
        return false;
        return dividerAttributes.isDraggingToFullscreenAllowed();
    }

    /**