Added returns

This commit is contained in:
misaochan 2016-07-15 00:11:29 +12:00
parent bfcb7fb6f2
commit 93d3123503

View file

@ -326,6 +326,7 @@ public class ShareActivity
&& grantResults[1] == PackageManager.PERMISSION_GRANTED) { && grantResults[1] == PackageManager.PERMISSION_GRANTED) {
getLocationData(); getLocationData();
} }
return;
} }
// 4 = Storage (from submit button) - this needs to be separate from (1) because only the // 4 = Storage (from submit button) - this needs to be separate from (1) because only the
// submit button should bring user to next screen // submit button should bring user to next screen
@ -340,6 +341,7 @@ public class ShareActivity
uploadBegins(); uploadBegins();
snackbar.dismiss(); snackbar.dismiss();
} }
return;
} }
} }
} }