Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 296e5e3e authored by Badhri Jagan Sridharan's avatar Badhri Jagan Sridharan Committed by Android (Google) Code Review
Browse files

Merge "Use StartActivityForResult to launch the intent."

parents 01639b75 d452bd5f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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) {