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

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

Merge "Assert in default case" am: 5bacd850

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

Change-Id: I11511b36bcc7355f9a959a8fd8951c46c3f90c5a
parents d6d6bf21 5bacd850
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;
  }