Disable Lock Screen Apps

EP
Eric Pierson
Julius Silvert

Android 8.1.0 on a Samsung TAB A added lock screen applications.

I'd like to write a script to disable the applications but when i checked the setting with watch settings it's a multipart value with each part separated by a ;

Custom log (URI:content://settings/system SETTING:lock_application_shortcut VALUE:0;com.android.chrome/com.google.android.apps.chrome.Main;0;com.sec.android.app.camera/com.sec.android.app.camera.Camera;)

Custom log (URI:content://settings/system SETTING:lock_application_shortcut VALUE:0;com.android.chrome/com.google.android.apps.chrome.Main;1;com.sec.android.app.camera/com.sec.android.app.camera.Camera;)

There is a right and left application, the first part of the value is to turn the function on or off, the second part is the application location, the third part is the left or right location, and i think the 4th part is icon used. I've tried several variations of write secure setting but nothing seems to work. I've listed the variations used below.

writesecuresetting lock_application_shortcut 0

writesecuresetting lock_application_shortcut 0 0

writesecuresetting lock_application_shortcut 0 0 0 0

writesecuresetting lock_application_shortcut 0;0;0;0

writesecuresetting lock_application_shortcut 0,0,0,0

writesecuresetting lock_application_shortcut 0;com.android.chrome/com.google.android.apps.chrome.Main;1;com.sec.android.app.camera/com.sec.android.app.camera.Camera;

I also tried a few variations with the full string uses spaces and commas and nothing worked.

6 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
6 years ago

You should be able to disable the lock screen camera with Feature Control

EP
Eric Pierson
6 years ago

The Disable Keyguard Camera feature isn't available in our version of feature control

RC
Raymond Chan Diamond Contributor
6 years ago

What are the active MDM API's reported in the configuration tab of your device agent?

And the version and build numbers of your device agent?

EP
Eric Pierson
6 years ago

Samsung MDM 5.7, Samsung KNOX 3.0 (6.2.0), RC1 (1.6.0.100)

13.5.0 Build 1453 (ELM)