summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/bridge
diff options
context:
space:
mode:
authorJonathan Dixon <joth@google.com>2013-08-02 15:28:31 -0700
committerJonathan Dixon <joth@google.com>2013-08-08 17:22:48 -0700
commit667fe1039feae068d3333de8fb7115313f4a517b (patch)
treecbe42efc3390b4f8bce6854573d7073e698b2dae /tools/layoutlib/bridge
parentf6971c80fd413cad8e5333cd3184f41fcf64e14b (diff)
downloadframeworks_base-667fe1039feae068d3333de8fb7115313f4a517b.zip
frameworks_base-667fe1039feae068d3333de8fb7115313f4a517b.tar.gz
frameworks_base-667fe1039feae068d3333de8fb7115313f4a517b.tar.bz2
Refactor Canvas.drawPicture() to delegate to Picture
Bug: 9814370 To allow WebView.capturePicture() to return a subclass, we need to ensure the subclass is always consulted when being drawn into a canvas. Change-Id: Ia0357f95b6fafb3ac81e6bcfaef05739e619897a
Diffstat (limited to 'tools/layoutlib/bridge')
-rw-r--r--tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java
index 4171bb5..361f5d7 100644
--- a/tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java
+++ b/tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java
@@ -1148,14 +1148,6 @@ public final class Canvas_Delegate {
}
@LayoutlibDelegate
- /*package*/ static void native_drawPicture(int nativeCanvas,
- int nativePicture) {
- // FIXME
- Bridge.getLog().fidelityWarning(LayoutLog.TAG_UNSUPPORTED,
- "Canvas.drawPicture is not supported.", null, null /*data*/);
- }
-
- @LayoutlibDelegate
/*package*/ static void finalizer(int nativeCanvas) {
// get the delegate from the native int so that it can be disposed.
Canvas_Delegate canvasDelegate = sManager.getDelegate(nativeCanvas);