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

Commit 5c94bd38 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Assert in default case" am: 5bacd850 am: fc9d9e13

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1455167

Change-Id: I0cfb1da60333923dcac95340c7b8a1508ea729a5
parents 41dab295 fc9d9e13
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -766,7 +766,8 @@ void SecurityManagerImpl::InternalEnforceSecurityPolicy(
      authentication_requirements = hci::AuthenticationRequirements::GENERAL_BONDING;
      break;
    default:
      // This will never happen because of check in IsSecurityRequirementSatisfied
      // I could hear the voice of Myles, "This should be an ASSERT!"
      ASSERT_LOG(false, "Unreachable code path");
      return;
  }