projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor method to update title and home (up) button of FileActivity
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
ui
/
preview
/
PreviewImageActivity.java
diff --git
a/src/com/owncloud/android/ui/preview/PreviewImageActivity.java
b/src/com/owncloud/android/ui/preview/PreviewImageActivity.java
index
12ba166
..
3d36f09
100644
(file)
--- a/
src/com/owncloud/android/ui/preview/PreviewImageActivity.java
+++ b/
src/com/owncloud/android/ui/preview/PreviewImageActivity.java
@@
-102,10
+102,9
@@
public class PreviewImageActivity extends FileActivity implements
// ActionBar
ActionBar actionBar = getSupportActionBar();
actionBar.setIcon(DisplayUtils.getSeasonalIconId());
// ActionBar
ActionBar actionBar = getSupportActionBar();
actionBar.setIcon(DisplayUtils.getSeasonalIconId());
-
actionBar.setDisplayHomeAsUpEnabled(true
);
+
updateActionBarTitleAndHomeButton(null
);
actionBar.hide();
actionBar.hide();
- updateActionBarTitleAndHomeButton();
// Make sure we're running on Honeycomb or higher to use FullScreen and
// Immersive Mode
// Make sure we're running on Honeycomb or higher to use FullScreen and
// Immersive Mode