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

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

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

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

Change-Id: If43318ee35c774a4c56d68b924fb214fed7645df
parents fb507bef 5c94bd38
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;
  }