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

Commit 98e58262 authored by Ben Lin's avatar Ben Lin
Browse files

DO NOT MERGE ANYWHERE Revert "Using Activity#setTitle to have TalkBack announce root traversal."

This reverts commit 4c80659e.

Change-Id: Id5fa68f37170e61e2e63fdb3a60e8a3db79c81fa
parent 4c80659e
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -387,12 +387,6 @@ public abstract class BaseActivity extends Activity
        }

        mNavigator.update();
        // Causes talkback to announce the activity's new title
        if (mState.stack.isRecents()) {
            setTitle(mRoots.getRecentsRoot().title);
        } else {
            setTitle(mState.stack.getTitle());
        }
        invalidateOptionsMenu();
    }

+1 −1
Original line number Diff line number Diff line
@@ -192,7 +192,7 @@ public class FilesActivity extends BaseActivity {
        Intent intent = getIntent();
        return (intent != null && intent.hasExtra(Intent.EXTRA_TITLE))
                ? intent.getStringExtra(Intent.EXTRA_TITLE)
                : getString(R.string.downloads_label);
                : getTitle().toString();
    }

    @Override