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

Commit 0b8912fe authored by Eugene Susla's avatar Eugene Susla
Browse files

[DO NOT MERGE] [Companion] Nullcheck if ListView is null

It's possible for it to be null if single device option was requested

Test: ensure attached bug is fixed
Fixes: 77963546
Change-Id: I4b94f4027cd9ec55a4cd558cf1d5522bfd0e46d7
(cherry picked from commit a6d54825)
parent 94862e76
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -234,7 +234,9 @@ public class DeviceDiscoveryService extends Service {

        DeviceChooserActivity activity = mActivity;
        if (activity != null) {
            if (activity.mDeviceListView != null) {
                activity.mDeviceListView.removeFooterView(activity.mLoadingIndicator);
            }
            mActivity = null;
        }