From 40938a55433b4c6580dd9f35d67e860e47de6fad Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Wed, 30 Jan 2019 12:32:11 -0800 Subject: [PATCH] iorap: Fix ro.iorapd.enable property naming Rename from iorapd.enable to ro.iorapd.enable to match init scripts. This avoids logspam when iorapd is disabled. Bug: 123637697 Test: reboot and look at logcat Change-Id: I741071918ba16191890f3fe3de3764013e0e4ee1 --- .../google/android/startop/iorap/IorapForwardingService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/startop/iorap/src/com/google/android/startop/iorap/IorapForwardingService.java b/startop/iorap/src/com/google/android/startop/iorap/IorapForwardingService.java index 9a30b35f02a23..22fc15985b054 100644 --- a/startop/iorap/src/com/google/android/startop/iorap/IorapForwardingService.java +++ b/startop/iorap/src/com/google/android/startop/iorap/IorapForwardingService.java @@ -50,8 +50,8 @@ public class IorapForwardingService extends SystemService { public static final String TAG = "IorapForwardingService"; /** $> adb shell 'setprop log.tag.IorapdForwardingService VERBOSE' */ public static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG); - /** $> adb shell 'setprop iorapd.enable true' */ - private static boolean IS_ENABLED = SystemProperties.getBoolean("iorapd.enable", true); + /** $> adb shell 'setprop ro.iorapd.enable true' */ + private static boolean IS_ENABLED = SystemProperties.getBoolean("ro.iorapd.enable", true); /** $> adb shell 'setprop iorapd.forwarding_service.wtf_crash true' */ private static boolean WTF_CRASH = SystemProperties.getBoolean( "iorapd.forwarding_service.wtf_crash", false);