Merge "Ignore the prefModeId only for PiP windows, rather than all non-focussed windows." into tm-qpr-dev
This commit is contained in:
@@ -982,7 +982,9 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
|
|||||||
|
|
||||||
final int preferredModeId = getDisplayPolicy().getRefreshRatePolicy()
|
final int preferredModeId = getDisplayPolicy().getRefreshRatePolicy()
|
||||||
.getPreferredModeId(w);
|
.getPreferredModeId(w);
|
||||||
if (w.isFocused() && mTmpApplySurfaceChangesTransactionState.preferredModeId == 0
|
|
||||||
|
if (w.getWindowingMode() != WINDOWING_MODE_PINNED
|
||||||
|
&& mTmpApplySurfaceChangesTransactionState.preferredModeId == 0
|
||||||
&& preferredModeId != 0) {
|
&& preferredModeId != 0) {
|
||||||
mTmpApplySurfaceChangesTransactionState.preferredModeId = preferredModeId;
|
mTmpApplySurfaceChangesTransactionState.preferredModeId = preferredModeId;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user