diff options
author | Glenn Kasten <gkasten@google.com> | 2013-08-13 09:14:51 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2013-08-13 09:55:59 -0700 |
commit | 6e2ebe97f2ad0a21907f20f9ee644c4eacbb7a40 (patch) | |
tree | ea9d525f25620253ea86f434452bc37fbad73f76 /services/audioflinger/Effects.cpp | |
parent | e198c360d5e75a9b2097844c495c10902e7e8500 (diff) | |
download | frameworks_av-6e2ebe97f2ad0a21907f20f9ee644c4eacbb7a40.zip frameworks_av-6e2ebe97f2ad0a21907f20f9ee644c4eacbb7a40.tar.gz frameworks_av-6e2ebe97f2ad0a21907f20f9ee644c4eacbb7a40.tar.bz2 |
Use curly braces in 'if' to make it easier to add logs
Change-Id: I58b33fefdd8bf703647414157a99a3223be3531c
Diffstat (limited to 'services/audioflinger/Effects.cpp')
-rw-r--r-- | services/audioflinger/Effects.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/audioflinger/Effects.cpp b/services/audioflinger/Effects.cpp index d5a21a7..2a18104 100644 --- a/services/audioflinger/Effects.cpp +++ b/services/audioflinger/Effects.cpp @@ -116,8 +116,9 @@ status_t AudioFlinger::EffectModule::addHandle(EffectHandle *handle) continue; } // first non destroyed handle is considered in control - if (controlHandle == NULL) + if (controlHandle == NULL) { controlHandle = h; + } if (h->priority() <= priority) { break; } |