Add app mode key
This commit is contained in:
parent
1a94d5d98a
commit
0f98da0c36
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue