Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Tray position fix when exiting from fullscreen mode and video vr mode (
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored and MortimerGoro committed Sep 3, 2019
1 parent 6936977 commit 0402fd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ private void enterFullScreenMode() {

private void exitFullScreenMode() {
if (!mIsInFullScreenMode) {
mWidgetManager.setTrayVisible(true);
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,9 @@ public void setTrayVisible(boolean aVisible) {
if (mTrayVisible != aVisible) {
mTrayVisible = aVisible;
updateVisibility();

} else {
mWidgetManager.updateWidget(this);
}
}

Expand Down

0 comments on commit 0402fd3

Please sign in to comment.