From c090c1c148f1ea3931066d86f7baddf713e94802 Mon Sep 17 00:00:00 2001 From: Alex Sytnyk Date: Mon, 30 Jul 2018 15:43:32 +0300 Subject: [PATCH] Use URI instead of app package --- OsmAnd-telegram/AndroidManifest.xml | 10 ++++++++++ .../AddOpenAppNavDrawerItemParams.java | 18 +++++++++--------- .../net/osmand/telegram/TelegramApplication.kt | 4 +--- .../telegram/helpers/OsmandAidlHelper.kt | 4 ++-- OsmAnd/src/net/osmand/aidl/OsmandAidlApi.java | 14 +++++++------- .../src/net/osmand/aidl/OsmandAidlService.java | 2 +- .../AddOpenAppNavDrawerItemParams.java | 18 +++++++++--------- OsmAnd/src/net/osmand/plus/OsmandSettings.java | 2 +- 8 files changed, 40 insertions(+), 32 deletions(-) diff --git a/OsmAnd-telegram/AndroidManifest.xml b/OsmAnd-telegram/AndroidManifest.xml index fa2f9fcfb3..014bb14906 100644 --- a/OsmAnd-telegram/AndroidManifest.xml +++ b/OsmAnd-telegram/AndroidManifest.xml @@ -30,6 +30,16 @@ + + + + + + + + SHOW_DASHBOARD_ON_MAP_SCREEN = new BooleanPreference("show_dashboard_on_map_screen", false).makeGlobal(); public final CommonPreference API_NAV_DRAWER_ITEM_NAME = new StringPreference("api_nav_drawer_item_name", "").makeGlobal(); - public final CommonPreference API_NAV_DRAWER_ITEM_APP_PACKAGE = new StringPreference("api_nav_drawer_item_app_package", "").makeGlobal(); + public final CommonPreference API_NAV_DRAWER_ITEM_URI = new StringPreference("api_nav_drawer_item_uri", "").makeGlobal(); public final CommonPreference API_NAV_DRAWER_ITEM_FLAGS = new IntPreference("api_nav_drawer_item_flags", -1).makeGlobal(); public final CommonPreference NUMBER_OF_STARTS_FIRST_XMAS_SHOWN = new IntPreference("number_of_starts_first_xmas_shown", 0).makeGlobal();