Skip to content
Snippets Groups Projects
Commit e04a9798 authored by Ken Wakasa's avatar Ken Wakasa Committed by Android (Google) Code Review
Browse files

Merge "Call setLayerType(LAYER_TYPE_HARDWARE) for EmojiPalettesView too."

parents b4a983d4 e289441f
No related branches found
No related tags found
No related merge requests found
......@@ -632,7 +632,9 @@ public final class EmojiPalettesView extends LinearLayout implements OnTabChange
}
public void setHardwareAcceleratedDrawingEnabled(final boolean enabled) {
// TODO:
if (!enabled) return;
// TODO: Should use LAYER_TYPE_SOFTWARE when hardware acceleration is off?
setLayerType(LAYER_TYPE_HARDWARE, null);
}
private static void setupAlphabetKey(final TextView alphabetKey, final String label,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment