mirror of
https://github.com/FossifyOrg/Camera.git
synced 2026-06-13 02:26:40 -04:00
use constants for the mpx values
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user