diff --git a/services/core/java/com/android/server/wm/DisplayPolicy.java b/services/core/java/com/android/server/wm/DisplayPolicy.java index e7806060c14fb..57d0900af1ed2 100644 --- a/services/core/java/com/android/server/wm/DisplayPolicy.java +++ b/services/core/java/com/android/server/wm/DisplayPolicy.java @@ -2110,12 +2110,10 @@ public class DisplayPolicy { } } - // TODO (b/235842600): Use public type once we can treat task bar as navigation bar. static final int[] INTERNAL_DECOR_TYPES; static { final ArraySet decorTypes = InsetsState.toInternalType( Type.displayCutout() | Type.navigationBars()); - decorTypes.remove(ITYPE_EXTRA_NAVIGATION_BAR); INTERNAL_DECOR_TYPES = new int[decorTypes.size()]; for (int i = 0; i < INTERNAL_DECOR_TYPES.length; i++) { INTERNAL_DECOR_TYPES[i] = decorTypes.valueAt(i); @@ -2148,7 +2146,6 @@ public class DisplayPolicy { } } - // TODO (b/235842600): Remove this method once we can treat task bar as navigation bar. private static Insets calculateDecorInsetsWithInternalTypes(InsetsState state) { final Rect frame = state.getDisplayFrame(); Insets insets = Insets.NONE;