diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index ce67532..fc0dbc8 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,10 +4,9 @@
-
+
-
@@ -58,7 +57,8 @@
-
+
+
1606568426368
@@ -81,7 +81,14 @@
1606578468049
-
+
+ 1606579665936
+
+
+
+ 1606579665936
+
+
@@ -91,13 +98,14 @@
-
+
+
-
+
-
+
@@ -110,10 +118,10 @@
-
+
-
+
diff --git a/ADBService.php b/ADBService.php
index 768c209..58880d3 100644
--- a/ADBService.php
+++ b/ADBService.php
@@ -5,13 +5,13 @@ include_once 'AppNames.php';
class ADBService
{
- const DEFAULT_HOST = '192.168.1.132';
+ const DEFAULT_HOST = '192.168.0.132';
private $host;
public function __construct($host)
{
$this->host = $host;
- $this->connect();
+ return $this->connect();
}
public function connect()
@@ -38,4 +38,5 @@ class ADBService
{
return $this->executeCommand(' shell am start ' . APP_NAMES[$appName]);
}
-}
\ No newline at end of file
+}
+
diff --git a/index.php b/index.php
index 8468c7a..0064e46 100644
--- a/index.php
+++ b/index.php
@@ -139,4 +139,4 @@ $service = new ADBService(ADBService::DEFAULT_HOST);
);