Created by: ghost
Fixes Layout issue in DBV for imported items
From my test it also fixes filter for mcc and mnc
This line just needed to be moved up a few lines
Cell cell = new Cell();
so now looks like this
Cell cell = new Cell();
TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
String networkOperator = tm.getNetworkOperator();
if (networkOperator != null) {
int mcc = Integer.parseInt(networkOperator.substring(0, 3));
cell.setMCC(Integer.parseInt(networkOperator.substring(0, 3)));
int mnc = Integer.parseInt(networkOperator.substring(3));
cell.setMNC(Integer.parseInt(networkOperator.substring(3, 5)));
Log.d(TAG, "CELL:: mcc="+mcc+ " mnc="+mnc);
}