am 840164a2: am 2abd5be3: am 7a5cb3b9: Merge "Guard against callbacks when no list view created" into mnc-dev
* commit '840164a21ce2fa6638e4e2175bb1e36d4335f4a1': Guard against callbacks when no list view created
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user