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

Skip to content
Commit 04b85038 authored by zhouwei's avatar zhouwei Committed by zhou.wei
Browse files

Fix notifyTaskDisplayChanged is called every time onDisplayChanged is triggered.



The original intention was to send the callback
when the task reparented to another display.
So we need to add a check whether displayId has
changed before calling notifyTaskDisplayChanged.

Test: pressure test that notifyTaskDisplayChanged
is triggered when the task moves from one display
to another, and not triggered otherwise.
Bug: b/365477008

Change-Id: I5848ead17a50ccd6ece0e3b0c10e59252a633f89
Signed-off-by: default avatarzhou.wei <zhou.wei@oppo.com>
parent 2e1a903f
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