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

This commit is contained in:
TreeHugger Robot
2020-03-10 12:12:46 +00:00
committed by Android (Google) Code Review
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());
}