Last active
March 28, 2019 21:15
-
-
Save Dimezis/24e23d5a53ee04b18cdd98de18878604 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public final void invalidateChild(View child, final Rect dirty) { | |
final AttachInfo attachInfo = mAttachInfo; | |
if (attachInfo != null && attachInfo.mHardwareAccelerated) { | |
// HW accelerated fast path | |
onDescendantInvalidated(child, child); | |
return; | |
} | |
// A bunch of code here for old slow path | |
parent.invalidateChildInParent(location, dirty); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment