Fix crash for some seed values.
am: 7c2e730f63
Change-Id: Ia755c65d5d47b907eea46df4dff356ccc13a3e66
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user