From a8ad66ce79dec691bb7c624d4da2cbbc11d12107 Mon Sep 17 00:00:00 2001 From: Nick Chalko Date: Tue, 15 Oct 2019 15:22:21 -0700 Subject: Remove unneeded before Q comment out blocks PiperOrigin-RevId: 274900377 Change-Id: I768af19f600dcd0799e699642752c71c10c05f15 --- src/com/android/tv/guide/ProgramItemView.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/com/android/tv/guide') diff --git a/src/com/android/tv/guide/ProgramItemView.java b/src/com/android/tv/guide/ProgramItemView.java index 65b76412..5ec293f7 100644 --- a/src/com/android/tv/guide/ProgramItemView.java +++ b/src/com/android/tv/guide/ProgramItemView.java @@ -536,11 +536,9 @@ public class ProgramItemView extends TextView { } private static int getStateCount(StateListDrawable stateListDrawable) { - /* Begin_AOSP_Before_Q_Comment_Out */ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) { return stateListDrawable.getStateCount(); } - /* End_AOSP_Before_Q_Comment_Out */ try { Object stateCount = StateListDrawable.class @@ -557,11 +555,9 @@ public class ProgramItemView extends TextView { } private static Drawable getStateDrawable(StateListDrawable stateListDrawable, int index) { - /* Begin_AOSP_Before_Q_Comment_Out */ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) { return stateListDrawable.getStateDrawable(index); } - /* End_AOSP_Before_Q_Comment_Out */ try { Object drawable = StateListDrawable.class -- cgit v1.2.3