Merge "[Wi-Fi] Use startActivityForResult instead of startActivity to launch google help page" into rvc-dev am: 7c2979c340

Change-Id: I5620a3a5c637aa142b3aa04f7b2a881f3e21ca76
This commit is contained in:
Automerger Merge Worker
2020-03-10 12:29:00 +00:00
2 changed files with 20 additions and 7 deletions

View File

@@ -99,7 +99,7 @@ public class WifiScanningRequiredFragment extends InstrumentedDialogFragment imp
Intent intent = getHelpIntent(getContext());
if (intent != null) {
try {
startActivity(intent);
getActivity().startActivityForResult(intent, 0);
} catch (ActivityNotFoundException e) {
Log.e(TAG, "Activity was not found for intent, " + intent.toString());
}