Migrate Presentation to WindowContext
After [1], display context had not been regarded as an UI context
even if it is derived from an UI context. Thus, we need to migrate
Presentation to use WindowContext to obtain UI components accesses
and also receive configuration changes from the server side.
Also remove isConfigurationStillValid() related logic since now
the configuration gets updated if the property of the display changes.
[1]: 3c0078e80f393c2daffec5ef1a34a9c89abccd87
Test: atest PresentationTest VirtualDisplayTest KeyguardPresentationTest
Bug: 167462327
Change-Id: Ib5c4a33eeba0e0a6213960300dd4c0a18047686b
4 files changed