summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Bo Liu <boliu@google.com> 2014-06-23 11:43:00 -0700
committer Bo Liu <boliu@google.com> 2014-06-23 14:57:19 -0700
commit26cab31d784c44a2e2605ec3478562f9e6ffd99d (patch)
tree8194eef9cdc906b44db73c92a289d75cdf509670
parent61606cec5ceb705910dec94222b22e66a0365094 (diff)
Remove View.executeHardwareAction
Webview does not need this anymore. BUG: 13961296 Change-Id: Ia0681dea35155513b916844ecf83faf6d544a2e3
-rw-r--r--core/java/android/view/View.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index 517b671aa060..785ba1a0523b 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -12958,33 +12958,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
}
}
- /**
- * This method ensures the hardware renderer is in a valid state
- * before executing the specified action.
- *
- * This method will attempt to set a valid state even if the window
- * the renderer is attached to was destroyed.
- *
- * This method is not guaranteed to work. If the hardware renderer
- * does not exist or cannot be put in a valid state, this method
- * will not executed the specified action.
- *
- * The specified action is executed synchronously.
- *
- * @param action The action to execute after the renderer is in a valid state
- *
- * @return True if the specified Runnable was executed, false otherwise
- *
- * @hide
- */
- public boolean executeHardwareAction(Runnable action) {
- //noinspection SimplifiableIfStatement
- if (mAttachInfo != null && mAttachInfo.mHardwareRenderer != null) {
- return mAttachInfo.mHardwareRenderer.safelyRun(action);
- }
- return false;
- }
-
void invalidateInheritedLayoutMode(int layoutModeOfRoot) {
}