summaryrefslogtreecommitdiffstats
path: root/services/audioflinger
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-02-08 17:47:58 -0800
committerGlenn Kasten <gkasten@google.com>2012-02-10 13:48:44 -0800
commit1137be1a686fdfc9f02c3aca7c33f28006df4742 (patch)
tree3a9e31c77f1b3d31e70c5de2e01d5cfb50918df0 /services/audioflinger
parent5dd4754f58e5e99f893749ab3bb3eda1de4cfbe7 (diff)
downloadframeworks_base-1137be1a686fdfc9f02c3aca7c33f28006df4742.zip
frameworks_base-1137be1a686fdfc9f02c3aca7c33f28006df4742.tar.gz
frameworks_base-1137be1a686fdfc9f02c3aca7c33f28006df4742.tar.bz2
Follow raw pointer and sp<> conventions
Unconditional delete for raw pointers. Use "if (sp != 0)" not "if (sp.get() != 0)" or "if (sp != NULL)". Use "if (raw != NULL)" not "if (raw)". Change-Id: I531a8da7c37149261ed2f34b862ec4896a4b785b
Diffstat (limited to 'services/audioflinger')
-rw-r--r--services/audioflinger/AudioPolicyService.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/AudioPolicyService.cpp b/services/audioflinger/AudioPolicyService.cpp
index af464b2..f8b430e 100644
--- a/services/audioflinger/AudioPolicyService.cpp
+++ b/services/audioflinger/AudioPolicyService.cpp
@@ -588,10 +588,10 @@ status_t AudioPolicyService::dump(int fd, const Vector<String16>& args)
}
dumpInternals(fd);
- if (mAudioCommandThread != NULL) {
+ if (mAudioCommandThread != 0) {
mAudioCommandThread->dump(fd);
}
- if (mTonePlaybackThread != NULL) {
+ if (mTonePlaybackThread != 0) {
mTonePlaybackThread->dump(fd);
}