diff options
author | 2012-02-08 17:47:58 -0800 | |
---|---|---|
committer | 2012-02-10 13:48:44 -0800 | |
commit | 1137be1a686fdfc9f02c3aca7c33f28006df4742 (patch) | |
tree | 3a9e31c77f1b3d31e70c5de2e01d5cfb50918df0 /services/audioflinger/AudioPolicyService.cpp | |
parent | 5dd4754f58e5e99f893749ab3bb3eda1de4cfbe7 (diff) |
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/AudioPolicyService.cpp')
-rw-r--r-- | services/audioflinger/AudioPolicyService.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/AudioPolicyService.cpp b/services/audioflinger/AudioPolicyService.cpp index af464b2b0cca..f8b430ea8f52 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); } |