diff options
author | Alan Viverette <alanv@google.com> | 2014-08-13 19:13:54 -0700 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2014-08-14 20:06:02 +0000 |
commit | e07b595519e68a8ee524b1886dea01475047abec (patch) | |
tree | d1348a3f39d3b66cf776c2c6d2749936c545cbc3 /core | |
parent | e06f9845dfd93d7dd6617403dcb9f1c9864791d5 (diff) | |
download | frameworks_base-e07b595519e68a8ee524b1886dea01475047abec.zip frameworks_base-e07b595519e68a8ee524b1886dea01475047abec.tar.gz frameworks_base-e07b595519e68a8ee524b1886dea01475047abec.tar.bz2 |
Deprecate InputMethodService.enableHardwareAcceleration()
BUG: 16951553
Change-Id: I126ea823eb2eeabb29d30999dec9c9411b33b315
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/inputmethodservice/InputMethodService.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/java/android/inputmethodservice/InputMethodService.java b/core/java/android/inputmethodservice/InputMethodService.java index 8423d09..ba811b7 100644 --- a/core/java/android/inputmethodservice/InputMethodService.java +++ b/core/java/android/inputmethodservice/InputMethodService.java @@ -640,10 +640,13 @@ public class InputMethodService extends AbstractInputMethodService { * You can call this to try to enable hardware accelerated drawing for * your IME. This must be set before {@link #onCreate}, so you * will typically call it in your constructor. It is not always possible - * to use hardware acclerated drawing in an IME (for example on low-end + * to use hardware accelerated drawing in an IME (for example on low-end * devices that do not have the resources to support this), so the call * returns true if it succeeds otherwise false if you will need to draw * in software. You must be able to handle either case. + * + * @deprecated Starting in API 21, hardware acceleration is always enabled + * on capable devices. */ public boolean enableHardwareAcceleration() { if (mWindow != null) { |