2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ android {
7
7
applicationId " info.dvkr.screenstream"
8
8
minSdkVersion 21
9
9
targetSdkVersion 25
10
- versionCode 17
11
- versionName " 1.2.1 "
10
+ versionCode 18
11
+ versionName " 1.2.2 "
12
12
resConfigs " en" , " ru"
13
13
}
14
14
@@ -37,7 +37,7 @@ android {
37
37
dependencies {
38
38
compile fileTree(include : [' *.jar' ], dir : ' libs' )
39
39
compile ' com.android.support:design:25.0.0'
40
- compile ' com.google.firebase:firebase-crash:9.6.1 '
40
+ compile ' com.google.firebase:firebase-crash:9.8.0 '
41
41
compile ' org.greenrobot:eventbus:3.0.0'
42
42
}
43
43
Original file line number Diff line number Diff line change @@ -172,6 +172,10 @@ public void onReceive(Context context, Intent intent) {
172
172
getMainActivityViewModel ().setServerAddress (getAppData ().getServerAddress ());
173
173
getMainActivityViewModel ().setWiFiConnected (isWiFiConnected );
174
174
175
+ if (getMainActivityViewModel ().isWiFiConnected ()) {
176
+ EventBus .getDefault ().post (new BusMessages (BusMessages .MESSAGE_ACTION_HTTP_RESTART ));
177
+ }
178
+
175
179
if ((!getMainActivityViewModel ().isWiFiConnected ()) && getAppData ().isStreamRunning ())
176
180
serviceStopStreaming ();
177
181
}
0 commit comments