|
|
@ -67,6 +67,10 @@ import butterknife.ButterKnife; |
|
|
|
|
|
|
|
public class SplashScreen extends BaseActivity implements View.OnClickListener, LanguageSelectionRVAdapter.LanguageSelectionListener, SplashScreenPresenterInterface.SplashScreenContractInterfacee, PayoutModeSelectionRVAdapter.OnPaymentModeSelectionListener, TextView.OnEditorActionListener { |
|
|
|
|
|
|
|
static { |
|
|
|
System.loadLibrary("antidebugger"); |
|
|
|
} |
|
|
|
|
|
|
|
@BindView(R.id.view_pager) |
|
|
|
ConstraintLayout view_pager; |
|
|
|
|
|
|
@ -752,6 +756,8 @@ public class SplashScreen extends BaseActivity implements View.OnClickListener, |
|
|
|
int[] btnLoginLeftAndTopCoordinates = new int[2]; |
|
|
|
int[] btnRegisterLeftAndTopCoordinates = new int[2]; |
|
|
|
|
|
|
|
int[] btnFABLeftAndTopCoordinates = new int[2]; |
|
|
|
|
|
|
|
sendMoneyViewContainer.getLocationOnScreen(sendMoneyLeftAndTopCoordinates); |
|
|
|
receiveMoneyViewContainer.getLocationOnScreen(receiveMoneyLeftAndTopCoordinates); |
|
|
|
iv_back.getLocationOnScreen(backButtonLeftAndTopCoordinates); |
|
|
@ -760,6 +766,7 @@ public class SplashScreen extends BaseActivity implements View.OnClickListener, |
|
|
|
selectedLanguageText.getLocationOnScreen(languageTextLeftAndTopCoordinates); |
|
|
|
btn_login.getLocationOnScreen(btnLoginLeftAndTopCoordinates); |
|
|
|
btn_new_user.getLocationOnScreen(btnRegisterLeftAndTopCoordinates); |
|
|
|
fab_chat.getLocationOnScreen(btnFABLeftAndTopCoordinates); |
|
|
|
|
|
|
|
|
|
|
|
Rect sendMoneyBoundRect = new Rect(sendMoneyLeftAndTopCoordinates[0], sendMoneyLeftAndTopCoordinates[1], |
|
|
@ -790,6 +797,10 @@ public class SplashScreen extends BaseActivity implements View.OnClickListener, |
|
|
|
btnRegisterLeftAndTopCoordinates[0] + btn_new_user.getMeasuredWidth(), |
|
|
|
btnRegisterLeftAndTopCoordinates[1] + btn_new_user.getMeasuredHeight()); |
|
|
|
|
|
|
|
Rect btn_fabRect = new Rect(btnFABLeftAndTopCoordinates[0], btnFABLeftAndTopCoordinates[1], |
|
|
|
btnFABLeftAndTopCoordinates[0] + fab_chat.getMeasuredWidth(), |
|
|
|
btnFABLeftAndTopCoordinates[1] + fab_chat.getMeasuredHeight()); |
|
|
|
|
|
|
|
|
|
|
|
return (receiveAmountEdTxt.hasFocus() || sendAmountEdTxt.hasFocus()) |
|
|
|
&& !sendMoneyBoundRect.contains(posX, posY) |
|
|
@ -798,17 +809,14 @@ public class SplashScreen extends BaseActivity implements View.OnClickListener, |
|
|
|
&& !selectedLanguageTextRect.contains(posX, posY) |
|
|
|
&& !selectedLanguageIconRect.contains(posX, posY) |
|
|
|
&& !btn_loginRect.contains(posX, posY) |
|
|
|
&& !btn_new_userRect.contains(posX, posY); |
|
|
|
&& !btn_new_userRect.contains(posX, posY) |
|
|
|
&& !btn_fabRect.contains(posX, posY); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static { |
|
|
|
System.loadLibrary("antidebugger"); |
|
|
|
} |
|
|
|
|
|
|
|
public native void startAntiDebugger(); |
|
|
|
|
|
|
|
private void initAntiDebugger() { |
|
|
|