summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2010-09-27 14:49:00 -0700
committerNick Kralevich <nnk@google.com>2010-09-27 14:49:00 -0700
commitb91ec410c8ecd09390e7122115e2ab6b7aafefb8 (patch)
tree40f34c0778d8356a6725996b8e7f32a6af81fa14 /services
parent194bbcce9ba15634500f542b9ea017b2cf154b45 (diff)
downloadframeworks_base-b91ec410c8ecd09390e7122115e2ab6b7aafefb8.zip
frameworks_base-b91ec410c8ecd09390e7122115e2ab6b7aafefb8.tar.gz
frameworks_base-b91ec410c8ecd09390e7122115e2ab6b7aafefb8.tar.bz2
squeeze a few more bits of randomness into /dev/random
Change-Id: Ida30c33985411f353c828b43ea26ca1b7e6502af
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/EntropyService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/java/com/android/server/EntropyService.java b/services/java/com/android/server/EntropyService.java
index 81ae26f..0f1fc78 100644
--- a/services/java/com/android/server/EntropyService.java
+++ b/services/java/com/android/server/EntropyService.java
@@ -139,6 +139,7 @@ public class EntropyService extends Binder {
out.println(SystemProperties.get("ro.bootloader"));
out.println(SystemProperties.get("ro.hardware"));
out.println(SystemProperties.get("ro.revision"));
+ out.println(new Object().hashCode());
out.println(System.currentTimeMillis());
out.println(System.nanoTime());
} catch (IOException e) {