Set serialVersionUID for all modified jobs.

At least this won't continue to fuck us up.

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-06-24 18:26:51 -07:00
parent 2c9c9891c6
commit c920146bff
6 changed files with 12 additions and 0 deletions

View File

@ -39,6 +39,8 @@ import javax.inject.Inject;
public class MultiDeviceContactUpdateJob extends MasterSecretJob implements InjectableType { public class MultiDeviceContactUpdateJob extends MasterSecretJob implements InjectableType {
private static final long serialVersionUID = 1L;
private static final String TAG = MultiDeviceContactUpdateJob.class.getSimpleName(); private static final String TAG = MultiDeviceContactUpdateJob.class.getSimpleName();
@Inject transient TextSecureMessageSenderFactory messageSenderFactory; @Inject transient TextSecureMessageSenderFactory messageSenderFactory;

View File

@ -30,6 +30,8 @@ import javax.inject.Inject;
public class MultiDeviceGroupUpdateJob extends MasterSecretJob implements InjectableType { public class MultiDeviceGroupUpdateJob extends MasterSecretJob implements InjectableType {
private static final long serialVersionUID = 1L;
@Inject @Inject
transient TextSecureCommunicationModule.TextSecureMessageSenderFactory messageSenderFactory; transient TextSecureCommunicationModule.TextSecureMessageSenderFactory messageSenderFactory;

View File

@ -61,6 +61,8 @@ import ws.com.google.android.mms.MmsException;
public class PushDecryptJob extends MasterSecretJob { public class PushDecryptJob extends MasterSecretJob {
private static final long serialVersionUID = 1L;
public static final String TAG = PushDecryptJob.class.getSimpleName(); public static final String TAG = PushDecryptJob.class.getSimpleName();
private final long messageId; private final long messageId;

View File

@ -46,6 +46,8 @@ import static org.thoughtcrime.securesms.dependencies.TextSecureCommunicationMod
public class PushGroupSendJob extends PushSendJob implements InjectableType { public class PushGroupSendJob extends PushSendJob implements InjectableType {
private static final long serialVersionUID = 1L;
private static final String TAG = PushGroupSendJob.class.getSimpleName(); private static final String TAG = PushGroupSendJob.class.getSimpleName();
@Inject transient TextSecureMessageSenderFactory messageSenderFactory; @Inject transient TextSecureMessageSenderFactory messageSenderFactory;

View File

@ -36,6 +36,8 @@ import static org.thoughtcrime.securesms.dependencies.TextSecureCommunicationMod
public class PushMediaSendJob extends PushSendJob implements InjectableType { public class PushMediaSendJob extends PushSendJob implements InjectableType {
private static final long serialVersionUID = 1L;
private static final String TAG = PushMediaSendJob.class.getSimpleName(); private static final String TAG = PushMediaSendJob.class.getSimpleName();
@Inject transient TextSecureMessageSenderFactory messageSenderFactory; @Inject transient TextSecureMessageSenderFactory messageSenderFactory;

View File

@ -31,6 +31,8 @@ import static org.thoughtcrime.securesms.dependencies.TextSecureCommunicationMod
public class PushTextSendJob extends PushSendJob implements InjectableType { public class PushTextSendJob extends PushSendJob implements InjectableType {
private static final long serialVersionUID = 1L;
private static final String TAG = PushTextSendJob.class.getSimpleName(); private static final String TAG = PushTextSendJob.class.getSimpleName();
@Inject transient TextSecureMessageSenderFactory messageSenderFactory; @Inject transient TextSecureMessageSenderFactory messageSenderFactory;