commit | 920f6572c648ad43a701f6a7b8bd413050f63dc0 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Thu Oct 06 12:09:49 2022 -0700 |
committer | Andy Hung <hunga@google.com> | Thu Mar 30 18:48:14 2023 -0700 |
tree | 652138650858109adbdba5a041c4e211e7a11826 | |
parent | 7dd4c76232939e595726f460efd9e11aa69b5b35 [diff] [blame] |
AudioFlinger: Add clang tidy checks on build First pass just enables warnings. Test: compiles Bug: 252907478 Merged-In: I3d0622ab908b85adb1913d8482d55e1950fdccc0 Change-Id: I3d0622ab908b85adb1913d8482d55e1950fdccc0
diff --git a/services/audioflinger/AudioHwDevice.h b/services/audioflinger/AudioHwDevice.h index 1749f3f..d071922 100644 --- a/services/audioflinger/AudioHwDevice.h +++ b/services/audioflinger/AudioHwDevice.h
@@ -46,7 +46,7 @@ AudioHwDevice(audio_module_handle_t handle, const char *moduleName, - sp<DeviceHalInterface> hwDevice, + const sp<DeviceHalInterface>& hwDevice, Flags flags) : mHandle(handle) , mModuleName(strdup(moduleName))