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

Commit e4838c90 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Automerger Merge Worker
Browse files

Merge "Robust caching: read database hash on devices with unknown state." into...

Merge "Robust caching: read database hash on devices with unknown state." into main am: b97cbb6e am: b3580d41 am: 40d9a65d

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2767947



Change-Id: I826109c002f1fe2e1b47a269bdcc97779ad099ae
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents ca6bc9a9 40d9a65d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -552,7 +552,7 @@ void bta_gattc_conn(tBTA_GATTC_CLCB* p_clcb, const tBTA_GATTC_DATA* p_data) {
      if (!db.IsEmpty()) p_clcb->p_srcb->gatt_database = db;

      if (db.IsEmpty() ||
          robust_caching_support == RobustCachingSupport::SUPPORTED) {
          robust_caching_support != RobustCachingSupport::UNSUPPORTED) {
        // If the peer device is expected to support robust caching, or if we
        // don't know its services yet, then we should do discovery (which may
        // short-circuit through a hash match, but might also do the full