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

Commit f2af901b authored by Steve McKay's avatar Steve McKay Committed by android-build-merger
Browse files

Pass doc uri in Intent data.

am: fbf68586

Change-Id: Id9ef3665e86ed6c9d15ece406f9c98db336d3bee
parents 72760213 fbf68586
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -676,9 +676,9 @@ public class ActionHandler<T extends Activity & Addons> extends AbstractActionHa

    @Override
    public void showInspector(DocumentInfo doc) {
        Metrics.logUserAction(mActivity, Metrics.USER_ACTION_INSPECTOR);
        Intent intent = new Intent(mActivity, DocumentInspectorActivity.class);
        intent.putExtra(Intent.ACTION_VIEW, doc.derivedUri);
        Metrics.logUserAction(mActivity.getBaseContext(), Metrics.USER_ACTION_INSPECTOR);
        intent.setData(doc.derivedUri);
        mActivity.startActivity(intent);
    }