diff options
author | Xavier Ducrohet <xav@android.com> | 2010-12-03 10:48:32 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2010-12-03 11:26:38 -0800 |
commit | 9eadd4e557ebf420d7773e168abd6df9233a042a (patch) | |
tree | b0a7e522b30d3206ee90af64cca237488c478fd8 /ide_common/src | |
parent | 55da58bc9cff4800a9832a1e46f2701d5f4fa02d (diff) | |
download | sdk-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.java | 2 |
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; } |