This means that sometimes the NearbyView is updated from a
BroadcastReceiver's Context, which is not an Activity. So this has to
try a little harder to fetch the Activity instance needed for the
prompt to request permissions to a folder on the USB. This adds a
failsafe to fallback to the file:/// scanning in SDCardScannerService.