Merge pull request #5 from PLNech/UserCertificatesDir
Tests: Replaces now unresolvable USER_CERTIFICATES_DIR
This commit is contained in:
commit
37943b1255
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ public class CertificateManagerTest extends AndroidTestCase {
|
|||
}
|
||||
assertNotNull(Shell.SU.run(
|
||||
"mv " + source.getAbsolutePath() + " " +
|
||||
CertificateManager.USER_CERTIFICATES_DIR + "/" + TEST_CERTIFICATE_NAME));
|
||||
CertificateManager.getUserCertificatesDir() + "/" + TEST_CERTIFICATE_NAME));
|
||||
// NOTE: We use CertificateManager.moveCertificateToSystem() to avoid
|
||||
// implementing system remount again.
|
||||
return (isSystemCertificate)
|
||||
|
|
Reference in a new issue