Browse Source

Released for testing

master
preyearegmi 6 years ago
parent
commit
3e56c23c03
  1. BIN
      .idea/caches/build_file_checksums.ser
  2. 7
      app/src/main/java/com/gmeremit/online/gmeremittance_native/splash_screen/view/SplashScreen.java
  3. 5
      app/src/main/java/com/gmeremit/online/gmeremittance_native/utils/security/SignatureCheck.java

BIN
.idea/caches/build_file_checksums.ser

7
app/src/main/java/com/gmeremit/online/gmeremittance_native/splash_screen/view/SplashScreen.java

@ -154,7 +154,7 @@ public class SplashScreen extends BaseActivity {
protected void onResume() { protected void onResume() {
super.onResume(); super.onResume();
startAntiDebugger(); startAntiDebugger();
if(!rootBeer.isRootedWithoutBusyBoxCheck()&&checkIfAppSafe())
if(!hasRootAccess()&&checkIfAppSafe())
{ {
if (persistenceStorageManager.getLoggedin() != null && persistenceStorageManager.getLoggedin().equals("HOME")) { if (persistenceStorageManager.getLoggedin() != null && persistenceStorageManager.getLoggedin().equals("HOME")) {
startActivity(new Intent(this, HomeActivityV2.class)); startActivity(new Intent(this, HomeActivityV2.class));
@ -208,6 +208,11 @@ public class SplashScreen extends BaseActivity {
} }
} }
private boolean hasRootAccess()
{
return rootBeer.isRootedWithoutBusyBoxCheck();
}
private boolean checkIfAppSafe() { private boolean checkIfAppSafe() {
boolean isSafe = false; boolean isSafe = false;
try { try {

5
app/src/main/java/com/gmeremit/online/gmeremittance_native/utils/security/SignatureCheck.java

@ -66,4 +66,9 @@ public class SignatureCheck {
return new String(hexChars); return new String(hexChars);
} }
public boolean validateAppSignatureByPass(Context context)
{
return true;
}
} }
Loading…
Cancel
Save