commit | 3730a1bcf27cf4020305a0e31fc1eeb509d250ac | [log] [tgz] |
---|---|---|
author | Rikka <rikkanyaaa@gmail.com> | Sun Aug 21 17:04:44 2022 +0000 |
committer | Rikka Takanashi <rikkanyaaa@gmail.com> | Fri Apr 14 08:00:53 2023 +0000 |
tree | be44db04df0aaa5b4181beb175f4936114f21694 | |
parent | b8ceb69f55cb7ef0f0481d16cf51baf0ad8000d1 [diff] |
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