aboutsummaryrefslogtreecommitdiffstats
path: root/ide_common/src
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2010-12-03 10:48:32 -0800
committerXavier Ducrohet <xav@android.com>2010-12-03 11:26:38 -0800
commit9eadd4e557ebf420d7773e168abd6df9233a042a (patch)
treeb0a7e522b30d3206ee90af64cca237488c478fd8 /ide_common/src
parent55da58bc9cff4800a9832a1e46f2701d5f4fa02d (diff)
downloadsdk-9eadd4e557ebf420d7773e168abd6df9233a042a.zip
sdk-9eadd4e557ebf420d7773e168abd6df9233a042a.tar.gz
sdk-9eadd4e557ebf420d7773e168abd6df9233a042a.tar.bz2
LayoutLib API: SceneResult API clean up.
Change-Id: I1cb80da55f9ff16d0422eb6c4767448a4691b74b
Diffstat (limited to 'ide_common/src')
-rw-r--r--ide_common/src/com/android/ide/common/layoutlib/LayoutBridgeWrapper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide_common/src/com/android/ide/common/layoutlib/LayoutBridgeWrapper.java b/ide_common/src/com/android/ide/common/layoutlib/LayoutBridgeWrapper.java
index f773a5a..6f4fea1 100644
--- a/ide_common/src/com/android/ide/common/layoutlib/LayoutBridgeWrapper.java
+++ b/ide_common/src/com/android/ide/common/layoutlib/LayoutBridgeWrapper.java
@@ -150,7 +150,7 @@ class LayoutBridgeWrapper extends LayoutBridge {
sceneResult = SceneStatus.SUCCESS.getResult();
rootViewInfo = convertToViewInfo(result.getRootView());
} else {
- sceneResult = new SceneResult(SceneStatus.ERROR_UNKNOWN, result.getErrorMessage());
+ sceneResult = SceneStatus.ERROR_UNKNOWN.getResult(result.getErrorMessage());
rootViewInfo = null;
}