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

Commit 79feb93e authored by William Escande's avatar William Escande
Browse files

Sap: support common pts property

Bug: 328841921
Fix: 328841921
Test: None
Flag: TEST_ONLY
Change-Id: Ie83a661b0e81c84a5f8a206e957b365e0b408113
parent 4ca9d2a8
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -238,9 +238,8 @@ public class SapServer extends Thread implements Handler.Callback {
        /* For PTS TC_SERVER_DCN_BV_03_I we need to expose the option to send immediate disconnect
         * without first sending a graceful disconnect.
         * To enable this option set
         * bt.sap.pts="true" */
        String ptsEnabled = SystemProperties.get("bt.sap.pts");
        Boolean ptsTest = Boolean.parseBoolean(ptsEnabled);
         * persist.bluetooth.pts="true" or bt.sap.pts="true" */
        Boolean ptsTest = Utils.isPtsTestMode() || SystemProperties.getBoolean("bt.sap.pts", false);

        /* put notification up for the user to be able to disconnect from the client*/
        Intent sapDisconnectIntent = new Intent(SapServer.SAP_DISCONNECT_ACTION);