Skip to content
Snippets Groups Projects
Commit 6d136fcb authored by Lennart Goedhart's avatar Lennart Goedhart
Browse files

Upgrade to latest SDKs

parent 74cb1db0
Branches
Tags
No related merge requests found
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="info.nightscout.android"> package="info.nightscout.android">
<uses-sdk android:maxSdkVersion="23" /> <uses-sdk android:minSdkVersion="14" android:maxSdkVersion="23"
tools:overrideLibrary="com.github.mikephil.charting.data.realm"/>
<uses-feature android:name="android.hardware.usb.host" /> <uses-feature android:name="android.hardware.usb.host" />
...@@ -70,6 +72,8 @@ ...@@ -70,6 +72,8 @@
android:icon="@drawable/ic_launcher" /> android:icon="@drawable/ic_launcher" />
<activity android:name=".medtronic.StatusActivity"></activity> <activity android:name=".medtronic.StatusActivity"></activity>
<receiver android:name=".medtronic.service.MedtronicCnlAlarmReceiver"></receiver>
</application> </application>
</manifest> </manifest>
\ No newline at end of file
...@@ -32,7 +32,7 @@ public class UploaderApplication extends Application { ...@@ -32,7 +32,7 @@ public class UploaderApplication extends Application {
Fabric.with(this, new Crashlytics()); Fabric.with(this, new Crashlytics());
} }
if (prefs.getBoolean(getString(R.string.preferences_enable_answers), true)) { if (prefs.getBoolean(getString(R.string.preferences_enable_answers), true)) {
Fabric.with(this, new Answers()); Fabric.with(this, new Answers(), new Crashlytics());
} }
if (prefs.getBoolean(getString(R.string.preferences_enable_remote_logcat), false)) { if (prefs.getBoolean(getString(R.string.preferences_enable_remote_logcat), false)) {
...@@ -41,7 +41,8 @@ public class UploaderApplication extends Application { ...@@ -41,7 +41,8 @@ public class UploaderApplication extends Application {
Bugfender.setDeviceString("NightscoutURL", prefs.getString(getString(R.string.preference_nightscout_url), "Not set")); Bugfender.setDeviceString("NightscoutURL", prefs.getString(getString(R.string.preference_nightscout_url), "Not set"));
} }
RealmConfiguration realmConfiguration = new RealmConfiguration.Builder(this).build(); RealmConfiguration realmConfiguration = new RealmConfiguration.Builder(this)
.build();
Realm.setDefaultConfiguration(realmConfiguration); Realm.setDefaultConfiguration(realmConfiguration);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment