summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2022-01-18 15:40:25 +0800
committerXin Li <delphij@google.com>2022-03-02 18:17:45 -0800
commit6c04f9b6da88021675611ce4f504a8337749d8c3 (patch)
tree94dbbb1779ba99164a220fa8aaa3527149822aa7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent941c4a4af0da3fbd6aca0ad43a4f4f3740268a32 (diff)
Fix leakage of DisplayContent referenced from TransitionController
Unlike AppTransition which is associated DisplayContent, the TransitionController is a global instance. So it needs to unregister the listener when the display is removed. Bug: 214991741 Test: Start/stop screen recording multiple times (create virtual display). The heap dump of system server should not contain many DisplayContent instances. (cherry picked from commit 491914c17c869a174f91d0414181d1be11e040a3) (cherry picked from commit c3eaf662257919343210b96f5d5aef161df0723e) Merged-In: I44e2a794981fc114ada0ce98cd2471adf623d856 Change-Id: I44e2a794981fc114ada0ce98cd2471adf623d856
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions