Merge "Fix return value in View#getUnrestrictedPreferKeepClearRects" into tm-dev

This commit is contained in:
Galia Peycheva
2022-05-11 07:42:19 +00:00
committed by Android (Google) Code Review

View File

@@ -11941,7 +11941,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
@NonNull
public final List<Rect> getUnrestrictedPreferKeepClearRects() {
final ListenerInfo info = mListenerInfo;
if (info != null && info.mKeepClearRects != null) {
if (info != null && info.mUnrestrictedKeepClearRects != null) {
return new ArrayList(info.mUnrestrictedKeepClearRects);
}