projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add changes after CR
[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
98ce2fc
..
36f468e
100644
(file)
--- a/
src/com/owncloud/android/ui/preview/PreviewImageActivity.java
+++ b/
src/com/owncloud/android/ui/preview/PreviewImageActivity.java
@@
-84,8
+84,6
@@
ViewPager.OnPageChangeListener, OnRemoteOperationListener {
private boolean mRequestWaitingForBinder;
private DownloadFinishReceiver mDownloadFinishReceiver;
private boolean mRequestWaitingForBinder;
private DownloadFinishReceiver mDownloadFinishReceiver;
-
- //private boolean mFullScreen;
private View mFullScreenAnchorView;
private View mFullScreenAnchorView;
@@
-111,7
+109,6
@@
ViewPager.OnPageChangeListener, OnRemoteOperationListener {
// Immersive Mode
if (isHoneycombOrHigher()) {
// Immersive Mode
if (isHoneycombOrHigher()) {
- // mFullScreen = true;
mFullScreenAnchorView = getWindow().getDecorView();
// to keep our UI controls visibility in line with system bars
// visibility
mFullScreenAnchorView = getWindow().getDecorView();
// to keep our UI controls visibility in line with system bars
// visibility
@@
-193,8
+190,7
@@
ViewPager.OnPageChangeListener, OnRemoteOperationListener {
super.onWindowFocusChanged(hasFocus);
// When the window loses focus (e.g. the action overflow is shown),
super.onWindowFocusChanged(hasFocus);
// When the window loses focus (e.g. the action overflow is shown),
- // cancel any pending hide action. When the window gains focus,
- // hide the system UI.
+ // cancel any pending hide action.
if (!hasFocus) {
mHideSystemUiHandler.removeMessages(0);
}
if (!hasFocus) {
mHideSystemUiHandler.removeMessages(0);
}
@@
-468,7
+464,8
@@
ViewPager.OnPageChangeListener, OnRemoteOperationListener {
if (isHoneycombOrHigher()) {
if (isHoneycombOrHigher()) {
- boolean visible = (mFullScreenAnchorView.getSystemUiVisibility() & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0;
+ boolean visible = (mFullScreenAnchorView.getSystemUiVisibility()
+ & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0;
if (visible) {
hideSystemUI(mFullScreenAnchorView);
if (visible) {
hideSystemUI(mFullScreenAnchorView);