Relocate and redefine usb_mode enum 54/274554/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20220505.134828 submit/tizen_6.5/20220502.091732
authorYoungjae Cho <y0.cho@samsung.com>
Wed, 6 Apr 2022 05:13:44 +0000 (22:13 -0700)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 2 May 2022 07:58:42 +0000 (16:58 +0900)
commite04ee8f76bd9b36d1d7d4b160d25a20c495c4fe8
tree76f9ff03eb8d541a8d2a2c3e17bdda7a67a3203e
parentee506f0808a8efafef1cb85763a1350d1d51dbdd
Relocate and redefine usb_mode enum

The VCONFKEY_USB_CUR_MODE and VCONFKEY_USB_SEL_MODE will be changed to
have combination of usb functions, which is able to combine any type of
functions, not only the predefined set of combinations. The predefined
set of combination have been removed.

The values are redefined in capi-system-device.
 - USB_GADGET_FUNC_NONE  = 0x00
 - USB_GADGET_FUNC_SDB   = 0x01
 - USB_GADGET_FUNC_MTP   = 0x02
 - USB_GADGET_FUNC_RNDIS = 0x04
 - USB_GADGET_FUNC_ACM   = 0x08
 - USB_GADGET_FUNC_DIAG  = 0x10
 - USB_GADGET_FUNC_RMNET = 0x20

Modify default VCONFKEY_USB_SEL_MODE to 0x0b, which corresponds to the
previous default function combination, SDB(0x01)|MTP(0x02)|ACM(0x08).

Change-Id: I65c1309419c7d5d4a6a501005ba5a8672114d43e
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
data/vconf-internal-usb-keys.xml
packaging/vconf-internal-keys.spec