Neeloor Neeloor
Feb 23, 2018
12:10 pm

Admin does not have KNOX_CUSTOM_SYSTEM OR CUSTOM_SYSTEM

runtimePermissions.add("com.samsung.android.knox.permission.KNOX_CUSTOM_SYSTEM");
runtimePermissions.add("com.samsung.android.knox.permission.CUSTOM_SETTING");
runtimePermissions.add("com.samsung.android.knox.permission.KNOX_CUSTOM_PROKIOSK");
int ret = applicationPolicy.applyRuntimePermissions(appIdentity, runtimePermissions,
        PERMISSION_POLICY_STATE_GRANT);

All fine till this point

When i call any API I get below error

MainActivity: SecurityException: java.lang.SecurityException: Admin  does not have com.samsung.android.knox.permission.KNOX_CUSTOM_SYSTEM OR com.sec.enterprise.knox.permission.CUSTOM_SYSTEM
 

SM T580

Knox 2.8

Android 7

Impossible to work on this new SDK, help

Samuel Goldwax
Feb 23, 2018
6:59 pm

Hi Neeloor,

I'm unable to reproduce the error you're receiving on a Tab A running the same Knox and Android versions. I tested the Customization permissions using the ProKiosk sample app, and was able to use ProKiosk methods after the license activation. Could you send me a device dumpstate so I can look further into this issue at s.goldwax@partner.samsung.com?

Thanks,

Sam