Tests: Replaces now unresolvable USER_CERTIFICATES_DIR by call to appropriate method
This commit is contained in:
parent
07932f0a36
commit
6770d0af6b
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ public class CertificateManagerTest extends AndroidTestCase {
|
||||||
}
|
}
|
||||||
assertNotNull(Shell.SU.run(
|
assertNotNull(Shell.SU.run(
|
||||||
"mv " + source.getAbsolutePath() + " " +
|
"mv " + source.getAbsolutePath() + " " +
|
||||||
CertificateManager.USER_CERTIFICATES_DIR + "/" + TEST_CERTIFICATE_NAME));
|
CertificateManager.getUserCertificatesDir() + "/" + TEST_CERTIFICATE_NAME));
|
||||||
// NOTE: We use CertificateManager.moveCertificateToSystem() to avoid
|
// NOTE: We use CertificateManager.moveCertificateToSystem() to avoid
|
||||||
// implementing system remount again.
|
// implementing system remount again.
|
||||||
return (isSystemCertificate)
|
return (isSystemCertificate)
|
||||||
|
|
Reference in a new issue