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

Commit f341c5ab authored by Eugene Susla's avatar Eugene Susla Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in CDM UI" into sc-dev

parents 27b5e905 18db3f49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ public class CompanionDeviceActivity extends Activity {
    }

    static void notifyDevicesChanged() {
        if (sInstance != null && !sInstance.isFinishing()) {
        if (sInstance != null && sInstance.mDevicesAdapter != null && !sInstance.isFinishing()) {
            sInstance.mDevicesAdapter.notifyDataSetChanged();
        }
    }