[oplus-alert-slider] Android AIDL moved, change the method id to change ringer mode

This commit is contained in:
Pierre-Hugues Husson 2021-12-07 05:56:11 -05:00
parent 723d9cb4f8
commit 3aad44c311

View File

@ -44,11 +44,11 @@ int main() {
}
printf("State %d\n", read_tristate());
if(state == 1) {
system("service call audio 31 i32 2 s16 android");
system("service call audio 32 i32 2 s16 android");
} else if(state == 2) {
system("service call audio 31 i32 1 s16 android");
system("service call audio 32 i32 1 s16 android");
} else if(state == 3) {
system("service call audio 31 i32 0 s16 android");
system("service call audio 32 i32 0 s16 android");
}
}
}