Added events for search open and my places open
This commit is contained in:
parent
6f803ea8b9
commit
e71266bbf6
2 changed files with 7 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue