From 0f98da0c362508a78a29f8c600b168251a4e32f3 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Wed, 2 Sep 2020 15:43:10 +0300 Subject: [PATCH] Add app mode key --- .../src/net/osmand/aidlapi/customization/MapMarginsParams.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd-api/src/net/osmand/aidlapi/customization/MapMarginsParams.java b/OsmAnd-api/src/net/osmand/aidlapi/customization/MapMarginsParams.java index e5bdffe11c..8b810a81b4 100644 --- a/OsmAnd-api/src/net/osmand/aidlapi/customization/MapMarginsParams.java +++ b/OsmAnd-api/src/net/osmand/aidlapi/customization/MapMarginsParams.java @@ -59,6 +59,7 @@ public class MapMarginsParams extends AidlParams { @Override public void writeToBundle(Bundle bundle) { + bundle.putString("appModeKey", appModeKey); bundle.putInt("leftMargin", leftMargin); bundle.putInt("topMargin", topMargin); bundle.putInt("rightMargin", rightMargin); @@ -67,6 +68,7 @@ public class MapMarginsParams extends AidlParams { @Override protected void readFromBundle(Bundle bundle) { + appModeKey = bundle.getString("appModeKey"); leftMargin = bundle.getInt("leftMargin"); topMargin = bundle.getInt("topMargin"); rightMargin = bundle.getInt("rightMargin");