mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-18 05:12:16 -05:00
return actual last log entry, including from sublogentryparcels
This commit is contained in:
parent
b7834b4326
commit
b8305d43dc
@ -854,7 +854,11 @@ public abstract class OperationResult implements Parcelable {
|
|||||||
if (mParcels.isEmpty()) {
|
if (mParcels.isEmpty()) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return mParcels.get(mParcels.size() -1);
|
LogEntryParcel last = mParcels.get(mParcels.size() -1);
|
||||||
|
if (last instanceof SubLogEntryParcel) {
|
||||||
|
return ((SubLogEntryParcel) last).getSubResult().getLog().getLast();
|
||||||
|
}
|
||||||
|
return last;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user