Run app switch display change from on display thread

This is similar to [1]. Which aligns the same behavior as legacy
transition which runs sendNewConfiguration on display thread (legacy
always use RemoteDisplayChangeController#continueDisplayChange).

So the system decorations won't handle the display change too early.

[1]: I7e1de5b5fe12cb30b5f48808ea6b0a2214c0f339

Bug: 317462067
Test: Enable auto rotation. Disable home rotation.
      Put device on landscape. Loop start camera and return
      to home. The camera cutout won't flicker on wrong side.
Change-Id: I26c05d19769f4ae8131ff911e607723a743c99f1
2 files changed