#A0000173088: Fix su lettura ul anonima.
This commit is contained in:
@@ -40,7 +40,6 @@ public class ServerStatusChecker {
|
||||
|
||||
public void addCallback(RunnableArgs<Boolean> callback){
|
||||
this.mCallback.add(callback);
|
||||
|
||||
}
|
||||
|
||||
public void removeCallback(RunnableArgs<Boolean> callback){
|
||||
|
||||
@@ -54,11 +54,7 @@ public class UtilityBarcode {
|
||||
if(!UtilityString.isNullOrEmpty(barcode)) {
|
||||
barcode = barcode.trim();
|
||||
|
||||
if(barcode.length() <= 7){
|
||||
return Integer.parseInt(barcode.substring(3));
|
||||
} else
|
||||
return null;
|
||||
|
||||
return Integer.parseInt(barcode.substring(3));
|
||||
} else
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -145,7 +145,13 @@ public class MainFragment extends Fragment implements ITitledFragment, IScrollab
|
||||
|
||||
cyclicRecover(sessionsIterator, onComplete, onFailed);
|
||||
}, ex -> {
|
||||
onFailed.run(ex);
|
||||
|
||||
if(ex.getMessage().contains("Dati collo non corretti")) {
|
||||
ColliDataRecover.closeSession(recoveredMtbColtID);
|
||||
} else {
|
||||
onFailed.run(ex);
|
||||
}
|
||||
|
||||
cyclicRecover(sessionsIterator, onComplete, onFailed);
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user