use constants for the mpx values

This commit is contained in:
tibbi
2016-11-06 12:53:31 +01:00
parent 945b845a44
commit f634df285b
3 changed files with 13 additions and 8 deletions

View File

@@ -64,9 +64,9 @@ public class Config {
private int getOldDefaultResolution() {
final int index = getMaxResolution();
switch (index) {
case 1: return 9000000;
case 1: return Constants.EIGHT_MPX;
case 2: return 0;
default: return 6000000;
default: return Constants.FIVE_MPX;
}
}