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

Commit 0c044718 authored by Ajay Panicker's avatar Ajay Panicker Committed by android-build-merger
Browse files

Merge "Use the correct ContextMap for scan statistics" am: 39193cfe

am: 530de6f5

Change-Id: I51f1ed40be28bb7f10a78f72d0bac523e0db0727
parents 2ecb3c1f 530de6f5
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1327,7 +1327,7 @@ public class GattService extends ProfileService {
        scanClient.legacyForegroundApp = Utils.isLegacyForegroundApp(this, callingPackage);

        AppScanStats app = null;
        app = mClientMap.getAppScanStatsById(scannerId);
        app = mScannerMap.getAppScanStatsById(scannerId);

        if (app != null) {
            if (app.isScanningTooFrequently() &&
@@ -2171,7 +2171,10 @@ public class GattService extends ProfileService {

        println(sb, "mMaxScanFilters: " + mMaxScanFilters);

        sb.append("\nGATT Client Map\n");
        sb.append("\nGATT Scanner Map\n");
        mScannerMap.dump(sb);

        sb.append("GATT Client Map\n");
        mClientMap.dump(sb);

        sb.append("GATT Server Map\n");