Wifi: Ingore miracast scan from connectivity manager

When WFD session is active, wifi scans will impact WFD performance,
so at least ignore scans triggered internally by ConnectityManager.
Meanwhile we still allow connectivity scans initiated by other work
source.

Also, if the user toggles wifi we should resume scanning since it's
an indication that the user wants internet. Also add additional
checks to make sure that Wifi Direct is actually on before ignoring
connectivity scan.

CRs-Fixed: 2995795
Change-Id: I81793f0703807c0af464a250f8ba1f93e61bb749
3 files changed