commit | 8e028e6507ac3e112a3503aaf500eb07f69026bf | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Fri Nov 13 17:36:45 2015 -0800 |
committer | Alex Klyubin <klyubin@google.com> | Mon Nov 16 10:11:50 2015 -0800 |
tree | 07850a9e16a3e1c2de615015bdbf5166356748e2 | |
parent | 3c54ed00f390e0ce9c555eb517594628b362705f [diff] |
Insert Android Keystore JCA Provider at the correct position. Security.insertProviderAt uses 1-based positions whereas the AndroidKeyStoreProvider.install code was incorrectly passing in 0-based positions, thus installing the AndroidKeyStoreBCWorkaround provider one level higher than intended. This change fixes the issue in AndroidKeyStoreProvider. Bug: 25399691 Change-Id: I4a66bf37c0d151edb9a2349db9d91939064c0574