aboutsummaryrefslogtreecommitdiff
path: root/src/com/android/tv/ui/sidepanel/SwitchItem.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/tv/ui/sidepanel/SwitchItem.java')
-rw-r--r--src/com/android/tv/ui/sidepanel/SwitchItem.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/tv/ui/sidepanel/SwitchItem.java b/src/com/android/tv/ui/sidepanel/SwitchItem.java
index ef9966a5..06591b62 100644
--- a/src/com/android/tv/ui/sidepanel/SwitchItem.java
+++ b/src/com/android/tv/ui/sidepanel/SwitchItem.java
@@ -31,6 +31,11 @@ public class SwitchItem extends CompoundButtonItem {
super(checkedTitle, uncheckedTitle, description);
}
+ public SwitchItem(String checkedTitle, String uncheckedTitle, String description,
+ int maxLines) {
+ super(checkedTitle, uncheckedTitle, description, maxLines);
+ }
+
@Override
protected int getResourceId() {
return R.layout.option_item_switch;