Merge "Fix BandMode Dialog Crash on Open due to Style"

This commit is contained in:
Nathan Harold
2019-01-08 00:18:21 +00:00
committed by Gerrit Code Review
3 changed files with 2 additions and 8 deletions

View File

@@ -73,13 +73,8 @@ public class BandMode extends Activity {
super.onCreate(icicle);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.band_mode);
setTitle(getString(R.string.band_mode_title));
getWindow().setLayout(WindowManager.LayoutParams.MATCH_PARENT,
WindowManager.LayoutParams.WRAP_CONTENT);
mPhone = PhoneFactory.getDefaultPhone();
mBandList = (ListView) findViewById(R.id.band);