From 3aad44c311197e12a653d07b89796bb26e5e2b35 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 7 Dec 2021 05:56:11 -0500 Subject: [PATCH] [oplus-alert-slider] Android AIDL moved, change the method id to change ringer mode --- cmds/oplus-alert-slider.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmds/oplus-alert-slider.cpp b/cmds/oplus-alert-slider.cpp index beb1e35..8e1f7ab 100644 --- a/cmds/oplus-alert-slider.cpp +++ b/cmds/oplus-alert-slider.cpp @@ -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"); } } }