Fix seq not update when it is not from system server
When the View is attached through WindowlessWindowManager or other
implementation of IWindowSession, it won't get seq update as it is
from the system server.
Don't treat it as stale in such case instead of updating
WindowlessWindowManager since this can happen to other device
implementation of IWindowSession as well.
Bug: 339380439
Test: atest FrameworksCoreTests:SequenceUtilsTest
Flag: com.android.window.flags.insets_control_seq
Change-Id: I561b08880c273e53fe9d996888f72715fb200347
4 files changed