diff options
Diffstat (limited to 'src/com/cyanogenmod/trebuchet/InfoDropTarget.java')
-rw-r--r-- | src/com/cyanogenmod/trebuchet/InfoDropTarget.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/cyanogenmod/trebuchet/InfoDropTarget.java b/src/com/cyanogenmod/trebuchet/InfoDropTarget.java index 941a29466..eaef23ea8 100644 --- a/src/com/cyanogenmod/trebuchet/InfoDropTarget.java +++ b/src/com/cyanogenmod/trebuchet/InfoDropTarget.java @@ -51,10 +51,11 @@ public class InfoDropTarget extends ButtonDropTarget { mDrawable = (TransitionDrawable) getCurrentDrawable(); mDrawable.setCrossFadeEnabled(true); - // Remove the text in the Phone UI in landscape + // Remove the text in landscape int orientation = getResources().getConfiguration().orientation; + boolean transposeLayout = getResources().getBoolean(R.bool.hotseat_transpose_layout_with_orientation); if (orientation == Configuration.ORIENTATION_LANDSCAPE) { - if (!LauncherApplication.isScreenLarge()) { + if (transposeLayout) { setText(""); } } |