diff options
author | 2024-01-03 18:41:38 +0800 | |
---|---|---|
committer | 2024-01-04 13:35:38 +0800 | |
commit | f1111e1b9901852d2a290c91b131abb754e9cfaa (patch) | |
tree | 4ec0c29f9a84e9c1d3648d6095ec5c46c2509684 /services/surfaceflinger/DisplayDevice.cpp | |
parent | 325c1e106f40c578370d941d206ed9de385dcea0 (diff) |
Fix AIBinder_setMinSchedulerPolicy failed to set sched policy
b/318477176
the first param of:
AIBinder_setMinSchedulerPolicy(mAidlComposerCallback->asBinder().get(), SCHED_FIFO, 2);
constructs a temprary SpAIBinder object, it destructed after this function called.
and destroyed the `BBinder` object. got this log printted:
01-03 06:04:25.884 3774 3774 W surfaceflinger: Binder 0xf3b821dc destroyed after setMinSchedulerPolicy before being parceled.
This CL can fix this issue, and the scheduler works as expected.
Change-Id: I8fcfb0103d1faa773132d8ac4cba04428055fb85
Signed-off-by: shuide chen <shuide.chen@amlogic.com>
Diffstat (limited to 'services/surfaceflinger/DisplayDevice.cpp')
0 files changed, 0 insertions, 0 deletions