Merge "DO NOT MERGE ANYWHERE" into nyc-mr2-dev
This commit is contained in:
@@ -387,6 +387,12 @@ public abstract class BaseActivity extends Activity
|
|||||||
}
|
}
|
||||||
|
|
||||||
mNavigator.update();
|
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();
|
invalidateOptionsMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ public class FilesActivity extends BaseActivity {
|
|||||||
Intent intent = getIntent();
|
Intent intent = getIntent();
|
||||||
return (intent != null && intent.hasExtra(Intent.EXTRA_TITLE))
|
return (intent != null && intent.hasExtra(Intent.EXTRA_TITLE))
|
||||||
? intent.getStringExtra(Intent.EXTRA_TITLE)
|
? intent.getStringExtra(Intent.EXTRA_TITLE)
|
||||||
: getTitle().toString();
|
: getString(R.string.downloads_label);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user