diff options
author | dcashman <dcashman@google.com> | 2014-11-25 12:59:12 -0800 |
---|---|---|
committer | dcashman <dcashman@google.com> | 2014-11-25 12:59:12 -0800 |
commit | 9287e0dd272b85b475e33bcbd7d868517a0f98f9 (patch) | |
tree | 316b63d497df27d14ea5109e1d2883b1353acef7 /services/java/com/android/server/SystemServer.java | |
parent | 3a1c4db53ee41fb34bbb6314886e2e1a8ad9889c (diff) | |
download | frameworks_base-9287e0dd272b85b475e33bcbd7d868517a0f98f9.zip frameworks_base-9287e0dd272b85b475e33bcbd7d868517a0f98f9.tar.gz frameworks_base-9287e0dd272b85b475e33bcbd7d868517a0f98f9.tar.bz2 |
Prevent EntropyMixer from registering with service manager.
EntropyMixer is designed to be triggered in two ways, as either the
result of a self-set timer or of one of three system broadcasts. It is not
meant to be triggered in any other way, so exposing it via servicemanager
is undesirable.
Bug: 18106000
Change-Id: I9aeb35e7ffde75090f4234ea193514fb883b1425
Diffstat (limited to 'services/java/com/android/server/SystemServer.java')
-rw-r--r-- | services/java/com/android/server/SystemServer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 4e6a8ea..d53429c 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -409,6 +409,7 @@ public final class SystemServer { ConsumerIrService consumerIr = null; AudioService audioService = null; MmsServiceBroker mmsService = null; + EntropyMixer entropyMixer = null; boolean disableStorage = SystemProperties.getBoolean("config.disable_storage", false); boolean disableMedia = SystemProperties.getBoolean("config.disable_media", false); @@ -433,7 +434,7 @@ public final class SystemServer { ServiceManager.addService("telephony.registry", telephonyRegistry); Slog.i(TAG, "Entropy Mixer"); - ServiceManager.addService("entropy", new EntropyMixer(context)); + entropyMixer = new EntropyMixer(context); mContentResolver = context.getContentResolver(); |