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

* commit '423c824b5084b42391a85ce990338b0ed7b3ca1b':
  Remove default activity title to prevent talkback from...
This commit is contained in:
Makoto Onuki
2015-06-24 00:26:13 +00:00
committed by Android Git Automerger

View File

@@ -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());