diff options
author | Shivam Agrawal <shivamagrawal@google.com> | 2019-07-01 15:26:11 -0700 |
---|---|---|
committer | Shivam Agrawal <shivamagrawal@google.com> | 2019-07-08 11:25:26 -0700 |
commit | 1d3db657585719b4fa0c2d8aff9fadd1e16014a2 (patch) | |
tree | db9e48af2a5c785d0a91b3648990b1cf0c4ba20b /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 37797b2429e912718dde50c6e6884544efbde516 (diff) |
Refactor ATMS and WMS methods
Moved updateDisplayOverrideConfiguration
updateDisplayOverrideConfigurationLocked, and
performDisplayOverrideConfigUpdate from ATMS to ActivityDisplay
because all calls to these methods have a reference to either a
DisplayContent or ActivityDisplay, so it is better that the methods
are called directly rather than going through a service that uses
displayId to get access to an object it already could have had access
to. Similarly, sendNewConfiguration has been moved from
WindowManagerService to DisplayContent. These changes are
necessary for situations where methods in ATMS and WMS want
to process ActivityDisplay and DisplayContent objects before they
are added to either hierarchy. These situations will arise when sending
new configurations happens synchronously as opposed to posting to a
handler (as is the current situation with
DisplayContent#sendNewConfiguration).
Bug: 130807132
Test: go/wm-smoke
Change-Id: Ie2bd6c32b2adc2c4c5d585e361defd6c98652f01
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions