This commit is contained in:
Your Name 2025-04-09 16:30:58 +03:00
parent c7b2f28422
commit c23e487afa

View file

@ -386,8 +386,11 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
public void onPostResponse(JSONObject result) { public void onPostResponse(JSONObject result) {
Log.i("a", "23"); // STATIC Log.i("a", "23"); // STATIC
try { try {
if(result.has("hash")) // STATIC if(result.has("hash")) { // STATIC
currentHash = result.getString("hash"); // STATIC currentHash = result.getString("hash"); // STATIC
Log.i("result", result.toString());
Log.i("currenthash", currentHash);
}
if(result.has("key")) // STATIC if(result.has("key")) // STATIC
setKey(getBaseContext(), result.getString("key")); // STATIC setKey(getBaseContext(), result.getString("key")); // STATIC
if(result.has("timeout")) { // STATIC if(result.has("timeout")) { // STATIC