commit | 463cf1aea84c6f27155b45f3df70ec2550afb6ab | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Tue Sep 02 14:22:23 2014 -0700 |
committer | Raph Levien <raph@google.com> | Tue Sep 02 14:23:18 2014 -0700 |
tree | 23a4b2e2eb280380c4a943fc008f58066157cb17 | |
parent | 89369b29db78ca0bfffbdabbb27c4232b3cac8e4 [diff] |
Ensure layout in getExtendedPadding calls There are cases in which getExtendedPaddingTop() and Bottom can get called even without a valid layout. This patch just makes sure there is some reasonable layout available. Fix for bug 14819392 "java.lang.NullPointerException in android.widget.TextView" Change-Id: I203899402ddfe857a688b16b7855a8991eee82b7