Merge "Only show Presentations on suitable displays"
This commit is contained in:
@@ -395,6 +395,7 @@ public class PresentationActivity extends Activity
|
|||||||
cb.setTag(display);
|
cb.setTag(display);
|
||||||
cb.setOnCheckedChangeListener(PresentationActivity.this);
|
cb.setOnCheckedChangeListener(PresentationActivity.this);
|
||||||
cb.setChecked(contents != null);
|
cb.setChecked(contents != null);
|
||||||
|
cb.setEnabled((display.getFlags() & Display.FLAG_PRESENTATION) != 0);
|
||||||
|
|
||||||
TextView tv = (TextView)v.findViewById(R.id.display_id);
|
TextView tv = (TextView)v.findViewById(R.id.display_id);
|
||||||
tv.setText(v.getContext().getResources().getString(
|
tv.setText(v.getContext().getResources().getString(
|
||||||
|
|||||||
Reference in New Issue
Block a user