load entropy data at boot. Periodically write entropy data to disk.
This commit is contained in:
@@ -97,6 +97,9 @@ class ServerThread extends Thread {
|
||||
|
||||
// Critical services...
|
||||
try {
|
||||
Log.i(TAG, "Starting Entropy Service.");
|
||||
ServiceManager.addService("entropy", new EntropyService());
|
||||
|
||||
Log.i(TAG, "Starting Power Manager.");
|
||||
power = new PowerManagerService();
|
||||
ServiceManager.addService(Context.POWER_SERVICE, power);
|
||||
|
||||
Reference in New Issue
Block a user