1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-12 06:08:25 -05:00

Set action bar title for Accounts activity in onCreate()

This commit is contained in:
cketti 2012-12-07 13:43:42 +01:00
parent 144884080d
commit 4ccb1c952a

View File

@ -407,6 +407,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener {
} }
restoreAccountStats(icicle); restoreAccountStats(icicle);
mHandler.setViewTitle();
// Handle activity restarts because of a configuration change (e.g. rotating the screen) // Handle activity restarts because of a configuration change (e.g. rotating the screen)
mNonConfigurationInstance = (NonConfigurationInstance) getLastNonConfigurationInstance(); mNonConfigurationInstance = (NonConfigurationInstance) getLastNonConfigurationInstance();