Fix for boot reporting in GA
This commit is contained in:
parent
dad41e8022
commit
7498cc51bf
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user