OSDN Git Service

Override LinearLayout's onLayout pass in AlertDialogLayout
authorAlan Viverette <alanv@google.com>
Wed, 24 Aug 2016 16:26:27 +0000 (12:26 -0400)
committerAlan Viverette <alanv@google.com>
Wed, 24 Aug 2016 16:26:27 +0000 (12:26 -0400)
commit1bb8f51e765d2f2d5f7a479e16d2958849bf3947
treee685da5622c22ed3e169ec00560bdb386575b3d8
parent4ecc9d2db400225b6f5e0d76d17b8f94354996a6
Override LinearLayout's onLayout pass in AlertDialogLayout

LinearLayout sets up internal state during onLayout that's missing when
we override onMeasure. Avoid calling super.onMeasure() by re-implementing
onLayout without the internal state dependencies.

Bug: 30494039
Change-Id: I1149517a2fe5f5afdb4125db5e7f573588fea740
core/java/com/android/internal/widget/AlertDialogLayout.java