diff --git a/build.gradle b/build.gradle index 5bcef85..e5ec61c 100644 --- a/build.gradle +++ b/build.gradle @@ -10,8 +10,8 @@ buildscript { } subprojects { - version '0.9.0-SNAPSHOT' - +// version '0.9.0-SNAPSHOT' + version '0.9.1' apply plugin: 'java' sourceCompatibility = 1.7 @@ -36,6 +36,12 @@ subprojects { options.encoding = 'utf-8' //enable incremental compilation } + javadoc { + options { + locale = 'en_US' + encoding = 'UTF-8' + } + } } project(':device-api') { @@ -59,10 +65,6 @@ project(':device-api') { group = "com.github.cosysoft" archivesBaseName = "device-api" - javadoc { - options.encoding = 'utf-8' - } - task javadocJar(type: Jar, dependsOn: javadoc) { classifier = 'javadoc' from 'build/docs/javadoc' diff --git a/device-api/src/main/java/com/github/cosysoft/device/android/xiaomi/MIDeviceUtility.java b/device-api/src/main/java/com/github/cosysoft/device/android/xiaomi/MIDeviceUtility.java index 04dcfc8..446d02f 100644 --- a/device-api/src/main/java/com/github/cosysoft/device/android/xiaomi/MIDeviceUtility.java +++ b/device-api/src/main/java/com/github/cosysoft/device/android/xiaomi/MIDeviceUtility.java @@ -158,7 +158,7 @@ public Void call() throws Exception { while ((System.currentTimeMillis() - start) < milliseconds) { Thread.sleep(500); if (miDevice.isConfirm() && count++ > 1) { - logger.debug("确定安装"); + logger.debug("Confirm"); miDevice.crossConfirmView(); break; } else { @@ -167,9 +167,9 @@ public Void call() throws Exception { } } catch (Exception e) { - // logger.info("InstallHelperTask 超时后任务暂停", e); + // logger.info("InstallHelperTask Timeout", e); } finally { - logger.debug("fishined"); + logger.debug("finished"); finished = true; } return null; diff --git a/device-api/src/main/java/com/github/cosysoft/device/exception/DeviceUnlockException.java b/device-api/src/main/java/com/github/cosysoft/device/exception/DeviceUnlockException.java index 6495dfd..e5b0909 100644 --- a/device-api/src/main/java/com/github/cosysoft/device/exception/DeviceUnlockException.java +++ b/device-api/src/main/java/com/github/cosysoft/device/exception/DeviceUnlockException.java @@ -10,7 +10,6 @@ public class DeviceUnlockException extends NestedException { public DeviceUnlockException(String msg) { super(msg); - // TODO Auto-generated constructor stub } /** diff --git a/device-api/src/test/java/com/github/cosysoft/device/android/test/XiaomiInstallerTest.java b/device-api/src/test/java/com/github/cosysoft/device/android/test/XiaomiInstallerTest.java index 31620e1..c280360 100644 --- a/device-api/src/test/java/com/github/cosysoft/device/android/test/XiaomiInstallerTest.java +++ b/device-api/src/test/java/com/github/cosysoft/device/android/test/XiaomiInstallerTest.java @@ -30,7 +30,6 @@ public void testXiaomiInstall() { for (AndroidDevice device : getDevices()) { MIDeviceUtility.testInstall(device); MIDeviceUtility.install(device, app); - // s // device.install(app); } }