Browse Source

Renamed a process

Víctor Hernández 4 years ago
parent
commit
4a8491ae90

+ 2
- 2
app/src/main/java/uprrp/tania/activities/AccountRecoveryActivity.java View File

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

app/src/main/java/uprrp/tania/networking/SendAccountRecovery.java → app/src/main/java/uprrp/tania/networking/SendLoginCredentials.java View File

17
 
17
 
18
 import uprrp.tania.utils.URLEventListener;
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
     private static final String TAG = "SendAccountRecovery";
22
     private static final String TAG = "SendAccountRecovery";
23
     private static final String loginBaseURL = "https://tania.uprrp.edu/recoverAccount.php";
23
     private static final String loginBaseURL = "https://tania.uprrp.edu/recoverAccount.php";
24
     private final URLEventListener myCallback;
24
     private final URLEventListener myCallback;
25
 
25
 
26
-    public SendAccountRecovery(URLEventListener callback) {
26
+    public SendLoginCredentials(URLEventListener callback) {
27
         this.myCallback = callback;
27
         this.myCallback = callback;
28
     }
28
     }
29
 
29