diff --git a/OsmAnd-telegram/src/net/osmand/telegram/helpers/OsmandAidlHelper.kt b/OsmAnd-telegram/src/net/osmand/telegram/helpers/OsmandAidlHelper.kt index 6ff7d5fe80..ed6e449d4b 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/helpers/OsmandAidlHelper.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/helpers/OsmandAidlHelper.kt @@ -7,44 +7,44 @@ import android.content.ServiceConnection import android.net.Uri import android.os.IBinder import android.os.RemoteException -import net.osmand.aidl.IOsmAndAidlCallback -import net.osmand.aidl.IOsmAndAidlInterface -import net.osmand.aidl.contextmenu.AContextMenuButton -import net.osmand.aidl.contextmenu.ContextMenuButtonsParams -import net.osmand.aidl.contextmenu.RemoveContextMenuButtonsParams -import net.osmand.aidl.favorite.AFavorite -import net.osmand.aidl.favorite.AddFavoriteParams -import net.osmand.aidl.favorite.RemoveFavoriteParams -import net.osmand.aidl.favorite.UpdateFavoriteParams -import net.osmand.aidl.favorite.group.AFavoriteGroup -import net.osmand.aidl.favorite.group.AddFavoriteGroupParams -import net.osmand.aidl.favorite.group.RemoveFavoriteGroupParams -import net.osmand.aidl.favorite.group.UpdateFavoriteGroupParams -import net.osmand.aidl.gpx.* -import net.osmand.aidl.map.ALatLon -import net.osmand.aidl.map.SetMapLocationParams -import net.osmand.aidl.maplayer.AMapLayer -import net.osmand.aidl.maplayer.AddMapLayerParams -import net.osmand.aidl.maplayer.RemoveMapLayerParams -import net.osmand.aidl.maplayer.UpdateMapLayerParams -import net.osmand.aidl.maplayer.point.* -import net.osmand.aidl.mapmarker.AMapMarker -import net.osmand.aidl.mapmarker.AddMapMarkerParams -import net.osmand.aidl.mapmarker.RemoveMapMarkerParams -import net.osmand.aidl.mapmarker.UpdateMapMarkerParams -import net.osmand.aidl.mapwidget.AMapWidget -import net.osmand.aidl.mapwidget.AddMapWidgetParams -import net.osmand.aidl.mapwidget.RemoveMapWidgetParams -import net.osmand.aidl.mapwidget.UpdateMapWidgetParams -import net.osmand.aidl.navdrawer.NavDrawerItem -import net.osmand.aidl.navdrawer.SetNavDrawerItemsParams -import net.osmand.aidl.navigation.* -import net.osmand.aidl.note.StartAudioRecordingParams -import net.osmand.aidl.note.StartVideoRecordingParams -import net.osmand.aidl.note.StopRecordingParams -import net.osmand.aidl.note.TakePhotoNoteParams -import net.osmand.aidl.search.SearchParams -import net.osmand.aidl.search.SearchResult +import net.osmand.aidl2.IOsmAndAidlCallback +import net.osmand.aidl2.IOsmAndAidlInterface +import net.osmand.aidl2.contextmenu.AContextMenuButton +import net.osmand.aidl2.contextmenu.ContextMenuButtonsParams +import net.osmand.aidl2.contextmenu.RemoveContextMenuButtonsParams +import net.osmand.aidl2.favorite.AFavorite +import net.osmand.aidl2.favorite.AddFavoriteParams +import net.osmand.aidl2.favorite.RemoveFavoriteParams +import net.osmand.aidl2.favorite.UpdateFavoriteParams +import net.osmand.aidl2.favorite.group.AFavoriteGroup +import net.osmand.aidl2.favorite.group.AddFavoriteGroupParams +import net.osmand.aidl2.favorite.group.RemoveFavoriteGroupParams +import net.osmand.aidl2.favorite.group.UpdateFavoriteGroupParams +import net.osmand.aidl2.gpx.* +import net.osmand.aidl2.map.ALatLon +import net.osmand.aidl2.map.SetMapLocationParams +import net.osmand.aidl2.maplayer.AMapLayer +import net.osmand.aidl2.maplayer.AddMapLayerParams +import net.osmand.aidl2.maplayer.RemoveMapLayerParams +import net.osmand.aidl2.maplayer.UpdateMapLayerParams +import net.osmand.aidl2.maplayer.point.* +import net.osmand.aidl2.mapmarker.AMapMarker +import net.osmand.aidl2.mapmarker.AddMapMarkerParams +import net.osmand.aidl2.mapmarker.RemoveMapMarkerParams +import net.osmand.aidl2.mapmarker.UpdateMapMarkerParams +import net.osmand.aidl2.mapwidget.AMapWidget +import net.osmand.aidl2.mapwidget.AddMapWidgetParams +import net.osmand.aidl2.mapwidget.RemoveMapWidgetParams +import net.osmand.aidl2.mapwidget.UpdateMapWidgetParams +import net.osmand.aidl2.navdrawer.NavDrawerItem +import net.osmand.aidl2.navdrawer.SetNavDrawerItemsParams +import net.osmand.aidl2.navigation.* +import net.osmand.aidl2.note.StartAudioRecordingParams +import net.osmand.aidl2.note.StartVideoRecordingParams +import net.osmand.aidl2.note.StopRecordingParams +import net.osmand.aidl2.note.TakePhotoNoteParams +import net.osmand.aidl2.search.SearchParams +import net.osmand.aidl2.search.SearchResult import net.osmand.telegram.TelegramApplication import net.osmand.telegram.helpers.ShowLocationHelper.Companion.MAP_LAYER_ID import java.io.File @@ -263,7 +263,7 @@ class OsmandAidlHelper(private val app: TelegramApplication) { private fun bindService(packageName: String): Boolean { return if (mIOsmAndAidlInterface == null) { - val intent = Intent("net.osmand.aidl.OsmandAidlService") + val intent = Intent("net.osmand.aidl.OsmandAidlServiceV2") intent.`package` = packageName app.bindService(intent, mConnection, Context.BIND_AUTO_CREATE) } else { diff --git a/OsmAnd-telegram/src/net/osmand/telegram/helpers/ShowLocationHelper.kt b/OsmAnd-telegram/src/net/osmand/telegram/helpers/ShowLocationHelper.kt index b5dac721f1..796e98310e 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/helpers/ShowLocationHelper.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/helpers/ShowLocationHelper.kt @@ -6,10 +6,10 @@ import android.os.AsyncTask import android.text.TextUtils import net.osmand.GPXUtilities import net.osmand.PlatformUtil -import net.osmand.aidl.gpx.AGpxFile -import net.osmand.aidl.map.ALatLon -import net.osmand.aidl.maplayer.point.AMapPoint -import net.osmand.aidl.mapmarker.AMapMarker +import net.osmand.aidl2.gpx.AGpxFile +import net.osmand.aidl2.map.ALatLon +import net.osmand.aidl2.maplayer.point.AMapPoint +import net.osmand.aidl2.mapmarker.AMapMarker import net.osmand.telegram.R import net.osmand.telegram.TelegramApplication import net.osmand.telegram.helpers.OsmandAidlHelper.ContextMenuButtonsListener diff --git a/OsmAnd-telegram/src/net/osmand/telegram/ui/UserGpxInfoFragment.kt b/OsmAnd-telegram/src/net/osmand/telegram/ui/UserGpxInfoFragment.kt index 2e8d6d381c..d048da85ad 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/ui/UserGpxInfoFragment.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/ui/UserGpxInfoFragment.kt @@ -24,7 +24,7 @@ import android.widget.TextView import android.widget.Toast import net.osmand.GPXUtilities import net.osmand.PlatformUtil -import net.osmand.aidl.gpx.AGpxBitmap +import net.osmand.aidl2.gpx.AGpxBitmap import net.osmand.telegram.R import net.osmand.telegram.TelegramApplication import net.osmand.telegram.TelegramSettings diff --git a/osmand-api/src/net/osmand/aidl2/AidlParams.java b/osmand-api/src/net/osmand/aidl2/AidlParams.java index 6e56105e0b..376ecaa2ef 100644 --- a/osmand-api/src/net/osmand/aidl2/AidlParams.java +++ b/osmand-api/src/net/osmand/aidl2/AidlParams.java @@ -6,14 +6,6 @@ import android.os.Parcelable; public abstract class AidlParams implements Parcelable { - protected AidlParams() { - - } - - protected AidlParams(Parcel in) { - readFromParcel(in); - } - @Override public final void writeToParcel(Parcel dest, int flags) { Bundle bundle = new Bundle(); @@ -21,17 +13,17 @@ public abstract class AidlParams implements Parcelable { dest.writeBundle(bundle); } - public void writeToBundle(Bundle bundle) { - - } - - protected void readFromParcel(Parcel in) { + protected final void readFromParcel(Parcel in) { Bundle bundle = in.readBundle(getClass().getClassLoader()); if (bundle != null) { readFromBundle(bundle); } } + protected void writeToBundle(Bundle bundle) { + + } + protected void readFromBundle(Bundle bundle) { } diff --git a/osmand-api/src/net/osmand/aidl2/calculateroute/CalculateRouteParams.java b/osmand-api/src/net/osmand/aidl2/calculateroute/CalculateRouteParams.java index f19126156e..6446ff958f 100644 --- a/osmand-api/src/net/osmand/aidl2/calculateroute/CalculateRouteParams.java +++ b/osmand-api/src/net/osmand/aidl2/calculateroute/CalculateRouteParams.java @@ -39,7 +39,7 @@ public class CalculateRouteParams extends AidlParams { } public CalculateRouteParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/contextmenu/AContextMenuButton.java b/osmand-api/src/net/osmand/aidl2/contextmenu/AContextMenuButton.java index b2696994da..f8b554c015 100644 --- a/osmand-api/src/net/osmand/aidl2/contextmenu/AContextMenuButton.java +++ b/osmand-api/src/net/osmand/aidl2/contextmenu/AContextMenuButton.java @@ -28,7 +28,7 @@ public class AContextMenuButton extends AidlParams { } protected AContextMenuButton(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { @@ -78,8 +78,8 @@ public class AContextMenuButton extends AidlParams { bundle.putString("rightTextCaption", rightTextCaption); bundle.putString("leftIconName", leftIconName); bundle.putString("rightIconName", rightIconName); - bundle.putBoolean("needColorizeIcon ", needColorizeIcon); - bundle.putBoolean("enabled ", enabled); + bundle.putBoolean("needColorizeIcon", needColorizeIcon); + bundle.putBoolean("enabled", enabled); } @Override diff --git a/osmand-api/src/net/osmand/aidl2/contextmenu/ContextMenuButtonsParams.java b/osmand-api/src/net/osmand/aidl2/contextmenu/ContextMenuButtonsParams.java index fce0fe898c..75b195a5cf 100644 --- a/osmand-api/src/net/osmand/aidl2/contextmenu/ContextMenuButtonsParams.java +++ b/osmand-api/src/net/osmand/aidl2/contextmenu/ContextMenuButtonsParams.java @@ -34,7 +34,7 @@ public class ContextMenuButtonsParams extends AidlParams { } public ContextMenuButtonsParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/contextmenu/RemoveContextMenuButtonsParams.java b/osmand-api/src/net/osmand/aidl2/contextmenu/RemoveContextMenuButtonsParams.java index 44c3bbe370..c0a4f696f5 100644 --- a/osmand-api/src/net/osmand/aidl2/contextmenu/RemoveContextMenuButtonsParams.java +++ b/osmand-api/src/net/osmand/aidl2/contextmenu/RemoveContextMenuButtonsParams.java @@ -16,7 +16,7 @@ public class RemoveContextMenuButtonsParams extends AidlParams { } public RemoveContextMenuButtonsParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/contextmenu/UpdateContextMenuButtonsParams.java b/osmand-api/src/net/osmand/aidl2/contextmenu/UpdateContextMenuButtonsParams.java index b5d3972970..b4e209b18b 100644 --- a/osmand-api/src/net/osmand/aidl2/contextmenu/UpdateContextMenuButtonsParams.java +++ b/osmand-api/src/net/osmand/aidl2/contextmenu/UpdateContextMenuButtonsParams.java @@ -14,7 +14,7 @@ public class UpdateContextMenuButtonsParams extends AidlParams { } public UpdateContextMenuButtonsParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/copyfile/CopyFileParams.java b/osmand-api/src/net/osmand/aidl2/copyfile/CopyFileParams.java index b52682cf2a..4168560713 100644 --- a/osmand-api/src/net/osmand/aidl2/copyfile/CopyFileParams.java +++ b/osmand-api/src/net/osmand/aidl2/copyfile/CopyFileParams.java @@ -21,7 +21,7 @@ public class CopyFileParams extends AidlParams { } protected CopyFileParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/customization/CustomizationInfoParams.java b/osmand-api/src/net/osmand/aidl2/customization/CustomizationInfoParams.java index 093905aafc..bacbfc0542 100644 --- a/osmand-api/src/net/osmand/aidl2/customization/CustomizationInfoParams.java +++ b/osmand-api/src/net/osmand/aidl2/customization/CustomizationInfoParams.java @@ -70,7 +70,7 @@ public class CustomizationInfoParams extends AidlParams { } public CustomizationInfoParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/customization/OsmandSettingsInfoParams.java b/osmand-api/src/net/osmand/aidl2/customization/OsmandSettingsInfoParams.java index 286d42c36d..6eb25ae4ef 100644 --- a/osmand-api/src/net/osmand/aidl2/customization/OsmandSettingsInfoParams.java +++ b/osmand-api/src/net/osmand/aidl2/customization/OsmandSettingsInfoParams.java @@ -15,7 +15,7 @@ public class OsmandSettingsInfoParams extends AidlParams { } public OsmandSettingsInfoParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/customization/OsmandSettingsParams.java b/osmand-api/src/net/osmand/aidl2/customization/OsmandSettingsParams.java index eefa5c6be7..08c53f1423 100644 --- a/osmand-api/src/net/osmand/aidl2/customization/OsmandSettingsParams.java +++ b/osmand-api/src/net/osmand/aidl2/customization/OsmandSettingsParams.java @@ -18,7 +18,7 @@ public class OsmandSettingsParams extends AidlParams { } public OsmandSettingsParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/customization/SetWidgetsParams.java b/osmand-api/src/net/osmand/aidl2/customization/SetWidgetsParams.java index 05bdc9ea10..d8a8c4fe3e 100644 --- a/osmand-api/src/net/osmand/aidl2/customization/SetWidgetsParams.java +++ b/osmand-api/src/net/osmand/aidl2/customization/SetWidgetsParams.java @@ -22,7 +22,7 @@ public class SetWidgetsParams extends AidlParams { } public SetWidgetsParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/favorite/AFavorite.java b/osmand-api/src/net/osmand/aidl2/favorite/AFavorite.java index 35d3321921..344f572459 100644 --- a/osmand-api/src/net/osmand/aidl2/favorite/AFavorite.java +++ b/osmand-api/src/net/osmand/aidl2/favorite/AFavorite.java @@ -27,7 +27,7 @@ public class AFavorite extends AidlParams { } public AFavorite(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/favorite/AddFavoriteParams.java b/osmand-api/src/net/osmand/aidl2/favorite/AddFavoriteParams.java index 3768bc8106..384d38f1aa 100644 --- a/osmand-api/src/net/osmand/aidl2/favorite/AddFavoriteParams.java +++ b/osmand-api/src/net/osmand/aidl2/favorite/AddFavoriteParams.java @@ -14,7 +14,7 @@ public class AddFavoriteParams extends AidlParams { } public AddFavoriteParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/favorite/RemoveFavoriteParams.java b/osmand-api/src/net/osmand/aidl2/favorite/RemoveFavoriteParams.java index 53536a54d3..8cf649e1ca 100644 --- a/osmand-api/src/net/osmand/aidl2/favorite/RemoveFavoriteParams.java +++ b/osmand-api/src/net/osmand/aidl2/favorite/RemoveFavoriteParams.java @@ -14,7 +14,7 @@ public class RemoveFavoriteParams extends AidlParams { } public RemoveFavoriteParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/favorite/UpdateFavoriteParams.java b/osmand-api/src/net/osmand/aidl2/favorite/UpdateFavoriteParams.java index 41b7b31824..d9f515e695 100644 --- a/osmand-api/src/net/osmand/aidl2/favorite/UpdateFavoriteParams.java +++ b/osmand-api/src/net/osmand/aidl2/favorite/UpdateFavoriteParams.java @@ -16,7 +16,7 @@ public class UpdateFavoriteParams extends AidlParams { } public UpdateFavoriteParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/favorite/group/AFavoriteGroup.java b/osmand-api/src/net/osmand/aidl2/favorite/group/AFavoriteGroup.java index 28a8732619..677b10b912 100644 --- a/osmand-api/src/net/osmand/aidl2/favorite/group/AFavoriteGroup.java +++ b/osmand-api/src/net/osmand/aidl2/favorite/group/AFavoriteGroup.java @@ -18,7 +18,7 @@ public class AFavoriteGroup extends AidlParams { } public AFavoriteGroup(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/favorite/group/AddFavoriteGroupParams.java b/osmand-api/src/net/osmand/aidl2/favorite/group/AddFavoriteGroupParams.java index a9031f7d44..dee4d87185 100644 --- a/osmand-api/src/net/osmand/aidl2/favorite/group/AddFavoriteGroupParams.java +++ b/osmand-api/src/net/osmand/aidl2/favorite/group/AddFavoriteGroupParams.java @@ -14,7 +14,7 @@ public class AddFavoriteGroupParams extends AidlParams { } public AddFavoriteGroupParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/favorite/group/RemoveFavoriteGroupParams.java b/osmand-api/src/net/osmand/aidl2/favorite/group/RemoveFavoriteGroupParams.java index 5ef1873456..033706ebe9 100644 --- a/osmand-api/src/net/osmand/aidl2/favorite/group/RemoveFavoriteGroupParams.java +++ b/osmand-api/src/net/osmand/aidl2/favorite/group/RemoveFavoriteGroupParams.java @@ -14,7 +14,7 @@ public class RemoveFavoriteGroupParams extends AidlParams { } public RemoveFavoriteGroupParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/favorite/group/UpdateFavoriteGroupParams.java b/osmand-api/src/net/osmand/aidl2/favorite/group/UpdateFavoriteGroupParams.java index 298b62aec5..adba31107b 100644 --- a/osmand-api/src/net/osmand/aidl2/favorite/group/UpdateFavoriteGroupParams.java +++ b/osmand-api/src/net/osmand/aidl2/favorite/group/UpdateFavoriteGroupParams.java @@ -16,7 +16,7 @@ public class UpdateFavoriteGroupParams extends AidlParams { } public UpdateFavoriteGroupParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/gpx/AGpxBitmap.java b/osmand-api/src/net/osmand/aidl2/gpx/AGpxBitmap.java index bb4b0f0127..7191ec64df 100644 --- a/osmand-api/src/net/osmand/aidl2/gpx/AGpxBitmap.java +++ b/osmand-api/src/net/osmand/aidl2/gpx/AGpxBitmap.java @@ -16,7 +16,7 @@ public class AGpxBitmap extends AidlParams { } public AGpxBitmap(Parcel in) { - super(in); + readFromParcel(in); } public Bitmap getBitmap() { diff --git a/osmand-api/src/net/osmand/aidl2/gpx/AGpxFile.java b/osmand-api/src/net/osmand/aidl2/gpx/AGpxFile.java index 1bdc33aa7c..86adea8394 100644 --- a/osmand-api/src/net/osmand/aidl2/gpx/AGpxFile.java +++ b/osmand-api/src/net/osmand/aidl2/gpx/AGpxFile.java @@ -24,7 +24,7 @@ public class AGpxFile extends AidlParams { } public AGpxFile(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/gpx/AGpxFileDetails.java b/osmand-api/src/net/osmand/aidl2/gpx/AGpxFileDetails.java index 7e35119bdc..45f81ee41d 100644 --- a/osmand-api/src/net/osmand/aidl2/gpx/AGpxFileDetails.java +++ b/osmand-api/src/net/osmand/aidl2/gpx/AGpxFileDetails.java @@ -64,7 +64,7 @@ public class AGpxFileDetails extends AidlParams { } public AGpxFileDetails(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/gpx/ASelectedGpxFile.java b/osmand-api/src/net/osmand/aidl2/gpx/ASelectedGpxFile.java index 0e888218b5..e28d6dafe5 100644 --- a/osmand-api/src/net/osmand/aidl2/gpx/ASelectedGpxFile.java +++ b/osmand-api/src/net/osmand/aidl2/gpx/ASelectedGpxFile.java @@ -26,7 +26,7 @@ public class ASelectedGpxFile extends AidlParams { } public ASelectedGpxFile(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/gpx/CreateGpxBitmapParams.java b/osmand-api/src/net/osmand/aidl2/gpx/CreateGpxBitmapParams.java index ab6b022a93..4e3d6ccfe1 100644 --- a/osmand-api/src/net/osmand/aidl2/gpx/CreateGpxBitmapParams.java +++ b/osmand-api/src/net/osmand/aidl2/gpx/CreateGpxBitmapParams.java @@ -34,7 +34,7 @@ public class CreateGpxBitmapParams extends AidlParams { } public CreateGpxBitmapParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/gpx/GpxColorParams.java b/osmand-api/src/net/osmand/aidl2/gpx/GpxColorParams.java index 04c34f2124..516f6d9a0e 100644 --- a/osmand-api/src/net/osmand/aidl2/gpx/GpxColorParams.java +++ b/osmand-api/src/net/osmand/aidl2/gpx/GpxColorParams.java @@ -25,7 +25,7 @@ public class GpxColorParams extends AidlParams { } public GpxColorParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/gpx/HideGpxParams.java b/osmand-api/src/net/osmand/aidl2/gpx/HideGpxParams.java index 2bf4ef654f..3f8df40f9f 100644 --- a/osmand-api/src/net/osmand/aidl2/gpx/HideGpxParams.java +++ b/osmand-api/src/net/osmand/aidl2/gpx/HideGpxParams.java @@ -14,7 +14,7 @@ public class HideGpxParams extends AidlParams { } public HideGpxParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/gpx/ImportGpxParams.java b/osmand-api/src/net/osmand/aidl2/gpx/ImportGpxParams.java index e0daf80985..9c67fa779e 100644 --- a/osmand-api/src/net/osmand/aidl2/gpx/ImportGpxParams.java +++ b/osmand-api/src/net/osmand/aidl2/gpx/ImportGpxParams.java @@ -39,7 +39,7 @@ public class ImportGpxParams extends AidlParams { } public ImportGpxParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/gpx/RemoveGpxParams.java b/osmand-api/src/net/osmand/aidl2/gpx/RemoveGpxParams.java index f4be1a81a6..c46936edbc 100644 --- a/osmand-api/src/net/osmand/aidl2/gpx/RemoveGpxParams.java +++ b/osmand-api/src/net/osmand/aidl2/gpx/RemoveGpxParams.java @@ -14,7 +14,7 @@ public class RemoveGpxParams extends AidlParams { } public RemoveGpxParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/gpx/ShowGpxParams.java b/osmand-api/src/net/osmand/aidl2/gpx/ShowGpxParams.java index 6df40c6b48..9a2ea7f677 100644 --- a/osmand-api/src/net/osmand/aidl2/gpx/ShowGpxParams.java +++ b/osmand-api/src/net/osmand/aidl2/gpx/ShowGpxParams.java @@ -14,7 +14,7 @@ public class ShowGpxParams extends AidlParams { } public ShowGpxParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/gpx/StartGpxRecordingParams.java b/osmand-api/src/net/osmand/aidl2/gpx/StartGpxRecordingParams.java index 81eb7598e0..b829302e25 100644 --- a/osmand-api/src/net/osmand/aidl2/gpx/StartGpxRecordingParams.java +++ b/osmand-api/src/net/osmand/aidl2/gpx/StartGpxRecordingParams.java @@ -11,7 +11,7 @@ public class StartGpxRecordingParams extends AidlParams { } public StartGpxRecordingParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/gpx/StopGpxRecordingParams.java b/osmand-api/src/net/osmand/aidl2/gpx/StopGpxRecordingParams.java index 73d6882650..dca59579a5 100644 --- a/osmand-api/src/net/osmand/aidl2/gpx/StopGpxRecordingParams.java +++ b/osmand-api/src/net/osmand/aidl2/gpx/StopGpxRecordingParams.java @@ -11,7 +11,7 @@ public class StopGpxRecordingParams extends AidlParams { } public StopGpxRecordingParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/map/ALatLon.java b/osmand-api/src/net/osmand/aidl2/map/ALatLon.java index b4889a63e0..03ce65a058 100644 --- a/osmand-api/src/net/osmand/aidl2/map/ALatLon.java +++ b/osmand-api/src/net/osmand/aidl2/map/ALatLon.java @@ -16,7 +16,7 @@ public class ALatLon extends AidlParams { } public ALatLon(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/map/SetMapLocationParams.java b/osmand-api/src/net/osmand/aidl2/map/SetMapLocationParams.java index 49707daa76..1e2c0b59e0 100644 --- a/osmand-api/src/net/osmand/aidl2/map/SetMapLocationParams.java +++ b/osmand-api/src/net/osmand/aidl2/map/SetMapLocationParams.java @@ -20,7 +20,7 @@ public class SetMapLocationParams extends AidlParams { } public SetMapLocationParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/maplayer/AMapLayer.java b/osmand-api/src/net/osmand/aidl2/maplayer/AMapLayer.java index d20d5900b9..783920f140 100644 --- a/osmand-api/src/net/osmand/aidl2/maplayer/AMapLayer.java +++ b/osmand-api/src/net/osmand/aidl2/maplayer/AMapLayer.java @@ -38,7 +38,7 @@ public class AMapLayer extends AidlParams { } public AMapLayer(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/maplayer/AddMapLayerParams.java b/osmand-api/src/net/osmand/aidl2/maplayer/AddMapLayerParams.java index ca4ed2223b..273a71b064 100644 --- a/osmand-api/src/net/osmand/aidl2/maplayer/AddMapLayerParams.java +++ b/osmand-api/src/net/osmand/aidl2/maplayer/AddMapLayerParams.java @@ -14,7 +14,7 @@ public class AddMapLayerParams extends AidlParams { } public AddMapLayerParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/maplayer/RemoveMapLayerParams.java b/osmand-api/src/net/osmand/aidl2/maplayer/RemoveMapLayerParams.java index b8a1eba6e1..802459da9e 100644 --- a/osmand-api/src/net/osmand/aidl2/maplayer/RemoveMapLayerParams.java +++ b/osmand-api/src/net/osmand/aidl2/maplayer/RemoveMapLayerParams.java @@ -14,7 +14,7 @@ public class RemoveMapLayerParams extends AidlParams { } public RemoveMapLayerParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/maplayer/UpdateMapLayerParams.java b/osmand-api/src/net/osmand/aidl2/maplayer/UpdateMapLayerParams.java index 7813936abd..08e4964966 100644 --- a/osmand-api/src/net/osmand/aidl2/maplayer/UpdateMapLayerParams.java +++ b/osmand-api/src/net/osmand/aidl2/maplayer/UpdateMapLayerParams.java @@ -14,7 +14,7 @@ public class UpdateMapLayerParams extends AidlParams { } public UpdateMapLayerParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/maplayer/point/AMapPoint.java b/osmand-api/src/net/osmand/aidl2/maplayer/point/AMapPoint.java index b47e8c69d8..0cd5843389 100644 --- a/osmand-api/src/net/osmand/aidl2/maplayer/point/AMapPoint.java +++ b/osmand-api/src/net/osmand/aidl2/maplayer/point/AMapPoint.java @@ -47,7 +47,7 @@ public class AMapPoint extends AidlParams { } public AMapPoint(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/maplayer/point/AddMapPointParams.java b/osmand-api/src/net/osmand/aidl2/maplayer/point/AddMapPointParams.java index e477faf423..c2fa51b86d 100644 --- a/osmand-api/src/net/osmand/aidl2/maplayer/point/AddMapPointParams.java +++ b/osmand-api/src/net/osmand/aidl2/maplayer/point/AddMapPointParams.java @@ -16,7 +16,7 @@ public class AddMapPointParams extends AidlParams { } public AddMapPointParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/maplayer/point/RemoveMapPointParams.java b/osmand-api/src/net/osmand/aidl2/maplayer/point/RemoveMapPointParams.java index 4e65a73f3e..2ea08e45df 100644 --- a/osmand-api/src/net/osmand/aidl2/maplayer/point/RemoveMapPointParams.java +++ b/osmand-api/src/net/osmand/aidl2/maplayer/point/RemoveMapPointParams.java @@ -16,7 +16,7 @@ public class RemoveMapPointParams extends AidlParams { } public RemoveMapPointParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/maplayer/point/ShowMapPointParams.java b/osmand-api/src/net/osmand/aidl2/maplayer/point/ShowMapPointParams.java index 6e2d939ad3..215c7e7e25 100644 --- a/osmand-api/src/net/osmand/aidl2/maplayer/point/ShowMapPointParams.java +++ b/osmand-api/src/net/osmand/aidl2/maplayer/point/ShowMapPointParams.java @@ -16,7 +16,7 @@ public class ShowMapPointParams extends AidlParams { } public ShowMapPointParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/maplayer/point/UpdateMapPointParams.java b/osmand-api/src/net/osmand/aidl2/maplayer/point/UpdateMapPointParams.java index 1f4daed682..552b54ce79 100644 --- a/osmand-api/src/net/osmand/aidl2/maplayer/point/UpdateMapPointParams.java +++ b/osmand-api/src/net/osmand/aidl2/maplayer/point/UpdateMapPointParams.java @@ -18,7 +18,7 @@ public class UpdateMapPointParams extends AidlParams { } public UpdateMapPointParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/mapmarker/AMapMarker.java b/osmand-api/src/net/osmand/aidl2/mapmarker/AMapMarker.java index 0b9df99f0a..a5c6c86aa9 100644 --- a/osmand-api/src/net/osmand/aidl2/mapmarker/AMapMarker.java +++ b/osmand-api/src/net/osmand/aidl2/mapmarker/AMapMarker.java @@ -23,7 +23,7 @@ public class AMapMarker extends AidlParams { } public AMapMarker(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/mapmarker/AddMapMarkerParams.java b/osmand-api/src/net/osmand/aidl2/mapmarker/AddMapMarkerParams.java index 2027dcb0f9..ab56f6a3ae 100644 --- a/osmand-api/src/net/osmand/aidl2/mapmarker/AddMapMarkerParams.java +++ b/osmand-api/src/net/osmand/aidl2/mapmarker/AddMapMarkerParams.java @@ -14,7 +14,7 @@ public class AddMapMarkerParams extends AidlParams { } public AddMapMarkerParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/mapmarker/RemoveMapMarkerParams.java b/osmand-api/src/net/osmand/aidl2/mapmarker/RemoveMapMarkerParams.java index a42d9712dd..afd363320b 100644 --- a/osmand-api/src/net/osmand/aidl2/mapmarker/RemoveMapMarkerParams.java +++ b/osmand-api/src/net/osmand/aidl2/mapmarker/RemoveMapMarkerParams.java @@ -21,7 +21,7 @@ public class RemoveMapMarkerParams extends AidlParams { } public RemoveMapMarkerParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/mapmarker/RemoveMapMarkersParams.java b/osmand-api/src/net/osmand/aidl2/mapmarker/RemoveMapMarkersParams.java index 31fecf2280..b23fabf632 100644 --- a/osmand-api/src/net/osmand/aidl2/mapmarker/RemoveMapMarkersParams.java +++ b/osmand-api/src/net/osmand/aidl2/mapmarker/RemoveMapMarkersParams.java @@ -11,7 +11,7 @@ public class RemoveMapMarkersParams extends AidlParams { } public RemoveMapMarkersParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/mapmarker/UpdateMapMarkerParams.java b/osmand-api/src/net/osmand/aidl2/mapmarker/UpdateMapMarkerParams.java index 18d0c1b123..3670c24f63 100644 --- a/osmand-api/src/net/osmand/aidl2/mapmarker/UpdateMapMarkerParams.java +++ b/osmand-api/src/net/osmand/aidl2/mapmarker/UpdateMapMarkerParams.java @@ -24,7 +24,7 @@ public class UpdateMapMarkerParams extends AidlParams { } public UpdateMapMarkerParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/mapwidget/AMapWidget.java b/osmand-api/src/net/osmand/aidl2/mapwidget/AMapWidget.java index f34979c03c..82b1f7befb 100644 --- a/osmand-api/src/net/osmand/aidl2/mapwidget/AMapWidget.java +++ b/osmand-api/src/net/osmand/aidl2/mapwidget/AMapWidget.java @@ -32,7 +32,7 @@ public class AMapWidget extends AidlParams { } public AMapWidget(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/mapwidget/AddMapWidgetParams.java b/osmand-api/src/net/osmand/aidl2/mapwidget/AddMapWidgetParams.java index 4359defbe0..ee387af8e0 100644 --- a/osmand-api/src/net/osmand/aidl2/mapwidget/AddMapWidgetParams.java +++ b/osmand-api/src/net/osmand/aidl2/mapwidget/AddMapWidgetParams.java @@ -14,7 +14,7 @@ public class AddMapWidgetParams extends AidlParams { } public AddMapWidgetParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/mapwidget/RemoveMapWidgetParams.java b/osmand-api/src/net/osmand/aidl2/mapwidget/RemoveMapWidgetParams.java index 00ea34153f..17bbe3ddcf 100644 --- a/osmand-api/src/net/osmand/aidl2/mapwidget/RemoveMapWidgetParams.java +++ b/osmand-api/src/net/osmand/aidl2/mapwidget/RemoveMapWidgetParams.java @@ -14,7 +14,7 @@ public class RemoveMapWidgetParams extends AidlParams { } public RemoveMapWidgetParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/mapwidget/UpdateMapWidgetParams.java b/osmand-api/src/net/osmand/aidl2/mapwidget/UpdateMapWidgetParams.java index 34ea3f46a6..0ca2fdd499 100644 --- a/osmand-api/src/net/osmand/aidl2/mapwidget/UpdateMapWidgetParams.java +++ b/osmand-api/src/net/osmand/aidl2/mapwidget/UpdateMapWidgetParams.java @@ -14,7 +14,7 @@ public class UpdateMapWidgetParams extends AidlParams { } public UpdateMapWidgetParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navdrawer/NavDrawerFooterParams.java b/osmand-api/src/net/osmand/aidl2/navdrawer/NavDrawerFooterParams.java index c7d3e7a8fc..fc59230bfb 100644 --- a/osmand-api/src/net/osmand/aidl2/navdrawer/NavDrawerFooterParams.java +++ b/osmand-api/src/net/osmand/aidl2/navdrawer/NavDrawerFooterParams.java @@ -39,7 +39,7 @@ public class NavDrawerFooterParams extends AidlParams { } protected NavDrawerFooterParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navdrawer/NavDrawerHeaderParams.java b/osmand-api/src/net/osmand/aidl2/navdrawer/NavDrawerHeaderParams.java index b36912a90e..61b1a15cfe 100644 --- a/osmand-api/src/net/osmand/aidl2/navdrawer/NavDrawerHeaderParams.java +++ b/osmand-api/src/net/osmand/aidl2/navdrawer/NavDrawerHeaderParams.java @@ -39,7 +39,7 @@ public class NavDrawerHeaderParams extends AidlParams { } public NavDrawerHeaderParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navdrawer/NavDrawerItem.java b/osmand-api/src/net/osmand/aidl2/navdrawer/NavDrawerItem.java index 1e1c8490a0..7a393a4da0 100644 --- a/osmand-api/src/net/osmand/aidl2/navdrawer/NavDrawerItem.java +++ b/osmand-api/src/net/osmand/aidl2/navdrawer/NavDrawerItem.java @@ -26,7 +26,7 @@ public class NavDrawerItem extends AidlParams { } protected NavDrawerItem(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navdrawer/SetNavDrawerItemsParams.java b/osmand-api/src/net/osmand/aidl2/navdrawer/SetNavDrawerItemsParams.java index 605d34f9d8..adf69bd10a 100644 --- a/osmand-api/src/net/osmand/aidl2/navdrawer/SetNavDrawerItemsParams.java +++ b/osmand-api/src/net/osmand/aidl2/navdrawer/SetNavDrawerItemsParams.java @@ -20,7 +20,7 @@ public class SetNavDrawerItemsParams extends AidlParams { } protected SetNavDrawerItemsParams(Parcel in) { - super(in); + readFromParcel(in); } public String getAppPackage() { diff --git a/osmand-api/src/net/osmand/aidl2/navigation/ADirectionInfo.java b/osmand-api/src/net/osmand/aidl2/navigation/ADirectionInfo.java index 6f3ad0aa77..3c128ee399 100644 --- a/osmand-api/src/net/osmand/aidl2/navigation/ADirectionInfo.java +++ b/osmand-api/src/net/osmand/aidl2/navigation/ADirectionInfo.java @@ -18,7 +18,7 @@ public class ADirectionInfo extends AidlParams { } protected ADirectionInfo(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navigation/ANavigationUpdateParams.java b/osmand-api/src/net/osmand/aidl2/navigation/ANavigationUpdateParams.java index 5bd878bd03..a1ec5e2a5b 100644 --- a/osmand-api/src/net/osmand/aidl2/navigation/ANavigationUpdateParams.java +++ b/osmand-api/src/net/osmand/aidl2/navigation/ANavigationUpdateParams.java @@ -15,7 +15,7 @@ public class ANavigationUpdateParams extends AidlParams { } protected ANavigationUpdateParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navigation/ANavigationVoiceRouterMessageParams.java b/osmand-api/src/net/osmand/aidl2/navigation/ANavigationVoiceRouterMessageParams.java index 18915b4b7f..3126ea54a6 100644 --- a/osmand-api/src/net/osmand/aidl2/navigation/ANavigationVoiceRouterMessageParams.java +++ b/osmand-api/src/net/osmand/aidl2/navigation/ANavigationVoiceRouterMessageParams.java @@ -15,7 +15,7 @@ public class ANavigationVoiceRouterMessageParams extends AidlParams { } protected ANavigationVoiceRouterMessageParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navigation/MuteNavigationParams.java b/osmand-api/src/net/osmand/aidl2/navigation/MuteNavigationParams.java index 8eb91f7419..13fd746231 100644 --- a/osmand-api/src/net/osmand/aidl2/navigation/MuteNavigationParams.java +++ b/osmand-api/src/net/osmand/aidl2/navigation/MuteNavigationParams.java @@ -10,7 +10,7 @@ public class MuteNavigationParams extends AidlParams { } public MuteNavigationParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navigation/NavigateGpxParams.java b/osmand-api/src/net/osmand/aidl2/navigation/NavigateGpxParams.java index d97cac2ee0..fce14cddc5 100644 --- a/osmand-api/src/net/osmand/aidl2/navigation/NavigateGpxParams.java +++ b/osmand-api/src/net/osmand/aidl2/navigation/NavigateGpxParams.java @@ -23,7 +23,7 @@ public class NavigateGpxParams extends AidlParams { } public NavigateGpxParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navigation/NavigateParams.java b/osmand-api/src/net/osmand/aidl2/navigation/NavigateParams.java index 83aa76f32c..3a183e9680 100644 --- a/osmand-api/src/net/osmand/aidl2/navigation/NavigateParams.java +++ b/osmand-api/src/net/osmand/aidl2/navigation/NavigateParams.java @@ -30,7 +30,7 @@ public class NavigateParams extends AidlParams { } public NavigateParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navigation/NavigateSearchParams.java b/osmand-api/src/net/osmand/aidl2/navigation/NavigateSearchParams.java index 108ef1f414..eb53ee63ca 100644 --- a/osmand-api/src/net/osmand/aidl2/navigation/NavigateSearchParams.java +++ b/osmand-api/src/net/osmand/aidl2/navigation/NavigateSearchParams.java @@ -32,7 +32,7 @@ public class NavigateSearchParams extends AidlParams { } public NavigateSearchParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navigation/OnVoiceNavigationParams.java b/osmand-api/src/net/osmand/aidl2/navigation/OnVoiceNavigationParams.java index ba95343169..23e2e69be8 100644 --- a/osmand-api/src/net/osmand/aidl2/navigation/OnVoiceNavigationParams.java +++ b/osmand-api/src/net/osmand/aidl2/navigation/OnVoiceNavigationParams.java @@ -27,7 +27,7 @@ public class OnVoiceNavigationParams extends AidlParams { } public OnVoiceNavigationParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navigation/PauseNavigationParams.java b/osmand-api/src/net/osmand/aidl2/navigation/PauseNavigationParams.java index 5b4a0c557f..d25078659b 100644 --- a/osmand-api/src/net/osmand/aidl2/navigation/PauseNavigationParams.java +++ b/osmand-api/src/net/osmand/aidl2/navigation/PauseNavigationParams.java @@ -11,7 +11,7 @@ public class PauseNavigationParams extends AidlParams { } public PauseNavigationParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navigation/ResumeNavigationParams.java b/osmand-api/src/net/osmand/aidl2/navigation/ResumeNavigationParams.java index 66fd20ef6e..59229d1b62 100644 --- a/osmand-api/src/net/osmand/aidl2/navigation/ResumeNavigationParams.java +++ b/osmand-api/src/net/osmand/aidl2/navigation/ResumeNavigationParams.java @@ -11,7 +11,7 @@ public class ResumeNavigationParams extends AidlParams { } public ResumeNavigationParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navigation/StopNavigationParams.java b/osmand-api/src/net/osmand/aidl2/navigation/StopNavigationParams.java index da31b0d204..05e120db29 100644 --- a/osmand-api/src/net/osmand/aidl2/navigation/StopNavigationParams.java +++ b/osmand-api/src/net/osmand/aidl2/navigation/StopNavigationParams.java @@ -11,7 +11,7 @@ public class StopNavigationParams extends AidlParams { } public StopNavigationParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/navigation/UnmuteNavigationParams.java b/osmand-api/src/net/osmand/aidl2/navigation/UnmuteNavigationParams.java index 16477296c1..1b68f80b3d 100644 --- a/osmand-api/src/net/osmand/aidl2/navigation/UnmuteNavigationParams.java +++ b/osmand-api/src/net/osmand/aidl2/navigation/UnmuteNavigationParams.java @@ -11,7 +11,7 @@ public class UnmuteNavigationParams extends AidlParams { } public UnmuteNavigationParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/note/StartAudioRecordingParams.java b/osmand-api/src/net/osmand/aidl2/note/StartAudioRecordingParams.java index ba9ccf4a25..0e439308fc 100644 --- a/osmand-api/src/net/osmand/aidl2/note/StartAudioRecordingParams.java +++ b/osmand-api/src/net/osmand/aidl2/note/StartAudioRecordingParams.java @@ -16,7 +16,7 @@ public class StartAudioRecordingParams extends AidlParams { } public StartAudioRecordingParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/note/StartVideoRecordingParams.java b/osmand-api/src/net/osmand/aidl2/note/StartVideoRecordingParams.java index 74c79166a7..47a6573f28 100644 --- a/osmand-api/src/net/osmand/aidl2/note/StartVideoRecordingParams.java +++ b/osmand-api/src/net/osmand/aidl2/note/StartVideoRecordingParams.java @@ -16,7 +16,7 @@ public class StartVideoRecordingParams extends AidlParams { } public StartVideoRecordingParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/note/StopRecordingParams.java b/osmand-api/src/net/osmand/aidl2/note/StopRecordingParams.java index 7ae0f7f2c1..d9eea9c153 100644 --- a/osmand-api/src/net/osmand/aidl2/note/StopRecordingParams.java +++ b/osmand-api/src/net/osmand/aidl2/note/StopRecordingParams.java @@ -11,7 +11,7 @@ public class StopRecordingParams extends AidlParams { } public StopRecordingParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/note/TakePhotoNoteParams.java b/osmand-api/src/net/osmand/aidl2/note/TakePhotoNoteParams.java index 1396b8912c..491c54f294 100644 --- a/osmand-api/src/net/osmand/aidl2/note/TakePhotoNoteParams.java +++ b/osmand-api/src/net/osmand/aidl2/note/TakePhotoNoteParams.java @@ -16,7 +16,7 @@ public class TakePhotoNoteParams extends AidlParams { } public TakePhotoNoteParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/plugins/PluginParams.java b/osmand-api/src/net/osmand/aidl2/plugins/PluginParams.java index e32a65af2e..ebe85053d6 100644 --- a/osmand-api/src/net/osmand/aidl2/plugins/PluginParams.java +++ b/osmand-api/src/net/osmand/aidl2/plugins/PluginParams.java @@ -24,7 +24,7 @@ public class PluginParams extends AidlParams { } protected PluginParams(Parcel in) { - super(in); + readFromParcel(in); } @Override diff --git a/osmand-api/src/net/osmand/aidl2/search/SearchParams.java b/osmand-api/src/net/osmand/aidl2/search/SearchParams.java index cab316f1f3..b3577817f9 100644 --- a/osmand-api/src/net/osmand/aidl2/search/SearchParams.java +++ b/osmand-api/src/net/osmand/aidl2/search/SearchParams.java @@ -28,7 +28,7 @@ public class SearchParams extends AidlParams { } public SearchParams(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/search/SearchResult.java b/osmand-api/src/net/osmand/aidl2/search/SearchResult.java index 68dfe391f3..2117c373c8 100644 --- a/osmand-api/src/net/osmand/aidl2/search/SearchResult.java +++ b/osmand-api/src/net/osmand/aidl2/search/SearchResult.java @@ -33,7 +33,7 @@ public class SearchResult extends AidlParams { } public SearchResult(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() { diff --git a/osmand-api/src/net/osmand/aidl2/tiles/ASqliteDbFile.java b/osmand-api/src/net/osmand/aidl2/tiles/ASqliteDbFile.java index edea6e34de..989996ad9f 100644 --- a/osmand-api/src/net/osmand/aidl2/tiles/ASqliteDbFile.java +++ b/osmand-api/src/net/osmand/aidl2/tiles/ASqliteDbFile.java @@ -21,7 +21,7 @@ public class ASqliteDbFile extends AidlParams { } public ASqliteDbFile(Parcel in) { - super(in); + readFromParcel(in); } public static final Creator CREATOR = new Creator() {