diff options
author | Evan Millar <emillar@google.com> | 2011-10-03 14:15:38 -0700 |
---|---|---|
committer | Evan Millar <emillar@google.com> | 2011-10-03 14:16:22 -0700 |
commit | 20cb268c47ce382859c6b3245e71a73e05a629d4 (patch) | |
tree | dad85d5f547d2d2e10531b09401be729e74257e6 /src | |
parent | fbd9b9f3ad927f2757807abc562dd2f6d3bea126 (diff) | |
download | android_packages_apps_Gallery2-20cb268c47ce382859c6b3245e71a73e05a629d4.tar.gz android_packages_apps_Gallery2-20cb268c47ce382859c6b3245e71a73e05a629d4.tar.bz2 android_packages_apps_Gallery2-20cb268c47ce382859c6b3245e71a73e05a629d4.zip |
Remove the "Gallery" title from the AlbumSet page.
bug:5239335
Change-Id: Iebe624fe8829cf6f905872caa958ebdc76aaa349
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/gallery3d/app/AlbumSetPage.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/com/android/gallery3d/app/AlbumSetPage.java b/src/com/android/gallery3d/app/AlbumSetPage.java index 3cbbf23a2..644d56578 100644 --- a/src/com/android/gallery3d/app/AlbumSetPage.java +++ b/src/com/android/gallery3d/app/AlbumSetPage.java @@ -75,7 +75,6 @@ public class AlbumSetPage extends ActivityState implements private AlbumSetView mAlbumSetView; private MediaSet mMediaSet; - private String mTitle; private String mSubtitle; private boolean mShowClusterMenu; private int mSelectedAction; @@ -270,7 +269,6 @@ public class AlbumSetPage extends ActivityState implements Context context = mActivity.getAndroidContext(); mGetContent = data.getBoolean(Gallery.KEY_GET_CONTENT, false); mGetAlbum = data.getBoolean(Gallery.KEY_GET_ALBUM, false); - mTitle = data.getString(AlbumSetPage.KEY_SET_TITLE); mSubtitle = data.getString(AlbumSetPage.KEY_SET_SUBTITLE); mEyePosition = new EyePosition(context, this); mDetailsSource = new MyDetailsSource(); @@ -391,11 +389,7 @@ public class AlbumSetPage extends ActivityState implements } else { mShowClusterMenu = !inAlbum; inflater.inflate(R.menu.albumset, menu); - if (mTitle != null) { - actionBar.setTitle(mTitle); - } else { - actionBar.setTitle(activity.getApplicationInfo().labelRes); - } + actionBar.setTitle(null); MenuItem selectItem = menu.findItem(R.id.action_select); if (selectItem != null) { |