Merge "Fix refactoring typo" into oc-dev

This commit is contained in:
Jorim Jaggi
2017-05-18 12:41:18 +00:00
committed by Android (Google) Code Review

View File

@@ -1294,7 +1294,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
* otherwise.
*/
boolean wouldBeVisibleIfPolicyIgnored() {
return mHasSurface && mPolicyVisibility && !isParentWindowHidden()
return mHasSurface && !isParentWindowHidden()
&& !mAnimatingExit && !mDestroying && (!mIsWallpaper || mWallpaperVisible);
}