Merge "Use StartActivityForResult to launch the intent."

This commit is contained in:
Badhri Jagan Sridharan
2017-05-12 23:21:44 +00:00
committed by Android (Google) Code Review

View File

@@ -39,7 +39,11 @@ public class HelpTrampoline extends Activity {
final Intent intent = HelpUtils.getHelpIntent(this, value, null);
if (intent != null) {
startActivity(intent);
/*
* TODO: b/38230998.
* Move to startActivity once the HelpUtils.getHelpIntent is refactored
*/
startActivityForResult(intent, 0);
}
} catch (Resources.NotFoundException | ActivityNotFoundException e) {