Commit a109bc46 authored by binzhang's avatar binzhang Committed by Bin Zhang
Browse files

sf: remove event listener when it was fired.

when GFAR is enable, sf dispsync resource is keeping
alive to monitor janks. When jank happens, previous
event listener is removed, and with new listener added at
once. when mHasFired is set to true, we need remove this
listener and with new one added. It can make the
mLastCallbackTime update correctly.

Change-Id: I2c1879f82656c03972d7506726d6898211693fff
CRs-Fixed: 2586618
parent 63a1e1f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment