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

Commit 13349be4 authored by Siim Sammul's avatar Siim Sammul Committed by Android (Google) Code Review
Browse files

Merge "Revert "Initialize binder latency histograms collection via Bind...""

parents ec12c074 e683a424
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -107,7 +107,6 @@ import android.net.ConnectivityManager;
import android.net.Proxy;
import android.net.TrafficStats;
import android.net.Uri;
import android.net.wifi.WifiFrameworkInitializer;
import android.os.AsyncTask;
import android.os.Binder;
import android.os.BluetoothServiceManager;
@@ -7901,8 +7900,6 @@ public final class ActivityThread extends ClientTransactionHandler
        BluetoothFrameworkInitializer.setBluetoothServiceManager(new BluetoothServiceManager());
        BluetoothFrameworkInitializer.setBinderCallsStatsInitializer(context -> {
            BinderCallsStats.startForBluetooth(context); });
        WifiFrameworkInitializer.setBinderCallsStatsInitializer(context -> {
            BinderCallsStats.startForWifi(context); });
    }

    private void purgePendingResources() {
+0 −8
Original line number Diff line number Diff line
@@ -1169,15 +1169,7 @@ public class BinderCallsStats implements BinderInternal.Observer {

    }

    /** @hide */
    public static void startForWifi(Context context) {
        new BinderCallsStats.SettingsObserver(
            context,
            new BinderCallsStats(
                new BinderCallsStats.Injector(),
                com.android.internal.os.BinderLatencyProto.Dims.WIFI));

    }

    /**
     * Settings observer for other processes (not system_server).