OSDN Git Service

Fix bug #7651552 resetRtlProperties() is called way too often
authorFabrice Di Meglio <fdimeglio@google.com>
Fri, 30 Nov 2012 23:32:56 +0000 (15:32 -0800)
committerFabrice Di Meglio <fdimeglio@google.com>
Fri, 30 Nov 2012 23:32:56 +0000 (15:32 -0800)
commitcb5f9db47a471620061ccb6a574afc209c610dd2
treea9a2a2c4fe118b6a2956fc21534831c8c653cb58
parent05db19bc55962374812775bf7d980d83ca4f6c3e
Fix bug #7651552 resetRtlProperties() is called way too often

- remove unnecessary calls to resetRtlProperties().
- now reset of RTL properties will only be done when adding a View
(and no more when removing it)

Change-Id: I0d42128c9f7df6085fb92bb5af5c9bd4d1ba88a3
core/java/android/view/View.java
core/java/android/view/ViewGroup.java