diff options
author | Adam Powell <adamp@google.com> | 2011-03-01 10:45:34 -0800 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2011-03-01 10:45:34 -0800 |
commit | 763cbb134f40fa1e555c0a945a2a651f69193505 (patch) | |
tree | 2288390e94b7bb00f96f03c9340939303e0d2f70 /core/java/android/app | |
parent | 6ade7c2624af7438fa50238f170db4299707c313 (diff) | |
download | frameworks_base-763cbb134f40fa1e555c0a945a2a651f69193505.zip frameworks_base-763cbb134f40fa1e555c0a945a2a651f69193505.tar.gz frameworks_base-763cbb134f40fa1e555c0a945a2a651f69193505.tar.bz2 |
Fix a bug where the lazy-initialized ActionBar object was being too lazy.
Change-Id: I80dc06deffd1df8cc8ae96fd878d66a101a17086
Diffstat (limited to 'core/java/android/app')
-rw-r--r-- | core/java/android/app/Activity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index 9e72c1b..c502e6f 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -2417,6 +2417,7 @@ public class Activity extends ContextThemeWrapper */ public boolean onMenuOpened(int featureId, Menu menu) { if (featureId == Window.FEATURE_ACTION_BAR) { + initActionBar(); if (mActionBar != null) { mActionBar.dispatchMenuVisibilityChanged(true); } else { |