summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2012-10-16 20:51:12 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2012-10-16 20:59:04 -0700
commitcf12897cf553bfd07734dad3de071915fd21d4eb (patch)
treeb06bb0575df23595232c87639eaaddfc1406562c /policy
parent809bb404da66498f1723279542d2a7d1f4512052 (diff)
downloadframeworks_base-cf12897cf553bfd07734dad3de071915fd21d4eb.zip
frameworks_base-cf12897cf553bfd07734dad3de071915fd21d4eb.tar.gz
frameworks_base-cf12897cf553bfd07734dad3de071915fd21d4eb.tar.bz2
Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware
- set the Configuration's layout direction in ViewRootImpl instead of PhoneWindow$DecorView - then remove unecessary API on ListPopupWindow for passing the layout direction Change-Id: Ia2c6e4aa8cb82aed9b088bc3b8004ea0a1ded1f3
Diffstat (limited to 'policy')
-rw-r--r--policy/src/com/android/internal/policy/impl/PhoneWindow.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java
index 72cb1dd..41d67bc 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java
@@ -2867,8 +2867,6 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
mDecor = generateDecor();
mDecor.setDescendantFocusability(ViewGroup.FOCUS_AFTER_DESCENDANTS);
mDecor.setIsRootNamespace(true);
- mDecor.setLayoutDirection(
- getContext().getResources().getConfiguration().getLayoutDirection());
if (!mInvalidatePanelMenuPosted && mInvalidatePanelMenuFeatures != 0) {
mDecor.postOnAnimation(mInvalidatePanelMenuRunnable);
}