Loading core/res/AndroidManifest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -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 --> Loading services/core/java/com/android/server/stats/StatsCompanionService.java +2 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading Loading
core/res/AndroidManifest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -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 --> Loading
services/core/java/com/android/server/stats/StatsCompanionService.java +2 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading