mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-01 22:25:46 +01:00
committed by
Moxie Marlinspike
parent
daa98107c3
commit
c2e5f4e80a
@@ -43,7 +43,7 @@ public class PduBody {
|
||||
|
||||
public boolean containsPushInProgress() {
|
||||
for (int i=0;i<getPartsNum();i++) {
|
||||
if (getPart(i).isPendingPush()) {
|
||||
if (getPart(i).isInProgress()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ public class PduPart {
|
||||
private long rowId = -1;
|
||||
private long uniqueId = -1;
|
||||
private boolean isEncrypted;
|
||||
private boolean isPendingPush;
|
||||
private boolean isInProgress;
|
||||
private long dataSize;
|
||||
private Bitmap thumbnail;
|
||||
|
||||
@@ -164,12 +164,12 @@ public class PduPart {
|
||||
}
|
||||
|
||||
|
||||
public void setPendingPush(boolean isPendingPush) {
|
||||
this.isPendingPush = isPendingPush;
|
||||
public void setInProgress(boolean isInProgress) {
|
||||
this.isInProgress = isInProgress;
|
||||
}
|
||||
|
||||
public boolean isPendingPush() {
|
||||
return isPendingPush;
|
||||
public boolean isInProgress() {
|
||||
return isInProgress;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user