Merge "Reduce unnecessary screenshot when display is not on" into udc-dev
This commit is contained in:
@@ -690,6 +690,7 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener {
|
||||
if (!wc.mDisplayContent.getDisplayPolicy().isScreenOnFully()
|
||||
|| wc.mDisplayContent.getDisplayInfo().state == Display.STATE_OFF) {
|
||||
mFlags |= WindowManager.TRANSIT_FLAG_INVISIBLE;
|
||||
return;
|
||||
}
|
||||
|
||||
if (mContainerFreezer == null) {
|
||||
|
||||
Reference in New Issue
Block a user