am 45eb3ea6: Revert "Fix NPE when requesting outsets for detached view."
* commit '45eb3ea667dac8d97a91781f01875148bacfe74c': Revert "Fix NPE when requesting outsets for detached view."
This commit is contained in:
@@ -7392,11 +7392,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
* @hide
|
||||
*/
|
||||
public void getOutsets(Rect outOutsetRect) {
|
||||
if (mAttachInfo != null) {
|
||||
outOutsetRect.set(mAttachInfo.mOutsets);
|
||||
} else {
|
||||
outOutsetRect.setEmpty();
|
||||
}
|
||||
outOutsetRect.set(mAttachInfo.mOutsets);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -14553,7 +14549,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
}
|
||||
}
|
||||
|
||||
onDetachedFromWindows();
|
||||
onDetachedFromWindow();
|
||||
onDetachedFromWindowInternal();
|
||||
|
||||
InputMethodManager imm = InputMethodManager.peekInstance();
|
||||
|
||||
Reference in New Issue
Block a user