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

Commit c70076b8 authored by Siddika Parlak Polatkan's avatar Siddika Parlak Polatkan Committed by Automerger Merge Worker
Browse files

Merge "Add a method to provide StatsManager" into sc-dev am: 4b5f4e66

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13770648

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaee0403d677e42cf42c71f6a2fc2ad56bb4ae698
parents 5771d1b9 4b5f4e66
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ import android.app.IActivityTaskManager;
import android.app.IWallpaperManager;
import android.app.KeyguardManager;
import android.app.NotificationManager;
import android.app.StatsManager;
import android.app.WallpaperManager;
import android.app.admin.DevicePolicyManager;
import android.app.role.RoleManager;
@@ -319,6 +320,12 @@ public class FrameworkServicesModule {
        return context.getSystemService(ShortcutManager.class);
    }

    @Provides
    @Singleton
    static StatsManager provideStatsManager(Context context) {
        return context.getSystemService(StatsManager.class);
    }

    @Provides
    @Singleton
    @Nullable