From 8bd04f0483afaf8c07fff2f7bed91267169c5251 Mon Sep 17 00:00:00 2001 From: Dmitriy Krivoruchko Date: Mon, 5 Sep 2016 11:10:25 +0300 Subject: [PATCH] Prepare for release --- app/build.gradle | 1 - .../java/info/dvkr/screenstream/ScreenStreamApplication.java | 1 - .../info/dvkr/screenstream/data/local/PreferencesHelper.java | 2 +- .../java/info/dvkr/screenstream/service/ForegroundService.java | 2 +- .../info/dvkr/screenstream/viewModel/MainActivityViewModel.java | 2 +- 5 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index bb093338..96cdbe03 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,7 +10,6 @@ android { targetSdkVersion 24 versionCode 11 versionName "1.1.4" - resConfigs "en", "ru" } diff --git a/app/src/main/java/info/dvkr/screenstream/ScreenStreamApplication.java b/app/src/main/java/info/dvkr/screenstream/ScreenStreamApplication.java index 83b0c833..e5892fc1 100644 --- a/app/src/main/java/info/dvkr/screenstream/ScreenStreamApplication.java +++ b/app/src/main/java/info/dvkr/screenstream/ScreenStreamApplication.java @@ -5,7 +5,6 @@ import android.graphics.Point; import android.net.wifi.WifiManager; import android.util.DisplayMetrics; -import android.util.Log; import android.view.WindowManager; import com.google.firebase.crash.FirebaseCrash; diff --git a/app/src/main/java/info/dvkr/screenstream/data/local/PreferencesHelper.java b/app/src/main/java/info/dvkr/screenstream/data/local/PreferencesHelper.java index 570b4ebe..fbd7a739 100644 --- a/app/src/main/java/info/dvkr/screenstream/data/local/PreferencesHelper.java +++ b/app/src/main/java/info/dvkr/screenstream/data/local/PreferencesHelper.java @@ -15,7 +15,7 @@ public final class PreferencesHelper { private static final String DEFAULT_JPEG_QUALITY = "80"; private static final String DEFAULT_CLIENT_TIMEOUT = "3000"; - private Context mContext; + private final Context mContext; private final SharedPreferences mSharedPreferences; private boolean mMinimizeOnStream; private boolean mStopOnSleep; diff --git a/app/src/main/java/info/dvkr/screenstream/service/ForegroundService.java b/app/src/main/java/info/dvkr/screenstream/service/ForegroundService.java index d86101d2..eebfb947 100644 --- a/app/src/main/java/info/dvkr/screenstream/service/ForegroundService.java +++ b/app/src/main/java/info/dvkr/screenstream/service/ForegroundService.java @@ -64,7 +64,7 @@ public final class ForegroundService extends Service { private ForegroundServiceHandler mForegroundServiceTaskHandler; private BroadcastReceiver mLocalNotificationReceiver; private BroadcastReceiver mBroadcastReceiver; - private ConcurrentLinkedQueue mServiceMessages = new ConcurrentLinkedQueue<>(); + private final ConcurrentLinkedQueue mServiceMessages = new ConcurrentLinkedQueue<>(); @Override public void onCreate() { diff --git a/app/src/main/java/info/dvkr/screenstream/viewModel/MainActivityViewModel.java b/app/src/main/java/info/dvkr/screenstream/viewModel/MainActivityViewModel.java index 4186dd66..e8b216d9 100644 --- a/app/src/main/java/info/dvkr/screenstream/viewModel/MainActivityViewModel.java +++ b/app/src/main/java/info/dvkr/screenstream/viewModel/MainActivityViewModel.java @@ -10,7 +10,7 @@ import info.dvkr.screenstream.R; public final class MainActivityViewModel extends BaseObservable { - private Context mContext; + private final Context mContext; private String mServerAddress; private boolean mPinEnabled;