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
Loading
Please register or sign in to comment