Add requestedVisibleTypes to TaskInfo

To allow Shell to know the inset types requested by each window/task
instead of the global aggregate available through InsetsState. This will
enable showing additional maximize/immersive UI affordances in the
caption bar depending on whether a specific window is requesting
immersive mode or not.

Flag: com.android.window.flags.enable_fully_immersive_in_desktop
Bug: 369388861
Test: m
Change-Id: I62a58b9c3d5623d4af977375e92bef86ede192b9
2 files changed