am a9854ce9: am ce463847: Merge "Fix bug #7651552 resetRtlProperties() is called way too often" into jb-mr1.1-dev

* commit 'a9854ce9dfac086533e9d49ac75076bcc579303b':
  Fix bug #7651552 resetRtlProperties() is called way too often
This commit is contained in:
Fabrice Di Meglio
2012-11-30 16:46:00 -08:00
committed by Android Git Automerger
2 changed files with 0 additions and 19 deletions

View File

@ -11856,8 +11856,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
mCurrentAnimation = null;
resetRtlProperties();
onRtlPropertiesChanged(LAYOUT_DIRECTION_DEFAULT);
resetAccessibilityStateChanged();
}

View File

@ -3620,8 +3620,6 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
childHasTransientStateChanged(view, false);
}
view.resetRtlProperties();
onViewRemoved(view);
needGlobalAttributesUpdate(false);
@ -5368,21 +5366,6 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
}
}
/**
* @hide
*/
@Override
public void resetRtlProperties() {
super.resetRtlProperties();
int count = getChildCount();
for (int i = 0; i < count; i++) {
final View child = getChildAt(i);
if (child.isLayoutDirectionInherited()) {
child.resetRtlProperties();
}
}
}
/**
* @hide
*/