Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec0c8a6e authored by Steven Moreland's avatar Steven Moreland
Browse files

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
parent 249a9d06
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}