Allow certificates to be stored in the carrier app whitelist
Use CARRIER_APP_WHITELIST to store app certificate mapped to package name (instead of just package name as we had before). Bug: 70042722 Test: SettingsBackupTest Test: UiccProfileTest#testParseWhitelistMapFromString() for parsing map Change-Id: Ia0c7c364cd8154272ef62cbbf412036b4eae1b21
This commit is contained in:
@@ -156,6 +156,13 @@ public final class UiccAccessRule implements Parcelable {
|
||||
return mPackageName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the hex string of the certificate hash.
|
||||
*/
|
||||
public String getCertificateHexString() {
|
||||
return IccUtils.bytesToHexString(mCertificateHash);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the carrier privilege status associated with the given package.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user