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

* commit 'd1e62d9dfd0c995084046188fbde7dac40401162':
  Remove default activity title to prevent talkback from...
This commit is contained in:
Makoto Onuki
2015-06-24 00:12:22 +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());