diff options
author | Charles Chen <charlesccchen@google.com> | 2020-09-02 09:06:05 +0800 |
---|---|---|
committer | Charles Chen <charlesccchen@google.com> | 2020-10-12 19:10:07 +0800 |
commit | f3aefb28029f5eb05835a61e86bf660cc72da432 (patch) | |
tree | e10c2a3eb82d2feeca8ae589d7c65f2b3d075c5d /rs/java/android/renderscript/ProgramStore.java | |
parent | 41a7b5aee4051569e9cbf9ea08c3bbedb27ce5af (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions