summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Lim <mlim@codeaurora.org>2010-08-10 15:21:04 -0700
committerSteve Kondik <shade@chemlab.org>2010-08-16 18:02:54 -0400
commit1247cf845f3a1e15258cdd12c30192e1b011a886 (patch)
tree2ed439b867f06c54137385b157e7f1a577a3721e
parente61ca955e587702d960654fa28c056ee36a89b83 (diff)
downloadframeworks_base-1247cf845f3a1e15258cdd12c30192e1b011a886.zip
frameworks_base-1247cf845f3a1e15258cdd12c30192e1b011a886.tar.gz
frameworks_base-1247cf845f3a1e15258cdd12c30192e1b011a886.tar.bz2
frameworks/base: Fix status bar notification expansion when device orientation changes
Rotating the device 90 or 270 degrees triggers a display size change event, as display coordinates transition from portrait to landscape mode. Handler for this event responds by expanding the status bar notification contents. When the status bar notification text encompasses the full screen (at least 5 notification messages), the last entry in the notification overlaps the foreground application (e.g. Google map) during rotation. This causes a momentary flicker on top of the screen in landscape mode. Change-Id: Ic6414071e4134001d268af5a8159ae359ee252c4 CRs-fixed: 248670
-rw-r--r--services/java/com/android/server/status/StatusBarView.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/services/java/com/android/server/status/StatusBarView.java b/services/java/com/android/server/status/StatusBarView.java
index 5e1f572..6b513fc 100644
--- a/services/java/com/android/server/status/StatusBarView.java
+++ b/services/java/com/android/server/status/StatusBarView.java
@@ -94,7 +94,6 @@ public class StatusBarView extends FrameLayout {
@Override
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
super.onSizeChanged(w, h, oldw, oldh);
- mService.updateExpandedViewPos(StatusBarService.EXPANDED_LEAVE_ALONE);
}
@Override