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

Commit 40938a55 authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

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
parent 2472cf32
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);