Skip to content

Commit

Permalink
- BUG: Fixed a bug related to data export. The app would crash when t…
Browse files Browse the repository at this point in the history
…rying to save to the device.
  • Loading branch information
sebastian-raubach committed Apr 17, 2018
1 parent fdbd52d commit 78fe8de
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
applicationId "uk.ac.hutton.android.germinatescan"
minSdkVersion 16
targetSdkVersion 27
versionCode 29
versionCode 30
versionName "1.18.04.16"
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
Expand Down
2 changes: 1 addition & 1 deletion app/release/output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":29},"path":"app-release.apk","properties":{"packageId":"uk.ac.hutton.android.germinatescan","split":"","minSdkVersion":"16"}}]
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":30},"path":"app-release.apk","properties":{"packageId":"uk.ac.hutton.android.germinatescan","split":"","minSdkVersion":"16"}}]
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public RowDatabaseWriter(GerminateScanActivity context, String delimiter)
@Override
public File write()
{
long datasetId = new PreferenceUtils(context).getInt(PreferenceUtils.PREFS_SELECTED_DATASET_ID, -1);
long datasetId = new PreferenceUtils(context).getLong(PreferenceUtils.PREFS_SELECTED_DATASET_ID, -1);
BarcodeManager barcodeManager = new BarcodeManager(context, datasetId);

List<Barcode> items = barcodeManager.getAll();
Expand Down

0 comments on commit 78fe8de

Please sign in to comment.