summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/trebuchet/LauncherAppWidgetHostView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyanogenmod/trebuchet/LauncherAppWidgetHostView.java')
-rw-r--r--src/com/cyanogenmod/trebuchet/LauncherAppWidgetHostView.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/cyanogenmod/trebuchet/LauncherAppWidgetHostView.java b/src/com/cyanogenmod/trebuchet/LauncherAppWidgetHostView.java
index 81c218b..d87c536 100644
--- a/src/com/cyanogenmod/trebuchet/LauncherAppWidgetHostView.java
+++ b/src/com/cyanogenmod/trebuchet/LauncherAppWidgetHostView.java
@@ -56,10 +56,7 @@ public class LauncherAppWidgetHostView extends AppWidgetHostView {
public boolean orientationChangedSincedInflation() {
int orientation = mContext.getResources().getConfiguration().orientation;
- if (mPreviousOrientation != orientation) {
- return true;
- }
- return false;
+ return mPreviousOrientation != orientation;
}
public boolean onInterceptTouchEvent(MotionEvent ev) {