Add app mode key

This commit is contained in:
Vitaliy 2020-09-02 15:43:10 +03:00
parent 1a94d5d98a
commit 0f98da0c36

View file

@ -59,6 +59,7 @@ public class MapMarginsParams extends AidlParams {
@Override @Override
public void writeToBundle(Bundle bundle) { public void writeToBundle(Bundle bundle) {
bundle.putString("appModeKey", appModeKey);
bundle.putInt("leftMargin", leftMargin); bundle.putInt("leftMargin", leftMargin);
bundle.putInt("topMargin", topMargin); bundle.putInt("topMargin", topMargin);
bundle.putInt("rightMargin", rightMargin); bundle.putInt("rightMargin", rightMargin);
@ -67,6 +68,7 @@ public class MapMarginsParams extends AidlParams {
@Override @Override
protected void readFromBundle(Bundle bundle) { protected void readFromBundle(Bundle bundle) {
appModeKey = bundle.getString("appModeKey");
leftMargin = bundle.getInt("leftMargin"); leftMargin = bundle.getInt("leftMargin");
topMargin = bundle.getInt("topMargin"); topMargin = bundle.getInt("topMargin");
rightMargin = bundle.getInt("rightMargin"); rightMargin = bundle.getInt("rightMargin");