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

Commit 876818ab authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski Committed by Android Git Automerger
Browse files

am 9ce9ffec: Merge "Allow to customize title of the dialog." into mnc-dev

* commit '9ce9ffec9e307e29c3d575854d4e357ecf06d2d8':
  Allow to customize title of the dialog.
parents 930559ff 77fd4022
Loading
Loading
Loading
Loading
+12 −7
Original line number Diff line number Diff line
@@ -393,6 +393,10 @@ public class DocumentsActivity extends BaseActivity {
    @Override
    public void updateActionBar() {
        if (mRootsToolbar != null) {
            final String prompt = getIntent().getStringExtra(DocumentsContract.EXTRA_PROMPT);
            if (prompt != null) {
                mRootsToolbar.setTitle(prompt);
            } else {
                if (mState.action == ACTION_OPEN ||
                    mState.action == ACTION_GET_CONTENT ||
                    mState.action == ACTION_OPEN_TREE) {
@@ -402,6 +406,7 @@ public class DocumentsActivity extends BaseActivity {
                    mRootsToolbar.setTitle(R.string.title_save);
                }
            }
        }

        final RootInfo root = getCurrentRoot();
        final boolean showRootIcon = mShowAsDialog