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

Commit 7c866c51 authored by Jason Monk's avatar Jason Monk
Browse files

Guard against callbacks when no list view created

Bug: 21762925
Change-Id: If4bdaa6cf107c4b890a8ebeb56ba4ef222a340ad
parent 744f2adb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ public class WifiSettingsForSetupWizard extends WifiSettings {
    }

    protected void updateFooter(boolean isEmpty) {
        if (isEmpty != mListLastEmpty) {
        if (isEmpty != mListLastEmpty && hasListView()) {
            final ListView list = getListView();
            list.removeFooterView(mEmptyFooter);
            list.removeFooterView(mAddOtherNetworkItem);