e180de6b20512862bfdf3ea1d7d795396dd54dd9
We should also avoid using non-static inner class that extends IOnBackInvokedCallback.Stub and IRemoteAnimationRunner.Stub inside LauncherBackAnimationController, which references the entire LauncherBackAnimationController object. 1. When launcher is created, a Runnable is posted to ShellExecutor to call BackAnimationController#registerAnimation 2. When launcher is later destroyed, another Runnable is posted to same ShellExecturo to call BackAnimationController#unregisterAnimation 3. If the execturo queued the 1st runnable, then we have leaked LauncherBackAnimationController object, including Launcher activity. This CL fixes the leak by making the Stub static inner classes, and use weak reference hold reference to launcher activity. Bug: 297806573 Test: Grab a heap dump and this reference no longer exist Flag: N/A Change-Id: I78853e900a98399b02682ba2d9179e544a4030d5
Merge "Revert^3 "Change Overview Actions to round buttons."" into udc-qpr-dev am:
c15fd5c248 am: 5d95ba7c00
Description
No description provided
Languages
Java
57.2%
Kotlin
42.4%
AIDL
0.3%