private Bundle getBundleFromItem(BrowserActionItem item) {
            Bundle bundle = new Bundle();
            bundle.putString(KEY_TITLE, item.getTitle());
            bundle.putParcelable(KEY_ACTION, item.getAction());
            if (item.getIconId() != 0) bundle.putInt(KEY_ICON_ID, item.getIconId());
            if (item.getIconUri() != null) bundle.putParcelable(KEY_ICON_URI, item.getIconUri());
            return bundle;
        }
Populates a {@link Bundle} to hold a custom item for Browser Actions menu.
@param item A custom item for Browser Actions menu.
@return The Bundle of custom item.
customtabs/src/android/support/customtabs/browseractions/BrowserActionsIntent.java