Fix sometimes couldn’t receive the configuration change callback after rotating.

Actions:
Use the consistent window manager and component callback from window context.

Bug: 246671345
Test: manual test
Change-Id: I09c6451a99644b11c347aeeeba572e2f8cedd223
6 files changed