Browse Source

Minor fixes

master
preyearegmi 6 years ago
parent
commit
5d883fd2d4
  1. 6
      app/src/main/java/com/gmeremit/online/gmeremittance_native/base/PrivilegedGateway.java
  2. 1
      app/src/main/java/com/gmeremit/online/gmeremittance_native/transactionpasspromt/view/TransactionPasswordPromptActivity.java
  3. 2
      app/src/main/java/com/gmeremit/online/gmeremittance_native/utils/https/GenericApiObserverResponse.java
  4. 11
      app/src/main/res/layout/activity_transaction_password_prompt.xml

6
app/src/main/java/com/gmeremit/online/gmeremittance_native/base/PrivilegedGateway.java

@ -9,10 +9,7 @@ import com.gmeremit.online.gmeremittance_native.homeV2.model.UserInfoModelV2;
import static com.gmeremit.online.gmeremittance_native.base.PrefKeys.USER_PREFERRED_LOCALE;
/**
* Created by Preyea
* The purpose of this class is to get user related info, updating user related from this class will broadcast update to each observer willing to listen for data change event.
*/
@SuppressWarnings("HardCodedStringLiteral")
public abstract class PrivilegedGateway implements PrivilegedGatewayInterface {
@ -138,7 +135,6 @@ public abstract class PrivilegedGateway implements PrivilegedGatewayInterface {
@SuppressLint("ApplySharedPref")
@Override
public void clearAllUserData() {
Log.d("Splash","Data cleared called");
GmeApplication.getStorage().edit().clear().commit();
}

1
app/src/main/java/com/gmeremit/online/gmeremittance_native/transactionpasspromt/view/TransactionPasswordPromptActivity.java

@ -134,7 +134,6 @@ public class TransactionPasswordPromptActivity extends BaseActivity implements S
} catch (Exception e) {
e.printStackTrace();
Log.d("GMESecurityKeyboard", e.getMessage());
}
}

2
app/src/main/java/com/gmeremit/online/gmeremittance_native/utils/https/GenericApiObserverResponse.java

@ -1,13 +1,11 @@
package com.gmeremit.online.gmeremittance_native.utils.https;
import org.json.JSONObject;
import java.io.IOException;
import java.net.SocketTimeoutException;
import io.reactivex.observers.DisposableObserver;
import okhttp3.ResponseBody;
import retrofit2.HttpException;

11
app/src/main/res/layout/activity_transaction_password_prompt.xml

@ -8,16 +8,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<!--<FrameLayout-->
<!--android:layout_height="?actionBarSize"-->
<!--android:background="@drawable/ic_rounded_password_prompt_red_header_bg"-->
<!--android:layout_width="match_parent">-->
<!--<ImageView-->
<!--android:layout_gravity="center"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:src="@drawable/ic_gme_home_logo"/>-->
<!--</FrameLayout>-->
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView
android:id="@+id/title"

Loading…
Cancel
Save