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

Commit 9227f181 authored by Ytai Ben-Tsvi's avatar Ytai Ben-Tsvi
Browse files

Update STHAL mock sysprop to integer

Change-Id: I995dafdd6426bff2983ded589fb8c892068639ff
parent 64027cbd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ public class SthalCli {
            mService.registerAsService("mock");

            System.out.println("Rebooting STHAL");
            SystemProperties.set("debug.soundtrigger_middleware.use_mock_hal", "true");
            SystemProperties.set("debug.soundtrigger_middleware.use_mock_hal", "2");
            SystemProperties.set("sys.audio.restart.hal", "1");

            while (processCommand()) ;
@@ -74,7 +74,7 @@ public class SthalCli {

    private static void cleanup() {
        System.out.println("Cleaning up.");
        SystemProperties.set("debug.soundtrigger_middleware.use_mock_hal", "false");
        SystemProperties.set("debug.soundtrigger_middleware.use_mock_hal", null);
        HwBinder.setTrebleTestingOverride(false);
    }