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

Commit 6a27f4cb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revert "Fixed menu item "get info" getting disabled on changing device orientation.""

parents 997e95bd e42d1071
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1089,10 +1089,13 @@ public class DirectoryFragment extends Fragment implements SwipeRefreshLayout.On
            if (!mModel.isLoading()) {
                mActivity.notifyDirectoryLoaded(
                        mModel.doc != null ? mModel.doc.derivedUri : null);
                if (mModel.doc == null) {
                    // Invalid model, then update options menu to disable some items.
                    mActivity.invalidateOptionsMenu();
                }
            }
        }
    }

    private final class AdapterEnvironment implements DocumentsAdapter.Environment {