From 677ccee3ffa11c71942f3e2bf59e0981aeaac5ea Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Fri, 19 Oct 2012 14:48:42 -0700 Subject: Update maven artifacts and add lint. Updated the groupId of most artifacts to be more reflective of their sub-projects status in the SDK tools. Added lint artifacts. Change-Id: I900a165647a9b7d3c55b473f63c4ca4469762d7b --- layoutlib_api/build.gradle | 3 ++- .../src/com/android/ide/common/rendering/api/SessionParams.java | 9 ++------- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'layoutlib_api') diff --git a/layoutlib_api/build.gradle b/layoutlib_api/build.gradle index 24e1a65b5..82a2af4e4 100644 --- a/layoutlib_api/build.gradle +++ b/layoutlib_api/build.gradle @@ -14,7 +14,8 @@ def getVersion() { } version = getVersion() -archivesBaseName = 'layoutlib_api' +group = 'com.android.tools.layoutlib' +archivesBaseName = 'layoutlib-api' sourceSets { main { diff --git a/layoutlib_api/src/com/android/ide/common/rendering/api/SessionParams.java b/layoutlib_api/src/com/android/ide/common/rendering/api/SessionParams.java index f440de15b..709207e33 100644 --- a/layoutlib_api/src/com/android/ide/common/rendering/api/SessionParams.java +++ b/layoutlib_api/src/com/android/ide/common/rendering/api/SessionParams.java @@ -60,17 +60,12 @@ public class SessionParams extends RenderParams { * layout file. * @param renderingMode The rendering mode. * @param projectKey An Object identifying the project. This is used for the cache mechanism. - * @param screenWidth the screen width - * @param screenHeight the screen height - * @param density the density factor for the screen. - * @param xdpi the screen actual dpi in X - * @param ydpi the screen actual dpi in Y - * @param renderResources a {@link RenderResources} object providing access to the resources. + * @param hardwareConfig the {@link HardwareConfig}. + * @param renderResources a {@link RenderResources} object providing access to the resources. * @param projectCallback The {@link IProjectCallback} object to get information from * the project. * @param minSdkVersion the minSdkVersion of the project * @param targetSdkVersion the targetSdkVersion of the project - * @param softwareButtons whether the device use software buttons * @param log the object responsible for displaying warning/errors to the user. */ public SessionParams( -- cgit v1.2.3