summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Carlos Llamas <cmllamas@google.com> 2023-09-23 20:24:20 +0000
committer Alice Ryhl <aliceryhl@google.com> 2024-01-05 12:40:55 +0000
commit8c5135222b5bef532ecbbce5d501bd37cb93dad9 (patch)
tree4e3911b4d6ffc03051248a58a18eb651f10828d5 /libs/ultrahdr/jpegencoderhelper.cpp
parent5837d037a08390bd6c2101c9158790152da86c9d (diff)
binderThroughputTest: replace getService with waitForService
The getService() method is now deprecated, replace with waitForService() which waits indefinitely instead of timing out. This should fix the following compilation warning: binderThroughputTest.cpp:207:39: warning: 'getService' is deprecated: this polls for 5s, prefer waitForService or checkService [-Wdeprecated-declarations] workers.push_back(serviceMgr->getService(generateServiceName(i))); ^ frameworks/native/libs/binder/include/binder/IServiceManager.h:70:7: note: 'getService' has been explicitly marked deprecated here [[deprecated("this polls for 5s, prefer waitForService or checkService")]] ^ 1 warning generated. Change-Id: Ib6721b355a5fe7e79d9b8c6949b54e3eb49f237f Signed-off-by: Carlos Llamas <cmllamas@google.com> [ Alice: Fix conflict with commit bb07b9837531 ("Fix or silence binder build warnings on clang"). ] Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions