Skip to content
Snippets Groups Projects
Commit 4f7ebb9e authored by Adrien Béraud's avatar Adrien Béraud
Browse files

build: update version to 185

Change-Id: I3e3dee545982f464a69e0fe838f0904b301fdd11
parent 87c6ce77
No related branches found
No related tags found
No related merge requests found
...@@ -8,8 +8,8 @@ android { ...@@ -8,8 +8,8 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 29 targetSdkVersion 29
versionCode 184 versionCode 185
versionName "20190810-01" versionName "20190811-01"
} }
sourceSets { sourceSets {
......
...@@ -52,7 +52,7 @@ public class AboutBottomSheetDialogFragment extends BottomSheetDialogFragment { ...@@ -52,7 +52,7 @@ public class AboutBottomSheetDialogFragment extends BottomSheetDialogFragment {
CoordinatorLayout.LayoutParams params = (CoordinatorLayout.LayoutParams) ((View) contentView.getParent()).getLayoutParams(); CoordinatorLayout.LayoutParams params = (CoordinatorLayout.LayoutParams) ((View) contentView.getParent()).getLayoutParams();
CoordinatorLayout.Behavior behavior = params.getBehavior(); CoordinatorLayout.Behavior behavior = params.getBehavior();
if (behavior != null && behavior instanceof BottomSheetBehavior) { if (behavior instanceof BottomSheetBehavior) {
((BottomSheetBehavior) behavior).setBottomSheetCallback(mCallback); ((BottomSheetBehavior) behavior).setBottomSheetCallback(mCallback);
} }
} }
......
...@@ -312,9 +312,9 @@ public class HomeActivity extends AppCompatActivity implements RingNavigationFra ...@@ -312,9 +312,9 @@ public class HomeActivity extends AppCompatActivity implements RingNavigationFra
@Override @Override
protected void onStart() { protected void onStart() {
File path = AndroidFileUtils.ringtonesPath(this); File path = AndroidFileUtils.ringtonesPath(this);
if (!(new File(path, "default.opus")).exists()) { //if (!(new File(path, "default.opus")).exists()) {
AndroidFileUtils.copyAssetFolder(getAssets(), "ringtones", path); AndroidFileUtils.copyAssetFolder(getAssets(), "ringtones", path);
} //}
super.onStart(); super.onStart();
} }
......
...@@ -47,7 +47,6 @@ public class RingJobService extends JobService ...@@ -47,7 +47,6 @@ public class RingJobService extends JobService
try { try {
RingApplication.getInstance().startDaemon(); RingApplication.getInstance().startDaemon();
new Thread(() -> { new Thread(() -> {
RingApplication.getInstance().getHardwareService().connectivityChanged();
synchronized (this) { synchronized (this) {
try { try {
wait(JOB_DURATION); wait(JOB_DURATION);
......
...@@ -62,9 +62,9 @@ public class HomeActivity extends FragmentActivity { ...@@ -62,9 +62,9 @@ public class HomeActivity extends FragmentActivity {
@Override @Override
protected void onStart() { protected void onStart() {
File path = AndroidFileUtils.ringtonesPath(this); File path = AndroidFileUtils.ringtonesPath(this);
if (!(new File(path, "default.opus")).exists()) { //if (!(new File(path, "default.opus")).exists()) {
AndroidFileUtils.copyAssetFolder(getAssets(), "ringtones", path); AndroidFileUtils.copyAssetFolder(getAssets(), "ringtones", path);
} //}
super.onStart(); super.onStart();
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment