From b14853a09e8262d2e670d2d60c4c91ac21bf275b Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Mon, 1 Feb 2016 19:33:20 +0300 Subject: [PATCH] Done 405. Fix Live subscription Inapp (added token). Few other fixes --- .../dest_reached_menu_fragment.xml | 121 +++++++++++++++ .../res/layout/dest_reached_menu_fragment.xml | 121 +++++++++++++++ OsmAnd/res/values/strings.xml | 1 + .../osmand/plus/activities/MapActivity.java | 26 +++- .../plus/base/MapViewTrackingUtilities.java | 18 ++- .../osmand/plus/dashboard/DashboardOnMap.java | 4 + .../plus/download/DownloadActivity.java | 3 +- .../plus/download/DownloadIndexesThread.java | 2 +- .../download/DownloadValidationManager.java | 2 +- .../net/osmand/plus/inapp/InAppHelper.java | 142 +++++++++++++---- .../plus/liveupdates/LiveUpdatesFragment.java | 40 +++-- .../liveupdates/SubscriptionFragment.java | 1 + .../MapContextMenuFragment.java | 18 ++- .../controllers/MapDataMenuController.java | 2 +- .../other/DestinationReachedMenu.java | 16 ++ .../other/DestinationReachedMenuFragment.java | 145 ++++++++++++++++++ .../other/MapRouteInfoMenu.java | 4 + .../osmand/plus/routing/RoutingHelper.java | 26 +++- .../net/osmand/plus/views/POIMapLayer.java | 4 + 19 files changed, 636 insertions(+), 60 deletions(-) create mode 100644 OsmAnd/res/layout-land/dest_reached_menu_fragment.xml create mode 100644 OsmAnd/res/layout/dest_reached_menu_fragment.xml create mode 100644 OsmAnd/src/net/osmand/plus/mapcontextmenu/other/DestinationReachedMenu.java create mode 100644 OsmAnd/src/net/osmand/plus/mapcontextmenu/other/DestinationReachedMenuFragment.java diff --git a/OsmAnd/res/layout-land/dest_reached_menu_fragment.xml b/OsmAnd/res/layout-land/dest_reached_menu_fragment.xml new file mode 100644 index 0000000000..0114ce6554 --- /dev/null +++ b/OsmAnd/res/layout-land/dest_reached_menu_fragment.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +