summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/HardwareCanvas.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-06-12 15:31:28 -0700
committerRomain Guy <romainguy@google.com>2013-06-12 15:31:28 -0700
commit405436021da156fbe3c5d4de48bdefa564cf7fc0 (patch)
tree339d70e2c2e90f87a5c303e7167fe9db0508ed64 /core/java/android/view/HardwareCanvas.java
parent97f41383eb2bb098767ca153e470009fea810540 (diff)
downloadframeworks_base-405436021da156fbe3c5d4de48bdefa564cf7fc0.zip
frameworks_base-405436021da156fbe3c5d4de48bdefa564cf7fc0.tar.gz
frameworks_base-405436021da156fbe3c5d4de48bdefa564cf7fc0.tar.bz2
Restore buildLayer()'s old behavior; it's synchronous again
Bug #9193833 Change-Id: I4ee07e65c0a8967f0b55da030ecaad6dfc46136f
Diffstat (limited to 'core/java/android/view/HardwareCanvas.java')
-rw-r--r--core/java/android/view/HardwareCanvas.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/view/HardwareCanvas.java b/core/java/android/view/HardwareCanvas.java
index 0dfed69..88b0986 100644
--- a/core/java/android/view/HardwareCanvas.java
+++ b/core/java/android/view/HardwareCanvas.java
@@ -202,6 +202,15 @@ public abstract class HardwareCanvas extends Canvas {
abstract void pushLayerUpdate(HardwareLayer layer);
/**
+ * Immediately executes all enqueued layer updates.
+ *
+ * @see #pushLayerUpdate(HardwareLayer)
+ *
+ * @hide
+ */
+ abstract void flushLayerUpdates();
+
+ /**
* Removes all enqueued layer updates.
*
* @see #pushLayerUpdate(HardwareLayer)