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

Commit afcf7634 authored by Shawn Lin's avatar Shawn Lin Committed by Android (Google) Code Review
Browse files

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

parents 1bbf37a6 bd8f893e
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1089,13 +1089,10 @@ 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 {