Merge "Fixing nullpointer exception when accessing StatsLogger before initialization" into tm-qpr-dev
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user