Fix for boot reporting in GA

This commit is contained in:
serso 2015-02-17 14:58:44 +01:00
parent dad41e8022
commit 7498cc51bf

View File

@ -50,8 +50,8 @@ public final class CalculatorOnscreenBroadcastReceiver extends BroadcastReceiver
final SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context); final SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context);
if (Preferences.OnscreenCalculator.startOnBoot.getPreferenceNoError(preferences)) { if (Preferences.OnscreenCalculator.startOnBoot.getPreferenceNoError(preferences)) {
CalculatorOnscreenService.showNotification(context); CalculatorOnscreenService.showNotification(context);
App.getGa().onBootStart();
} }
App.getGa().onBootStart();
} else { } else {
final Intent newIntent = new Intent(intent); final Intent newIntent = new Intent(intent);
newIntent.setClass(context, CalculatorOnscreenService.class); newIntent.setClass(context, CalculatorOnscreenService.class);