Clean up gradle tasks / formatting
This commit is contained in:
parent
258410823c
commit
4a327a9834
3 changed files with 9 additions and 21 deletions
|
@ -106,9 +106,11 @@ public class TspAnt {
|
|||
// Allocates all memory.
|
||||
// Adds 1 to edge lengths to ensure no zero length edges.
|
||||
public TspAnt readGraph(List<LatLon> intermediates, LatLon start, LatLon end) {
|
||||
boolean keepEndPoint = end != null;
|
||||
List<LatLon> l = new ArrayList<LatLon>();
|
||||
l.add(start);
|
||||
boolean keepEndPoint = end != null;
|
||||
List<LatLon> l = new ArrayList<LatLon>();
|
||||
if (start != null) {
|
||||
l.add(start);
|
||||
}
|
||||
l.addAll(intermediates);
|
||||
if (keepEndPoint) {
|
||||
l.add(end);
|
||||
|
|
|
@ -188,38 +188,24 @@ android {
|
|||
dimension "version"
|
||||
applicationId "net.osmand"
|
||||
}
|
||||
freeres {
|
||||
dimension "version"
|
||||
applicationId "net.osmand"
|
||||
resConfig "en"
|
||||
}
|
||||
freecustom {
|
||||
dimension "version"
|
||||
applicationId "net.osmand.freecustom"
|
||||
}
|
||||
full {
|
||||
dimension "version"
|
||||
applicationId "net.osmand.plus"
|
||||
}
|
||||
fulldev {
|
||||
dimension "version"
|
||||
applicationId "net.osmand.plus"
|
||||
resConfig "en"
|
||||
// resConfigs "xxhdpi", "nodpi"
|
||||
}
|
||||
freehuawei {
|
||||
dimension "version"
|
||||
applicationId "net.osmand.huawei"
|
||||
}
|
||||
// CoreVersion
|
||||
// Build that doesn't include 3D OpenGL
|
||||
legacy {
|
||||
dimension "coreversion"
|
||||
}
|
||||
|
||||
// Build that includes 3D OpenGL release
|
||||
qtcore {
|
||||
dimension "coreversion"
|
||||
}
|
||||
|
||||
// Build that includes 3D OpenGL debug
|
||||
qtcoredebug {
|
||||
dimension "coreversion"
|
||||
}
|
||||
|
|
|
@ -495,7 +495,7 @@ public abstract class ImageCard extends AbstractCard {
|
|||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
LOG.error(e);
|
||||
}
|
||||
if (listener != null) {
|
||||
listener.onPostProcess(result);
|
||||
|
|
Loading…
Reference in a new issue