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

Commit 6dca000c authored by Muhammad Qureshi's avatar Muhammad Qureshi Committed by Android (Google) Code Review
Browse files

Merge "ServiceManager --> StatsFrameworkInitializer"

parents 8d0846fa 133efaa2
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ import android.annotation.SystemApi;
import android.content.Context;
import android.os.IStatsd;
import android.os.RemoteException;
import android.os.ServiceManager;
import android.os.StatsFrameworkInitializer;
import android.util.proto.ProtoOutputStream;

import com.android.internal.util.StatsdStatsLog;
@@ -180,7 +180,10 @@ public final class StatsLog {
        if (sService != null) {
            return sService;
        }
        sService = IStatsd.Stub.asInterface(ServiceManager.getService("stats"));
        sService = IStatsd.Stub.asInterface(StatsFrameworkInitializer
            .getStatsServiceManager()
            .getStatsdServiceRegisterer()
            .get());
        return sService;
    }