public BrowserActionsIntent build() {
            mIntent.setData(mUri);
            mIntent.putExtra(EXTRA_TYPE, mType);
            mIntent.putParcelableArrayListExtra(EXTRA_MENU_ITEMS, mMenuItems);
            PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(), 0);
            mIntent.putExtra(EXTRA_APP_ID, pendingIntent);
            if (mOnItemSelectedPendingIntent != null) {
                mIntent.putExtra(
                        EXTRA_SELECTED_ACTION_PENDING_INTENT, mOnItemSelectedPendingIntent);
            }
            BrowserServiceFileProvider.grantReadPermission(mIntent, mImageUris, mContext);
            return new BrowserActionsIntent(mIntent);
        }
Combines all the options that have been set and returns a new {@link
BrowserActionsIntent} object.
customtabs/src/android/support/customtabs/browseractions/BrowserActionsIntent.java