瀏覽代碼

Renamed a process

Víctor Hernández 4 年之前
父節點
當前提交
4a8491ae90

+ 2
- 2
app/src/main/java/uprrp/tania/activities/AccountRecoveryActivity.java 查看文件

@@ -21,7 +21,7 @@ import java.io.IOException;
21 21
 
22 22
 import uprrp.tania.GlobalValues;
23 23
 import uprrp.tania.R;
24
-import uprrp.tania.networking.SendAccountRecovery;
24
+import uprrp.tania.networking.SendLoginCredentials;
25 25
 import uprrp.tania.utils.URLEventListener;
26 26
 
27 27
 public class AccountRecoveryActivity extends AppCompatActivity {
@@ -73,7 +73,7 @@ public class AccountRecoveryActivity extends AppCompatActivity {
73 73
                     getString(R.string.progressDialogDescriptionText));
74 74
 
75 75
             // Send request to server
76
-            SendAccountRecovery accountRecoveryTask = new SendAccountRecovery(new URLEventListener() {
76
+            SendLoginCredentials accountRecoveryTask = new SendLoginCredentials(new URLEventListener() {
77 77
 
78 78
                 @Override
79 79
                 public void onSuccess(String response) {

app/src/main/java/uprrp/tania/networking/SendAccountRecovery.java → app/src/main/java/uprrp/tania/networking/SendLoginCredentials.java 查看文件

@@ -17,13 +17,13 @@ import javax.net.ssl.HttpsURLConnection;
17 17
 
18 18
 import uprrp.tania.utils.URLEventListener;
19 19
 
20
-public class SendAccountRecovery extends AsyncTask<String, Void, String> {
20
+public class SendLoginCredentials extends AsyncTask<String, Void, String> {
21 21
 
22 22
     private static final String TAG = "SendAccountRecovery";
23 23
     private static final String loginBaseURL = "https://tania.uprrp.edu/recoverAccount.php";
24 24
     private final URLEventListener myCallback;
25 25
 
26
-    public SendAccountRecovery(URLEventListener callback) {
26
+    public SendLoginCredentials(URLEventListener callback) {
27 27
         this.myCallback = callback;
28 28
     }
29 29