[oplus-alert-slider] Android AIDL moved, change the method id to change ringer mode
This commit is contained in:
parent
723d9cb4f8
commit
3aad44c311
@ -44,11 +44,11 @@ int main() {
|
|||||||
}
|
}
|
||||||
printf("State %d\n", read_tristate());
|
printf("State %d\n", read_tristate());
|
||||||
if(state == 1) {
|
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) {
|
} 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) {
|
} else if(state == 3) {
|
||||||
system("service call audio 31 i32 0 s16 android");
|
system("service call audio 32 i32 0 s16 android");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user