[examples] small change to android example to make it more interprocedural

Summary: Just to make it a bit more interesting (and better indented).

Reviewed By: martinoluca

Differential Revision: D4455400

fbshipit-source-id: f8e29ee
master
Jules Villard 8 years ago committed by Facebook Github Bot
parent 87364bf8f6
commit 7eb4737e3f

@ -33,7 +33,13 @@ public class MainActivity extends ActionBarActivity {
private String getDay() {
if (Calendar.getInstance().get(Calendar.DAY_OF_WEEK) == Calendar.WEDNESDAY) {
return "Wednesday";
} else return null;
} else {
return otherOutput();
}
}
private String otherOutput() {
return null;
}
private void writeToFile() {

Loading…
Cancel
Save