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

Skip to content
Commit 3730a1bc authored by Rikka's avatar Rikka Committed by Rikka Takanashi
Browse files

Fix com.android.server.wm.TaskFpsCallbackController#unregisterListener method NEVER works

In com.android.server.wm.TaskFpsCallbackController class, ITaskFpsCallback (which extends IInterface) is used as the key for the HashMap. As ITaskFpsCallback instance is created every time, the unregisterListener method will NEVER work.

The correct usage is to use ITaskFpsCallback#asBinder as the key, just like what RemoteCallbackList do.

Change-Id: I16321d6784402105aea90a816f9ab23bd72e4635
parent b8ceb69f
Loading
Loading
Loading
Loading
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