Skip to content

Commit

Permalink
switch to secure random
Browse files Browse the repository at this point in the history
bump version number
  • Loading branch information
fowles committed Apr 8, 2009
1 parent c40ef4d commit 27e4f6b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion AndroidManifest.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.roller"
android:versionCode="3" android:versionName="1.1.1">
android:versionCode="4" android:versionName="1.1.2">

<uses-permission android:name="android.permission.WAKE_LOCK"/>
<application android:label="@string/app_name" android:icon="@drawable/d10" android:debuggable="false" android:description="@string/description" android:allowClearUserData="true">
Expand Down
2 changes: 1 addition & 1 deletion res/values/strings.xml
Expand Up @@ -2,7 +2,7 @@
<resources>
<string name="app_name">Dice Roller</string>
<string name="version">Version</string>
<string name="app_ver">1.1.1</string>
<string name="app_ver">1.1.2</string>
<string name="app_copyright">Copyright &#169; 2009 Matt Fowles</string>
<string name="app_copyright_rights">All rights reserved</string>
<string name="description">A multi-system dice rolling app</string>
Expand Down
4 changes: 2 additions & 2 deletions src/com/roller/Util.java
@@ -1,9 +1,9 @@
package com.roller;

import java.util.Random;
import java.security.SecureRandom;

public final class Util {
private static final Random random = new Random();
private static final SecureRandom random = new SecureRandom();
private Util() { }

public static int[] rollDice(final int numDice, final int numSides) {
Expand Down

0 comments on commit 27e4f6b

Please sign in to comment.