|
@@ -102,11 +102,6 @@ public class FolderPickerActivity extends FileActivity implements FileFragment.C
|
|
|
|
|
|
// Action bar setup
|
|
|
setupToolbar();
|
|
|
-
|
|
|
- if (getSupportActionBar() != null) {
|
|
|
- getSupportActionBar().setDisplayShowTitleEnabled(true);
|
|
|
- getSupportActionBar().setTitle(caption);
|
|
|
- }
|
|
|
|
|
|
if (getIntent().getStringExtra(EXTRA_ACTION) != null) {
|
|
|
caption = getIntent().getStringExtra(EXTRA_ACTION);
|
|
@@ -114,6 +109,11 @@ public class FolderPickerActivity extends FileActivity implements FileFragment.C
|
|
|
caption = ThemeUtils.getDefaultDisplayNameForRootFolder();
|
|
|
}
|
|
|
|
|
|
+ if (getSupportActionBar() != null) {
|
|
|
+ getSupportActionBar().setDisplayShowTitleEnabled(true);
|
|
|
+ getSupportActionBar().setTitle(caption);
|
|
|
+ }
|
|
|
+
|
|
|
setIndeterminate(mSyncInProgress);
|
|
|
// always AFTER setContentView(...) ; to work around bug in its implementation
|
|
|
|