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

Commit c2f1b1c3 authored by Garfield Tan's avatar Garfield Tan Committed by android-build-merger
Browse files

Fix an issue that DocUI may not refresh on content change.

am: 5a1c7b0e

Change-Id: I9779bb3fc75271bba4d549de6cb7481172933a8a
parents b46c529b 5a1c7b0e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ public final class DirectoryReloadLock {
    @MainThread
    public void unblock() {
        Shared.checkMainLoop();
        assert(mPauseCount > 0);
        mPauseCount--;
        if (mPauseCount == 0 && mCallback != null) {
            mCallback.run();
+5 −3
Original line number Diff line number Diff line
@@ -179,9 +179,11 @@ public final class GestureSelector {
    // Essentially, since this means all gesture movement is over, reset everything.
    private boolean handleUpEvent(InputEvent e) {
        mLastStartedItemPos = -1;
        if (mStarted) {
            mStarted = false;
            mSelectionMgr.getSelection().applyProvisionalSelection();
            mLock.unblock();
        }
        return false;
    }