summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2014-11-20 17:03:43 +0800
committercretin45 <cretin45@gmail.com>2014-12-15 14:57:25 -0800
commitc606d953a8d6b7a8b7957c8652a93e8d8a518925 (patch)
treeaf1f1685aa2d6c8518e9f56c13407ae5c1d51063
parent7be87f77ae1480f4d4e36d0fca85c11354d2f672 (diff)
downloadandroid_packages_apps_Gallery2-c606d953a8d6b7a8b7957c8652a93e8d8a518925.tar.gz
android_packages_apps_Gallery2-c606d953a8d6b7a8b7957c8652a93e8d8a518925.tar.bz2
android_packages_apps_Gallery2-c606d953a8d6b7a8b7957c8652a93e8d8a518925.zip
Gallery2: Displayed titles in ActionBar during video playback
There is no displayed titles in ActionBar during video playback Add the ActionBar Flag to displayed titles in ActionBar during video playback CRs-Fixed: 758779 Change-Id: I24da392c0dd64b8f1c520bfe75c90f38088c612a
-rw-r--r--src/com/android/gallery3d/app/MovieActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/app/MovieActivity.java b/src/com/android/gallery3d/app/MovieActivity.java
index e42314025..ff874fbe0 100644
--- a/src/com/android/gallery3d/app/MovieActivity.java
+++ b/src/com/android/gallery3d/app/MovieActivity.java
@@ -253,8 +253,8 @@ public class MovieActivity extends Activity {
}
setActionBarLogoFromIntent(intent);
actionBar.setDisplayOptions(
- ActionBar.DISPLAY_HOME_AS_UP,
- ActionBar.DISPLAY_HOME_AS_UP);
+ ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_TITLE,
+ ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_TITLE);
String title = intent.getStringExtra(Intent.EXTRA_TITLE);
if (title != null) {