summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/trebuchet/InfoDropTarget.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyanogenmod/trebuchet/InfoDropTarget.java')
-rw-r--r--src/com/cyanogenmod/trebuchet/InfoDropTarget.java5
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("");
}
}