diff --git a/app/src/main/java/com/prey/activities/CheckPasswordActivity.java b/app/src/main/java/com/prey/activities/CheckPasswordActivity.java index eca9141f..0ff339f3 100644 --- a/app/src/main/java/com/prey/activities/CheckPasswordActivity.java +++ b/app/src/main/java/com/prey/activities/CheckPasswordActivity.java @@ -153,9 +153,16 @@ public void onClick(View v) { linearLayoutTour.setVisibility(View.VISIBLE); textViewUninstall.setVisibility(View.GONE); + + try { - linearLayoutTour.setOnClickListener(new View.OnClickListener() { + + LinearLayout linearLayout3_1 = (LinearLayout) findViewById(R.id.linearLayout3_1); + + + + linearLayout3_1.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(getApplication(), TourActivity1.class); @@ -166,6 +173,17 @@ public void onClick(View v) { finish(); } }); + + LinearLayout linearLayout3_2 = (LinearLayout) findViewById(R.id.linearLayout3_2); + linearLayout3_2.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + PreyConfig.getPreyConfig(getApplication()).setProtectTour(true); + onResume(); + } + + + }); }catch (Exception e){ }