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

Commit b49d3b22 authored by Jack He's avatar Jack He Committed by Gerrit Code Review
Browse files

Merge "vc: Fix typo when checking encryption"

parents cc594596 eacc3eef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1051,7 +1051,7 @@ class VolumeControlImpl : public VolumeControl {

      case BTA_GATTC_ENC_CMPL_CB_EVT: {
        uint8_t encryption_status;
        if (!BTM_IsEncrypted(p_data->enc_cmpl.remote_bda, BT_TRANSPORT_LE)) {
        if (BTM_IsEncrypted(p_data->enc_cmpl.remote_bda, BT_TRANSPORT_LE)) {
          encryption_status = BTM_SUCCESS;
        } else {
          encryption_status = BTM_FAILED_ON_SECURITY;