Project

General

Profile

Actions

New Feature #10796

closed

Set Usb Data Signaling Enabling / setUsbDataSignalingEnabled

Added by Arshana Atapattu about 1 year ago. Updated about 1 month ago.

Status:
Closed
Priority:
High
Assignee:
-
Start date:
24/07/2024
Due date:
01/08/2024
% Done:

100%

Estimated time:
Device Type:
Component:
Type:
Android

Description

Description

Called by a device owner or profile owner of an organization-owned managed profile to enable or disable USB data signaling for the device. When disabled, USB data connections (except from charging functions) are prohibited.

https://developer.android.com/reference/android/app/admin/DevicePolicyManager?authuser=1#setUsbDataSignalingEnabled(boolean)


Files

Actions #1

Updated by Arshana Atapattu about 1 year ago

  • Subject changed from setUsbDataSignalingEnabled to Set Usb Data Signaling Enabling / setUsbDataSignalingEnabled
Actions #2

Updated by Arshana Atapattu about 1 year ago

  • Project changed from product-uem 6.1.0 GA to Backlog
Actions #3

Updated by Sandaru Daminda about 1 year ago

  • Assignee set to Waruni Sandareka
Actions #4

Updated by Sandaru Daminda 11 months ago

  • Due date set to 10/05/2024
  • Start date changed from 27/02/2024 to 02/05/2024
Actions #5

Updated by Sandaru Daminda 10 months ago

  • Due date changed from 10/05/2024 to 03/06/2024
  • Start date changed from 02/05/2024 to 31/05/2024
Actions #6

Updated by Waruni Sandareka 8 months ago

  • Due date changed from 03/06/2024 to 30/07/2024
  • Status changed from New to Implementation
  • Start date changed from 31/05/2024 to 24/07/2024
Actions #7

Updated by Sandaru Daminda 8 months ago

  • Project changed from Backlog to product-uem 6.3.0 GA
Actions #8

Updated by Waruni Sandareka 7 months ago

Arshana Atapattu wrote:

Description

Called by a device owner or profile owner of an organization-owned managed profile to enable or disable USB data signaling for the device. When disabled, USB data connections (except from charging functions) are prohibited. Starting from Android 15

https://developer.android.com/reference/android/app/admin/DevicePolicyManager?authuser=1#setUsbDataSignalingEnabled(boolean)

Actions #9

Updated by Waruni Sandareka 7 months ago

  • Due date changed from 30/07/2024 to 01/08/2024
  • % Done changed from 0 to 100
Actions #10

Updated by Viranga Gunarathna 6 months ago

  • Tracker changed from Bug to New Feature
Actions #11

Updated by Inosh Perara 5 months ago

  • Project changed from product-uem 6.3.0 GA to product-uem 7.0.0 GA
Actions #12

Updated by Lasantha Dharmakeerthi 4 months ago

  • Assignee deleted (Waruni Sandareka)

Updated by Arshana Atapattu 3 months ago

This feature was working with Android 14 COPE enrolled(After factory reset) device in sub tenant.
But this was not working with android 11 COPE enrolled(After factory reset) device in super tenant [1].

Payload from super tenant: [2]

Also need to correct the support android OS version. Currently it is shown as 15 [3]

[1]
[1]
[3]
[3]
[2] {
"data":{
"policyPayloadVersion":"2.0",
"id":23,
"priorityId":13,
"profile":{
"profileId":23,
"profileName":"Restrictions",
"tenantId":-1234,
"deviceType":"android",
"createdDate":"Fri, 13 Dec 2024 06:44:50 +0000",
"updatedDate":"Fri, 13 Dec 2024 07:40:30 +0000",
"profileFeaturesList":[ {
"id":304,
"featureCode":"CAMERA",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":true}",
"correctiveActions":[

]
}, {
"id":305,
"featureCode":"SET_USB_DATA_SIGNALING_ENABLED",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[
]
}, {
"id":306,
"featureCode":"DISALLOW_CONFIG_CREDENTIALS",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":307,
"featureCode":"DISALLOW_CONFIG_VPN",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":308,
"featureCode":"DISALLOW_APPS_CONTROL",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":309,
"featureCode":"DISALLOW_CROSS_PROFILE_COPY_PASTE",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":310,
"featureCode":"DISALLOW_DEBUGGING_FEATURES",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":311,
"featureCode":"DISALLOW_INSTALL_APPS",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":312,
"featureCode":"DISALLOW_INSTALL_UNKNOWN_SOURCES",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":313,
"featureCode":"DISALLOW_MODIFY_ACCOUNTS",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":314,
"featureCode":"DISALLOW_OUTGOING_BEAM",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":315,
"featureCode":"DISALLOW_SHARE_LOCATION",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":316,
"featureCode":"DISALLOW_UNINSTALL_APPS",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":317,
"featureCode":"ALLOW_PARENT_PROFILE_APP_LINKING",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":318,
"featureCode":"DISALLOW_SET_WALLPAPER",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":319,
"featureCode":"DISALLOW_SET_USER_ICON",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":320,
"featureCode":"DISALLOW_REMOVE_MANAGEMENT_PROFILE",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":321,
"featureCode":"DISALLOW_AUTOFILL",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":322,
"featureCode":"DISALLOW_BLUETOOTH",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":323,
"featureCode":"DISALLOW_BLUETOOTH_SHARING",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":324,
"featureCode":"DISALLOW_SMS",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":325,
"featureCode":"ENSURE_VERIFY_APPS",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":326,
"featureCode":"AUTO_TIME",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":327,
"featureCode":"SET_SCREEN_CAPTURE_DISABLED",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":328,
"featureCode":"DISALLOW_ADJUST_VOLUME",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":329,
"featureCode":"DISALLOW_CONFIG_CELL_BROADCASTS",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":330,
"featureCode":"DISALLOW_CONFIG_BLUETOOTH",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":331,
"featureCode":"DISALLOW_CONFIG_MOBILE_NETWORKS",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":332,
"featureCode":"DISALLOW_CONFIG_TETHERING",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":333,
"featureCode":"DISALLOW_CONFIG_WIFI",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":334,
"featureCode":"DISALLOW_SAFE_BOOT",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":335,
"featureCode":"DISALLOW_OUTGOING_CALLS",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":336,
"featureCode":"DISALLOW_MOUNT_PHYSICAL_MEDIA",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":337,
"featureCode":"DISALLOW_CREATE_WINDOWS",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":338,
"featureCode":"DISALLOW_FACTORY_RESET",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":339,
"featureCode":"DISALLOW_REMOVE_USER",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":340,
"featureCode":"DISALLOW_ADD_USER",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":341,
"featureCode":"DISALLOW_NETWORK_RESET",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":342,
"featureCode":"DISALLOW_USB_FILE_TRANSFER",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":343,
"featureCode":"DISALLOW_UNMUTE_MICROPHONE",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":344,
"featureCode":"SET_STATUS_BAR_DISABLED",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":345,
"featureCode":"DISALLOW_DATA_ROAMING",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":346,
"featureCode":"BACKUP_SERVICE",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":347,
"featureCode":"DISALLOW_DISABLE_MOBILE_DATA",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":348,
"featureCode":"DISALLOW_AIRPLANE_MODE",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":349,
"featureCode":"DISALLOW_CONFIG_LOCATION",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":350,
"featureCode":"DISALLOW_CHANGE_DEFAULT_SIM",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[ {
"id":351,
"featureCode":"ALLOW_WHITE_LISTED_APPS_ONLY",
"profileId":23,
"deviceType":"android",
"content":"{\"enabled\":false}",
"correctiveActions":[
]
}
]
},
"policyName":"Restrictions",
"generic":false,
"roles":[
"ANY"
],
"devices":[
],
"users":[
],
"active":true,
"updated":true,
"description":"Restrictions",
"compliance":"enforce",
"policyCriterias":[
],
"tenantId":-1234,
"profileId":23,
"deviceGroups":[ {
"id":8,
"name":"Test Group",
"owner":"arshana",
"tenantId":-1234
}
],
"policyType":"GENERAL"
}
}
Actions #17

Updated by Sandaru Daminda 2 months ago

  • Status changed from QA Reject to QA
Actions #18

Updated by Arshana Atapattu 2 months ago

Arshana Atapattu wrote in #note-15:

This feature was working with Android 14 COPE enrolled(After factory reset) device in sub tenant.
But this was not working with android 11 COPE enrolled(After factory reset) device in super tenant [1].

This feature is only supported android 12 and upwards.
can close this ticket once the https://github.com/entgra-proprietary/emm-proprietary-plugins/pull/23 got merged.

Actions #19

Updated by Arshana Atapattu 2 months ago

  • Status changed from QA to QA Accept

Arshana Atapattu wrote in #note-18:

This feature is only supported android 12 and upwards.
can close this ticket once the https://github.com/entgra-proprietary/emm-proprietary-plugins/pull/23 got merged.

This is working and PR got merged.

Actions #20

Updated by Arshana Atapattu 2 months ago

  • Status changed from QA Accept to Closed

Closing due to QA accept

Actions #21

Updated by Arshana Atapattu about 1 month ago

  • Project changed from product-uem 7.0.0 GA to product-uem 6.4.0 GA
Actions

Also available in: Atom PDF