From 7498cc51bff01ffb212708f7c0db8963fee91372 Mon Sep 17 00:00:00 2001 From: serso Date: Tue, 17 Feb 2015 14:58:44 +0100 Subject: [PATCH] Fix for boot reporting in GA --- .../onscreen/CalculatorOnscreenBroadcastReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-app/src/main/java/org/solovyev/android/calculator/onscreen/CalculatorOnscreenBroadcastReceiver.java b/android-app/src/main/java/org/solovyev/android/calculator/onscreen/CalculatorOnscreenBroadcastReceiver.java index 13b9c692..ad9ab41c 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/onscreen/CalculatorOnscreenBroadcastReceiver.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/onscreen/CalculatorOnscreenBroadcastReceiver.java @@ -50,8 +50,8 @@ public final class CalculatorOnscreenBroadcastReceiver extends BroadcastReceiver final SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context); if (Preferences.OnscreenCalculator.startOnBoot.getPreferenceNoError(preferences)) { CalculatorOnscreenService.showNotification(context); + App.getGa().onBootStart(); } - App.getGa().onBootStart(); } else { final Intent newIntent = new Intent(intent); newIntent.setClass(context, CalculatorOnscreenService.class);