Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8dc03187 authored by Fengjiang Li's avatar Fengjiang Li Committed by Android Build Coastguard Worker
Browse files

[Memory Leak] Fix leak of rotation button view from AnimatedVectorDrawable and container view

Add FloatRotationButton#onDestroy() api to
1. clear container view
2. stop AnimatedVectorDrawable and clear the drawable from image view when detached from window

Fix: 424251135
Flag: NONE - released code
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e65216020378c0c374109b0ab41fe95fd07a02d4)
Merged-In: I7cc9ed9588ade9e1dde85d21e1b0aa9a2baf17f1
Change-Id: I7cc9ed9588ade9e1dde85d21e1b0aa9a2baf17f1
parent e993bd79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment