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

Commit 9aa86f1e authored by Makoto Onuki's avatar Makoto Onuki Committed by Android Git Automerger
Browse files

am d1e62d9d: Merge "Remove default activity title to prevent talkback from..." into mnc-dev

* commit 'd1e62d9dfd0c995084046188fbde7dac40401162':
  Remove default activity title to prevent talkback from...
parents db7bbd67 4f99622c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -186,6 +186,9 @@ public class DocumentsActivity extends BaseActivity {
        }

        if (!mState.restored) {
            // In this case, we set the activity title in AsyncTask.onPostExecute().  To prevent
            // talkback from reading aloud the default title, we clear it here.
            setTitle("");
            if (mState.action == ACTION_MANAGE || mState.action == ACTION_BROWSE) {
                final Uri rootUri = getIntent().getData();
                new RestoreRootTask(rootUri).executeOnExecutor(getCurrentExecutor());