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

Commit 2e7125a2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Use the correct ContextMap for scan statistics"

parents 6fc6ffe3 f3863dec
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");