Relocate and redefine usb_mode enum 62/273462/19 accepted/tizen/unified/20220505.134656 submit/tizen/20220502.091413 submit/tizen/20220503.013451
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:55:30 +0000 (16:55 +0900)
commit4163aa1ce674e464f930c7c1438941beb4888b72
treea7ff7c4e4119274fb6dcb679bce1cc75d62598f7
parentbcaf8f01c05b2562a257d8524fa986265a41a2f9
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