Do not create/update status bar input layer when caption isn't visible

AppHandleViewHolder#bindData would only return early and not
create/update the input layer if the input layer did not exist. So, if
two relayouts happen when a task is in immersive, the first relayout
would cause the input layer to be disposed while the second would
recreate it.

Bug: 375246608
Flag: EXEMPT bugfix
Test: try to create handle menu when in immersive mode
Change-Id: I04412a613589ef9b6d2e8836f136c549f1228067
2 files changed