diff options
author | Glenn Kasten <gkasten@google.com> | 2012-01-13 15:54:24 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-01-18 15:42:59 -0800 |
commit | f1d4592d4c3c99ebab55559e164ff102e825283e (patch) | |
tree | 6e565ad0a02b7058688b86a1d9c949e38fd3608c /services/audioflinger/AudioPolicyService.cpp | |
parent | 04eaf3e5f20d7faa956c0d672024ffb5117f4c26 (diff) | |
download | frameworks_av-f1d4592d4c3c99ebab55559e164ff102e825283e.zip frameworks_av-f1d4592d4c3c99ebab55559e164ff102e825283e.tar.gz frameworks_av-f1d4592d4c3c99ebab55559e164ff102e825283e.tar.bz2 |
For booleans, use ! instead of == false
Change-Id: Ibc115936d2d0b0b7744ebe9b52839ea5b42c4edd
Diffstat (limited to 'services/audioflinger/AudioPolicyService.cpp')
-rw-r--r-- | services/audioflinger/AudioPolicyService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioPolicyService.cpp b/services/audioflinger/AudioPolicyService.cpp index fcf014f..79d4463 100644 --- a/services/audioflinger/AudioPolicyService.cpp +++ b/services/audioflinger/AudioPolicyService.cpp @@ -587,7 +587,7 @@ status_t AudioPolicyService::dumpInternals(int fd) status_t AudioPolicyService::dump(int fd, const Vector<String16>& args) { - if (checkCallingPermission(String16("android.permission.DUMP")) == false) { + if (!checkCallingPermission(String16("android.permission.DUMP"))) { dumpPermissionDenial(fd); } else { bool locked = tryLock(mLock); |