Merge "[Wi-Fi] Use startActivityForResult instead of startActivity to launch google help page" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7c2979c340
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user