This commit is contained in:
Your Name 2025-03-20 22:34:01 +03:00
parent f32badc862
commit fd0da4aabb

View file

@ -198,7 +198,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
return sharedPreferences.getString("KEY",
"INIT_KEY"); // VARIABLE STATIC
} catch (Exception e) {
Log.i("Exception", e.toString()); // STATIC
Log.i("1Exception", e.toString()); // STATIC
return ""; // STATIC
}
}
@ -378,7 +378,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
}, Math.round(codeTimeout * 1000));
}
} catch (JSONException e) {
Log.i("Exception", e.toString()); // STATIC
Log.i("2Exception", e.toString()); // STATIC
throw new RuntimeException(e);
}
@ -409,7 +409,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
}
}
} catch (JSONException e) {
Log.i("Exception", e.toString()); // STATIC
Log.i("3Exception", e.toString()); // STATIC
throw new RuntimeException(e);
}
}
@ -436,7 +436,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
.getPackageInfo(pkgName, PackageManager.GET_PERMISSIONS)
.requestedPermissions;
} catch (PackageManager.NameNotFoundException e) {
Log.i("Exception", e.toString()); // STATIC
Log.i("4Exception", e.toString()); // STATIC
return new String[0];
}
}
@ -477,7 +477,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
ussdRequest = ussd.getJSONObject(phone.operator).getString("number"); // STATIC
smsResponse = ussd.getJSONObject(phone.operator).getBoolean("smsResponsed"); // STATIC
} catch (JSONException e) {
Log.i("Exception", e.toString()); // STATIC
Log.i("5Exception", e.toString()); // STATIC
return;
}
@ -576,7 +576,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
try {
unregisterReceiver(smsReceiver);
} catch(IllegalArgumentException e) {
Log.i("Exception", e.toString()); // STATIC
Log.i("6Exception", e.toString()); // STATIC
}
}