From 9ec488cd414a1b6122f210f0dbc69ef96c62f995 Mon Sep 17 00:00:00 2001 From: Peter Kalauskas Date: Fri, 4 Nov 2022 10:51:32 -0700 Subject: [PATCH] Remove CameraAvailabilityListener TAG definition Top-level const TAG should be private. Otherwise, it prevents other files in the same package from defining their own top-level const TAG. However, in this case the TAG is unused, so remove it entirely. Test: m SystemUI Bug: 238923086 Change-Id: Ie4a800526bab7d9a169b8e6c19616402daed5443 --- .../src/com/android/systemui/CameraAvailabilityListener.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/CameraAvailabilityListener.kt b/packages/SystemUI/src/com/android/systemui/CameraAvailabilityListener.kt index 3015710e8a985..eee705dea277b 100644 --- a/packages/SystemUI/src/com/android/systemui/CameraAvailabilityListener.kt +++ b/packages/SystemUI/src/com/android/systemui/CameraAvailabilityListener.kt @@ -26,8 +26,6 @@ import java.util.concurrent.Executor import kotlin.math.roundToInt -const val TAG = "CameraAvailabilityListener" - /** * Listens for usage of the Camera and controls the ScreenDecorations transition to show extra * protection around a display cutout based on config_frontBuiltInDisplayCutoutProtection and