Merge "Check for mAttachInfo nullness when getting the autofillable drawable." into oc-dev
am: 83478acb87
Change-Id: I927894efbe0dbe506b18d42cd1840596299a0270
This commit is contained in:
@@ -20506,6 +20506,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
* @throws IllegalStateException if the drawable could not be found.
|
||||
*/
|
||||
@Nullable private Drawable getAutofilledDrawable() {
|
||||
if (mAttachInfo == null) {
|
||||
return null;
|
||||
}
|
||||
// Lazily load the isAutofilled drawable.
|
||||
if (mAttachInfo.mAutofilledDrawable == null) {
|
||||
Context rootContext = getRootView().getContext();
|
||||
|
||||
Reference in New Issue
Block a user