Merge "DisplayCutout: Add back always resource" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-21 16:50:32 +00:00
committed by Android (Google) Code Review

View File

@@ -2151,6 +2151,9 @@
@see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
-->
<enum name="shortEdges" value="1" />
<!-- Use {@code shortEdges} instead. This is temporarily here to unblock pushing the SDK
until all usages have been migrated to {@code shortEdges} -->
<enum name="always" value="1" />
<!-- The window is never allowed to overlap with the DisplayCutout area.
<p>
This should be used with windows that transiently set {@code SYSTEM_UI_FLAG_FULLSCREEN}