Skip to content

Commit

Permalink
Close tour
Browse files Browse the repository at this point in the history
  • Loading branch information
oaliaga committed Sep 12, 2016
1 parent f26f4d6 commit 204c84d
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion app/src/main/java/com/prey/activities/CheckPasswordActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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){

}
Expand Down

0 comments on commit 204c84d

Please sign in to comment.