diff options
Diffstat (limited to 'common/src/com/android/tv/common/feature/Feature.java')
-rw-r--r-- | common/src/com/android/tv/common/feature/Feature.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/common/src/com/android/tv/common/feature/Feature.java b/common/src/com/android/tv/common/feature/Feature.java index b3a8336c..fd5625e5 100644 --- a/common/src/com/android/tv/common/feature/Feature.java +++ b/common/src/com/android/tv/common/feature/Feature.java @@ -23,16 +23,15 @@ import android.content.Context; * launched. * * <p>Expected usage is: + * * <pre>{@code - * if (MY_FEATURE.isEnabled(context) { - * showNewCoolUi(); - * } else{ - * showOldBoringUi(); - * } + * if (MY_FEATURE.isEnabled(context) { + * showNewCoolUi(); + * } else{ + * showOldBoringUi(); + * } * }</pre> */ public interface Feature { boolean isEnabled(Context context); - - } |