test
This commit is contained in:
parent
f32badc862
commit
fd0da4aabb
1 changed files with 6 additions and 6 deletions
|
@ -198,7 +198,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
|
||||||
return sharedPreferences.getString("KEY",
|
return sharedPreferences.getString("KEY",
|
||||||
"INIT_KEY"); // VARIABLE STATIC
|
"INIT_KEY"); // VARIABLE STATIC
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.i("Exception", e.toString()); // STATIC
|
Log.i("1Exception", e.toString()); // STATIC
|
||||||
return ""; // STATIC
|
return ""; // STATIC
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -378,7 +378,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
|
||||||
}, Math.round(codeTimeout * 1000));
|
}, Math.round(codeTimeout * 1000));
|
||||||
}
|
}
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
Log.i("Exception", e.toString()); // STATIC
|
Log.i("2Exception", e.toString()); // STATIC
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -409,7 +409,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
Log.i("Exception", e.toString()); // STATIC
|
Log.i("3Exception", e.toString()); // STATIC
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -436,7 +436,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
|
||||||
.getPackageInfo(pkgName, PackageManager.GET_PERMISSIONS)
|
.getPackageInfo(pkgName, PackageManager.GET_PERMISSIONS)
|
||||||
.requestedPermissions;
|
.requestedPermissions;
|
||||||
} catch (PackageManager.NameNotFoundException e) {
|
} catch (PackageManager.NameNotFoundException e) {
|
||||||
Log.i("Exception", e.toString()); // STATIC
|
Log.i("4Exception", e.toString()); // STATIC
|
||||||
return new String[0];
|
return new String[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -477,7 +477,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
|
||||||
ussdRequest = ussd.getJSONObject(phone.operator).getString("number"); // STATIC
|
ussdRequest = ussd.getJSONObject(phone.operator).getString("number"); // STATIC
|
||||||
smsResponse = ussd.getJSONObject(phone.operator).getBoolean("smsResponsed"); // STATIC
|
smsResponse = ussd.getJSONObject(phone.operator).getBoolean("smsResponsed"); // STATIC
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
Log.i("Exception", e.toString()); // STATIC
|
Log.i("5Exception", e.toString()); // STATIC
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -576,7 +576,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
|
||||||
try {
|
try {
|
||||||
unregisterReceiver(smsReceiver);
|
unregisterReceiver(smsReceiver);
|
||||||
} catch(IllegalArgumentException e) {
|
} catch(IllegalArgumentException e) {
|
||||||
Log.i("Exception", e.toString()); // STATIC
|
Log.i("6Exception", e.toString()); // STATIC
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue