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

Commit 24d7de43 authored by Sunny Goyal's avatar Sunny Goyal Committed by Android (Google) Code Review
Browse files

Merge "Fixing nullpointer exception when accessing StatsLogger before...

Merge "Fixing nullpointer exception when accessing StatsLogger before initialization" into tm-qpr-dev
parents 9b7280bd 977838b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,8 +77,8 @@ public abstract class BaseActivity extends Activity implements AppLauncher,
            new ArrayList<>();

    protected DeviceProfile mDeviceProfile;
    protected StatsLogManager mStatsLogManager;
    protected SystemUiController mSystemUiController;
    private StatsLogManager mStatsLogManager;


    public static final int ACTIVITY_STATE_STARTED = 1 << 0;
+1 −1
Original line number Diff line number Diff line
@@ -740,7 +740,7 @@ public class Launcher extends StatefulActivity<LauncherState>
                completeAddAppWidget(appWidgetId, info, null, null);
                break;
            case REQUEST_RECONFIGURE_APPWIDGET:
                mStatsLogManager.logger().withItemInfo(info).log(LAUNCHER_WIDGET_RECONFIGURED);
                getStatsLogManager().logger().withItemInfo(info).log(LAUNCHER_WIDGET_RECONFIGURED);
                completeRestoreAppWidget(appWidgetId, LauncherAppWidgetInfo.RESTORE_COMPLETED);
                break;
            case REQUEST_BIND_PENDING_APPWIDGET: {