summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Rikka <rikkanyaaa@gmail.com> 2022-08-21 17:04:44 +0000
committer Rikka Takanashi <rikkanyaaa@gmail.com> 2023-04-14 08:00:53 +0000
commit3730a1bcf27cf4020305a0e31fc1eeb509d250ac (patch)
treebe44db04df0aaa5b4181beb175f4936114f21694 /api/api.go
parentb8ceb69f55cb7ef0f0481d16cf51baf0ad8000d1 (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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions