In preparation for removing junit and android.test classes from
the Android API this change adds explicit dependencies on junit
and/or legacy-android-test to ensure that modules will compile
properly once it is removed.
Care was taken to ensure that any targets that depended,
directly or indirectly, on android-support-test did not also
depend on junit or hamcrest as they conflict with the versions
embedded within android-support-test.
Bug: 30188076
Test: make checkbuild
Change-Id: I03f7836a1081acda5ed2c6e43cb24e9dc23b944c
The Crypto provider providing the SHA1PRNG algorithm for random number
generation was deprecated.
This algorithm was sometimes incorrectly used to derive keys.
This example provides a helper class and shows how to treat data that
was encrypted in the incorrect way and re-encrypt it in a proper way.
Bug: 27873296
Change-Id: I92d2fd4ebb07d5823de31f5a199e23b1dba4836e