am e04a9798
: Merge "Call setLayerType(LAYER_TYPE_HARDWARE) for EmojiPalettesView too."
* commit 'e04a9798f6f1e2c4976c8c8bf07a204fa76a6da9': Call setLayerType(LAYER_TYPE_HARDWARE) for EmojiPalettesView too.
This commit is contained in:
commit
54d7389a43
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) {
|
||||
// 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,
|
||||
|
|
Loading…
Reference in a new issue