summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorGarfield Tan <xutan@google.com>2019-11-12 16:30:49 -0800
committerGarfield Tan <xutan@google.com>2019-11-12 17:01:03 -0800
commit265ab91ac3e461eeca6658138e3ceb6ad85ac13d (patch)
tree30aa7da6dc307e705b45503374e8664e991b0454 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7a85df83c210de8a4dd365310feeba3c1a4502c4 (diff)
Clear LastSurfacePosition when surface is cleared.
This is important for restoring freeform window from recents because it's possible that the surface is removed but the last surface position is still there, which stops the surface position being updated later when the task is restored. Bug: None Test: 1) Launch an activity on default display; 2) Close the activity by pressing back button; 3) Go to recents; 4) Restore the activity into freeform by long pressing the icon and select freeform; 5) The activity is shown at right location rather than (0, 0). Test: atest WindowContainerTests Change-Id: Ia5e28101b2343c2fe189da0a73351c72c32df5d3
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions