Fix crash for some seed values.

Change-Id: I2f8d0a388a1bfdd4d3111abce7e4bcafe1e9bf3d
Fixes: 30169383
This commit is contained in:
Dan Sandler
2016-07-16 01:25:31 -04:00
committed by Daniel Sandler
parent 1e52909888
commit 7c2e730f63

View File

@@ -143,7 +143,7 @@ public class Cat extends Drawable {
mSeed = seed;
setName(context.getString(R.string.default_cat_name,
String.valueOf(mSeed).substring(0, 3)));
String.valueOf(mSeed % 1000)));
final Random nsr = notSoRandom(seed);