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

Commit 009d8cc6 authored by Charles Chen's avatar Charles Chen Committed by Android (Google) Code Review
Browse files

Merge "Cleanup addFoldingStateChangedCallback" into main

parents 4591ed8c 614f9a99
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}
     *