Files
frameworks_base/core/java/android
Yura a354c4f156 Fix for endless loop in RelativeLayout.
getRelatedView(int[] rules, int relation)

is stuck in the loop, when a view is GONE, and references itself.
There is already a check in:

  getSortedViews(View[] sorted, int... rules) {

to make sure there are no loops of ViewA -> ViewB -> ViewA

BUT, there was a change made in findRoots(int[] rulesFilter)

to "Remove exception throw when a view has a self dependency
inside a RelativeLayout." so this means we must allow this case.

Other change git commit sha: da3003e1d7

Bug: http://b/android.com/231353
Change-Id: Icc26b86ebbb19e482c3afe6a39db996ec493586d
2017-01-30 18:10:34 +00:00
..
2017-01-25 17:00:55 -08:00
2017-01-27 08:28:45 -05:00
2017-01-25 18:21:28 +00:00
2017-01-12 16:03:11 +00:00
2017-01-25 04:47:15 +01:00
2017-01-24 15:27:16 +00:00
2017-01-30 12:57:43 +00:00