diff --git a/OsmAnd/src/net/osmand/plus/myplaces/FavoritesActivity.java b/OsmAnd/src/net/osmand/plus/myplaces/FavoritesActivity.java index d6ab51dac2..ed66bd05e7 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/FavoritesActivity.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/FavoritesActivity.java @@ -42,8 +42,12 @@ public class FavoritesActivity extends TabActivity { @Override public void onCreate(Bundle icicle) { - ((OsmandApplication) getApplication()).applyTheme(this); + OsmandApplication app = (OsmandApplication) getApplication(); + app.applyTheme(this); super.onCreate(icicle); + + app.logEvent(this, "myplaces_open"); + //noinspection ConstantConditions getSupportActionBar().setTitle(R.string.shared_string_my_places); getSupportActionBar().setElevation(0); diff --git a/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java b/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java index 295ce39454..d11336e00a 100644 --- a/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java @@ -1245,8 +1245,9 @@ public class QuickSearchDialogFragment extends DialogFragment implements OsmAndC return false; } - Bundle bundle = new Bundle(); + mapActivity.getMyApplication().logEvent(mapActivity, "search_open"); + Bundle bundle = new Bundle(); if (object != null) { bundle.putBoolean(QUICK_SEARCH_RUN_SEARCH_FIRST_TIME_KEY, true); String objectLocalizedName = searchQuery;