Grant User Credential Permission to an app programtaically via another Device Owner App
1 One of my apps requires the use of a User Credential, already installed into the android store. If I try to access the certificates via using the KeyChain class, I obtain an exception: android.security.KeyChainException:IllegalStateException: uid doesn't have permission to access the requested alias I want to avoid the user from having to manually "select" the user credential prompt. Instead, I have a separate app, already set as a "device owner" to configure all of this. Is there some API using the device owner app, where I can grant permission to the app trying to access the installed user credential? android security android-permissions credentials device-owner share | improve this question edited Nov 19 '18 at 21:57 patrickE asked Nov 16 '18 at 5:05 patrickE patrickE 6 2 add a comment | 1 One of my apps requires the use of a User Credential, already installed into t...