Merge "AdaptiveIconDrawable should not update layer bounds when bound is empty" into oc-dr1-dev

am: e54ad58aea

Change-Id: I01b6fd2391e1296546291af5db5a4663e67fae01
This commit is contained in:
Hyunyoung Song
2017-06-29 19:27:30 +00:00
committed by android-build-merger

View File

@@ -289,6 +289,9 @@ public class AdaptiveIconDrawable extends Drawable implements Drawable.Callback
}
private void updateLayerBounds(Rect bounds) {
if (bounds.isEmpty()) {
return;
}
try {
suspendChildInvalidation();
updateLayerBoundsInternal(bounds);
@@ -1109,4 +1112,4 @@ public class AdaptiveIconDrawable extends Drawable implements Drawable.Callback
mCheckedStateful = false;
}
}
}
}