Skip to content

Commit

Permalink
Merge remote branch 'cm/cm-10.1' into cm-10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
androidarmv6-gerrit committed Jan 4, 2013
2 parents 7c2a1f3 + ea70b09 commit c052ef8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions src/com/cyanogenmod/trebuchet/DeleteDropTarget.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,11 @@ protected void onFinishInflate() {
mRemoveActiveDrawable = r.getDrawable(R.drawable.ic_launcher_clear_active_holo);
mRemoveNormalDrawable = r.getDrawable(R.drawable.ic_launcher_clear_normal_holo);

// 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("");
}
}
Expand Down
5 changes: 3 additions & 2 deletions src/com/cyanogenmod/trebuchet/EditDropTarget.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ protected void onFinishInflate() {
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("");
}
}
Expand Down
5 changes: 3 additions & 2 deletions src/com/cyanogenmod/trebuchet/InfoDropTarget.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ protected void onFinishInflate() {
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("");
}
}
Expand Down

0 comments on commit c052ef8

Please sign in to comment.