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

Commit 8ce077a4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Statsd broadcasts when it is alive 2"

parents 0e816ba9 0eb58ae3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -580,6 +580,7 @@
    <protected-broadcast android:name="android.app.action.TRANSFER_OWNERSHIP_COMPLETE" />
    <protected-broadcast android:name="android.app.action.AFFILIATED_PROFILE_TRANSFER_OWNERSHIP_COMPLETE" />
    <protected-broadcast android:name="android.app.action.DATA_SHARING_RESTRICTION_CHANGED" />
    <protected-broadcast android:name="android.app.action.STATSD_STARTED" />

    <!-- ====================================================================== -->
    <!--                          RUNTIME PERMISSIONS                           -->
+2 −1
Original line number Diff line number Diff line
@@ -706,7 +706,8 @@ public class StatsCompanionService extends IStatsCompanionService.Stub {
        enforceCallingPermission();
        if (DEBUG) Slog.d(TAG, "learned that statsdReady");
        sayHiToStatsd(); // tell statsd that we're ready too and link to it
        mContext.sendBroadcast(new Intent(StatsManager.ACTION_STATSD_STARTED),
        mContext.sendBroadcastAsUser(new Intent(StatsManager.ACTION_STATSD_STARTED),
                UserHandle.SYSTEM,
                android.Manifest.permission.DUMP);
    }