Merge "Don't show immersive mode dialog over dream window" into rvc-dev

This commit is contained in:
Galia Peycheva
2020-06-23 15:09:05 +00:00
committed by Android (Google) Code Review

View File

@@ -3782,7 +3782,8 @@ public class DisplayPolicy {
&& (behavior == BEHAVIOR_SHOW_BARS_BY_SWIPE
|| behavior == BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE)
&& getInsetsPolicy().isHidden(ITYPE_NAVIGATION_BAR)
&& win != getNotificationShade();
&& win != getNotificationShade()
&& !win.isActivityTypeDream();
}
/**