mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 05:49:27 +00:00
Fix the comment of AIBinder_setMinSchedulerPolicy.
The second parameter is the priority, cannot be 20, which would be lower priority than the lowest priority that can exist. Bugs: me Change-Id: Ic990d0f365fb907fe252944991362e8729664562 Test: N/A
This commit is contained in:
@@ -60,7 +60,7 @@ ndk::ScopedAStatus CustomVibrator::perform(VendorEffect effect,
|
||||
ndk::SpAIBinder CustomVibrator::createBinder() {
|
||||
auto binder = BnCustomVibrator::createBinder();
|
||||
// e.g. AIBinder_setInheritRt(binder.get(), true);
|
||||
// e.g. AIBinder_setMinSchedulerPolicy(binder.get(), SCHED_NORMAL, 20);
|
||||
// e.g. AIBinder_setMinSchedulerPolicy(binder.get(), SCHED_NORMAL, -2);
|
||||
// e.g. AIBinder_setRequestingSid(binder.get(), true);
|
||||
return binder;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user