summaryrefslogtreecommitdiffstats
path: root/services
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
commit9d1f02d74fd395ec4de6861147da289423f0ab6f (patch)
tree127f5a23da9e17614da1c5f7d84002f3c80c9016 /services
parent0ba18ec1b343a8de70924f87630dd1f329b00fe6 (diff)
downloadframeworks_av-9d1f02d74fd395ec4de6861147da289423f0ab6f.zip
frameworks_av-9d1f02d74fd395ec4de6861147da289423f0ab6f.tar.gz
frameworks_av-9d1f02d74fd395ec4de6861147da289423f0ab6f.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')
-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);
}