Merge "Don't take invisible screenshots" into oc-mr1-dev am: 6d9d42f6aa
am: 41fe2539f3
Change-Id: I75229cf1b8aafc7c8a933a9d2c7c6d4ac19e68d4
This commit is contained in:
@@ -3070,7 +3070,7 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
|
||||
final boolean foundTargetWs =
|
||||
(w.mAppToken != null && w.mAppToken.token == appToken)
|
||||
|| (mScreenshotApplicationState.appWin != null && wallpaperOnly);
|
||||
if (foundTargetWs && winAnim.getShown()) {
|
||||
if (foundTargetWs && winAnim.getShown() && winAnim.mLastAlpha > 0f) {
|
||||
mScreenshotApplicationState.screenshotReady = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user