From 9eadd4e557ebf420d7773e168abd6df9233a042a Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Fri, 3 Dec 2010 10:48:32 -0800 Subject: LayoutLib API: SceneResult API clean up. Change-Id: I1cb80da55f9ff16d0422eb6c4767448a4691b74b --- .../src/com/android/ide/common/layoutlib/LayoutBridgeWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ide_common/src/com') 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; } -- cgit v1.1