Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db1637f5 authored by Dave Daynard's avatar Dave Daynard Committed by Steve Kondik
Browse files

Always show band 0

None of the phones I tested ever displayed Automatic band selection as a
choice, probably because no baseband is going to report it supports
mythical band 0. Make sure it is always displayed.

Change-Id: I5082b04ee63a2916941fd1db40762fa990d59583
parent 88dc3316
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -154,7 +154,10 @@ public class BandMode extends Activity {

        if (result.result != null) {
            int bands[] = (int[])result.result;

            //Always show Band 0, ie Automatic
            item = new BandListItem(0);
            mBandListAdapter.add(item);
            if (DBG) log("Add " + item.toString());
            for (int i=0; i<bands.length; i++) {
                item = new BandListItem(bands[i]);
                mBandListAdapter.add(item);