browser/src/main/java/androidx/browser/browseractions/BrowserActionsIntent.java
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);
            }
            return new BrowserActionsIntent(mIntent);
        }
/**
         * Combines all the options that have been set and returns a new {@link
         * BrowserActionsIntent} object.
         */
Combines all the options that have been set and returns a new {@link
BrowserActionsIntent} object.
Combines all the options that have been set and returns a new { @link BrowserActionsIntent } object .
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);
            }
            return new BrowserActionsIntent(mIntent);
        }
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 ) ; } return new BrowserActionsIntent ( mIntent ) ; }
Combines all the options that have been set and returns a new {@link
 BrowserActionsIntent} object.
Combines all the options that have been set and returns a new { @link BrowserActionsIntent } object .