From 1df8c42a2def6b8f4bb1217c4e73ede1694649ac Mon Sep 17 00:00:00 2001 From: Brad Ebinger Date: Thu, 4 Feb 2016 17:24:55 -0800 Subject: Defines the serialVersionUID for deserialization Upon migration from Android M to N, deserialization of the SIP profiles becomes impossible because the serialVersionUID of NetObject has changed. This change fixes the serialVersionUID to the previous value so that the SIP profiles are not lost during migration. BUG: 26361559 Change-Id: If4358d4f396881e87d6d41231e3eec41ada63a00 --- java/gov/nist/javax/sip/address/NetObject.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java/gov/nist/javax/sip/address/NetObject.java b/java/gov/nist/javax/sip/address/NetObject.java index 6dd3ec6..7eb285c 100644 --- a/java/gov/nist/javax/sip/address/NetObject.java +++ b/java/gov/nist/javax/sip/address/NetObject.java @@ -43,6 +43,10 @@ import java.lang.reflect.*; */ public abstract class NetObject extends GenericObject { + // BEGIN android-added + protected static final long serialVersionUID = 6149926203633320729L; + // END android-added + protected static final String CORE_PACKAGE = PackageNames.CORE_PACKAGE; protected static final String NET_PACKAGE = PackageNames.NET_PACKAGE; protected static final String PARSER_PACKAGE = PackageNames.PARSER_PACKAGE; -- cgit v1.2.3