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

Commit a5438a3c authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Fixing StatsLogger not getting activityContext

Bug: 338254085
Test: Verified on device
Flag: None
Change-Id: I5a821a89df80ce43b73092db43af3dd8d53d81f4
parent c113ce9f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1205,7 +1205,7 @@ public class StatsLogManager implements ResourceBasedOverride {
     * Creates a new instance of {@link StatsLogManager} based on provided context.
     */
    public static StatsLogManager newInstance(Context context) {
        return Overrides.getObject(StatsLogManager.class,
                context.getApplicationContext(), R.string.stats_log_manager_class);
        return Overrides.getObject(
                StatsLogManager.class, context, R.string.stats_log_manager_class);
    }
}