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

Commit 614f9a99 authored by Charles Chen's avatar Charles Chen
Browse files

Cleanup addFoldingStateChangedCallback

Fixes: 284911087
Test: presubmit
Change-Id: Iee45be1631269789acbd97555a50542f9fba9cdd
parent dc180e5e
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -98,14 +98,6 @@ public class WindowLayoutComponentImpl implements WindowLayoutComponent {
        mTaskFragmentOrganizer = taskFragmentOrganizer;
    }

    /** Registers to listen to {@link CommonFoldingFeature} changes */
    public void addFoldingStateChangedCallback(
            java.util.function.Consumer<List<CommonFoldingFeature>> consumer) {
        synchronized (mLock) {
            mFoldingFeatureProducer.addDataChangedCallback(consumer);
        }
    }

    /**
     * Adds a listener interested in receiving updates to {@link WindowLayoutInfo}
     *