Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
Merge branch 'release/v2.4.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef committed May 21, 2018
2 parents 1def64d + cde0c35 commit a021754
Show file tree
Hide file tree
Showing 14 changed files with 178 additions and 81 deletions.
21 changes: 12 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ android {
minSdkVersion 21
targetSdkVersion 27

versionCode 20
versionName "2.4.3"
versionCode 21
versionName "2.4.4"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
javaCompileOptions {
Expand Down Expand Up @@ -134,15 +134,16 @@ android {
project.ext {
appcompat_version = '27.1.1'
aac_version = '1.0.0'
room_version = '1.0.0'
ioio_version = '5.07'
gms_maps_version = '15.0.1'
gms_location_version = '15.0.1'
firebase_core_version = '15.0.2'
firebase_crash_version = '15.0.2'
firebase_perf_version = '15.1.0'
firebase_perf_version = '15.2.0'
firebase_crashlytics_version = '2.9.1'
retrofit_version = '2.4.0'
anko_version = '0.10.4'
anko_version = '0.10.5'
kodein_version = '4.1.0'
leak_version = '1.5.4'
runner_version = '1.0.1'
Expand Down Expand Up @@ -223,11 +224,11 @@ dependencies {
implementation "io.reactivex.rxjava2:rxkotlin:$rxkotlin_version"

// Room
kapt "android.arch.persistence.room:compiler:$aac_version"
implementation "android.arch.persistence.room:runtime:$aac_version"
implementation "android.arch.lifecycle:common-java8:$aac_version"
implementation "android.arch.persistence.room:rxjava2:$aac_version"
testImplementation "android.arch.persistence.room:testing:$aac_version"
kapt "android.arch.persistence.room:compiler:$room_version"
implementation "android.arch.persistence.room:runtime:$room_version"
implementation "android.arch.lifecycle:common-java8:$room_version"
implementation "android.arch.persistence.room:rxjava2:$room_version"
testImplementation "android.arch.persistence.room:testing:$room_version"

// LiveData
implementation "android.arch.lifecycle:extensions:$aac_lifecycle_version"
Expand All @@ -236,6 +237,8 @@ dependencies {
// Anko
implementation "org.jetbrains.anko:anko-commons:$anko_version"
implementation "org.jetbrains.anko:anko-design:$anko_version"
implementation "org.jetbrains.anko:anko-appcompat-v7:$anko_version"
implementation "org.jetbrains.anko:anko-sdk25:$anko_version"

// OpenCSV
implementation "com.opencsv:opencsv:$opencsv_version"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

<meta-data
android:name="io.fabric.ApiKey"
android:value="${fabric_api_key}"/>
android:value="${fabric_api_key}"/>

<meta-data
android:name="com.google.android.maps.v2.API_KEY"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ class MainActivity : RootActivity(), NavigationView.OnNavigationItemSelectedList
} else {
val backStackEntryCount = supportFragmentManager.backStackEntryCount
if (backStackEntryCount == 1) {
val intent = Intent(this, SplashScreen::class.java)
startActivity(intent)
finish()
} else {
if (backStackEntryCount > 1) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ class SettingsActivity : AppCompatPreferenceActivity() {
// to their values. When their values change, their summaries are
// updated to reflect the new value, per the Android Design
// guidelines.
bindPreferenceSummaryToValue(findPreference("device_name"), STRING)
bindPreferenceSummaryToValue(findPreference("sensor_name"), STRING)
bindPreferenceSummaryToValue(findPreference("sensor_mac_address"), STRING)
bindPreferenceSummaryToValue(findPreference("device_uuid"), STRING)
// bindPreferenceSummaryToValue(findPreference("example_list"))
}
Expand Down
Loading

0 comments on commit a021754

Please sign in to comment.