diff options
author | Glenn Kasten <gkasten@google.com> | 2014-03-14 16:01:58 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-03-18 16:01:50 -0700 |
commit | cf515ab0030cf5e0bef843638af7c989a8f6843a (patch) | |
tree | 9bc764714f1daf1a8c4bb9222eddf3dedb3b0aa4 /services | |
parent | b5ea3014b8be9eaa16da0144bd81af6fa514d8e2 (diff) | |
download | frameworks_av-cf515ab0030cf5e0bef843638af7c989a8f6843a.zip frameworks_av-cf515ab0030cf5e0bef843638af7c989a8f6843a.tar.gz frameworks_av-cf515ab0030cf5e0bef843638af7c989a8f6843a.tar.bz2 |
Mark the logging heap read-only to media.log service
Change-Id: Ie26a9e7e37c951774c71d2c53886db52dd5479aa
Diffstat (limited to 'services')
-rw-r--r-- | services/audioflinger/AudioFlinger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index 50179c5..c62c627 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp @@ -173,7 +173,7 @@ AudioFlinger::AudioFlinger() char value[PROPERTY_VALUE_MAX]; bool doLog = (property_get("ro.test_harness", value, "0") > 0) && (atoi(value) == 1); if (doLog) { - mLogMemoryDealer = new MemoryDealer(kLogMemorySize, "LogWriters"); + mLogMemoryDealer = new MemoryDealer(kLogMemorySize, "LogWriters", MemoryHeapBase::READ_ONLY); } #ifdef TEE_SINK (void) property_get("ro.debuggable", value, "0"); |