Merge "Fix the crash of BandMode app."

This commit is contained in:
Derek Tan
2014-04-26 00:27:01 +00:00
committed by Android (Google) Code Review

View File

@@ -73,8 +73,6 @@ public class BandMode extends Activity {
mBandList.setAdapter(mBandListAdapter);
mBandList.setOnItemClickListener(mBandSelectionHandler);
loadBandList();
}
@@ -109,6 +107,7 @@ public class BandMode extends Activity {
}
public String toString() {
if (mBandMode >= BAND_NAMES.length) return "Band mode " + mBandMode;
return BAND_NAMES[mBandMode];
}
}