Call setLayerType(LAYER_TYPE_HARDWARE) for EmojiPalettesView too.
This CL probably does not addresses the bug, but still this should be the right thing to do here. bug: 12667742 Change-Id: I587652942fd66094779fb7942c734e0ff5f9d0b6
This commit is contained in:
parent
6008898b99
commit
e289441f92
1 changed files with 3 additions and 1 deletions
|
@ -632,7 +632,9 @@ public final class EmojiPalettesView extends LinearLayout implements OnTabChange
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setHardwareAcceleratedDrawingEnabled(final boolean enabled) {
|
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,
|
private static void setupAlphabetKey(final TextView alphabetKey, final String label,
|
||||||
|
|
Loading…
Reference in a new issue