Skip to content

Commit

Permalink
Fix isLayer() check in WindowWidget (#1684)
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro authored and bluemarvin committed Aug 27, 2019
1 parent 0c77499 commit c51ce02
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -780,6 +780,11 @@ public boolean isVisible() {
return mWidgetPlacement.visible;
}

@Override
public boolean isLayer() {
return mSurface != null && mTexture == null;
}

@Override
public void setVisible(boolean aVisible) {
if (mWidgetPlacement.visible == aVisible) {
Expand Down

0 comments on commit c51ce02

Please sign in to comment.