From 8e9a856f72a004b6597deebceda91ceeea655c08 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Wed, 9 Feb 2022 13:44:29 +0000 Subject: Enable Android clang-tidy checks for inputflinger Mostly just adding CLOEXEC to any operations that open a new fd. Bug: 218657035 Test: build Change-Id: Iae1a32bfdbb663759fb347af7e3426b03d5f831f --- services/inputflinger/InputManager.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'services/inputflinger/InputManager.cpp') diff --git a/services/inputflinger/InputManager.cpp b/services/inputflinger/InputManager.cpp index 7a9862d065..7b03631e1f 100644 --- a/services/inputflinger/InputManager.cpp +++ b/services/inputflinger/InputManager.cpp @@ -33,8 +33,6 @@ namespace android { using gui::FocusRequest; -using gui::WindowInfo; -using gui::WindowInfoHandle; static int32_t exceptionCodeFromStatusT(status_t status) { switch (status) { -- cgit v1.2.3-59-g8ed1b