Starting in Android P, Crypto JCA provider has been removed. Calls to SecureRandom.getInstance("SHA1PRNG", "Crypto") will throw NoSuchProviderException.
Just ran it on P and this isn't crashing the app nor causing any issues yet, SecureRandom.getInstance("SHA1PRNG", "Crypto") will throw an exception but is not implemented in the code.
Starting in Android P, Crypto JCA provider has been removed. Calls to SecureRandom.getInstance("SHA1PRNG", "Crypto") will throw NoSuchProviderException.