Skip to content
Snippets Groups Projects
Commit 2b164e1d authored by Zhenhua Deng's avatar Zhenhua Deng Committed by chuanghua zhao
Browse files

Fix register homeTransitionListener with empty Transitions

Sometimes Luancher frequently register homeTransitionListener
while OverviewProxyService connect/desconnect, if Sysui also slow
response it may cause setHomeTransitionListener delayed with invalidate
Transitions.

Bug: 343098476
Test: auto monkey test

Change-Id: I750d25f81f210373662b05fa9468585e47c4ed44
parent 53c4d136
No related branches found
No related tags found
No related merge requests found
......@@ -1470,7 +1470,7 @@ public class Transitions implements RemoteCallable<Transitions>,
public void setHomeTransitionListener(IHomeTransitionListener listener) {
executeRemoteCallWithTaskPermission(mTransitions, "setHomeTransitionListener",
(transitions) -> {
transitions.mHomeTransitionObserver.setHomeTransitionListener(mTransitions,
transitions.mHomeTransitionObserver.setHomeTransitionListener(transitions,
listener);
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment