Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup #3732

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Cleanup #3732

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void closeActivity(View myview) {

public void saveLogs(View myview) {
if (saveLogsToStorage(log_data)) {
UserError.Log.e(TAG, "Saved log file to /Downloads/xDrip-export/xDrip-log.txt");
UserError.Log.e(TAG, "Saved log file to /Download/xDrip-export/xDrip-log.txt");
} else {
UserError.Log.e(TAG, "Could not write log file");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public QrCodeFromFile setDesiredBarcodeFormats(Collection<String> desiredBarcode
}

public final void initiateFileScan() {
UserError.Log.e(TAG, "Navid_ initiate scan");

// TODO Replace startActivityForResult with Androidx Activity Result APIs
this.activity.startActivityForResult(this.createFileScanIntent(), Constants.ZXING_FILE_REQ_CODE);
Expand All @@ -53,12 +52,10 @@ private static List<String> list(String... values) {
}

public void scanFile() { // Copied (and slightly modified) from AndroidBarcode.scan()
UserError.Log.e(TAG, "Navid_ scanFile ");
actuallyStartScanFile();
}

private void actuallyStartScanFile() {
UserError.Log.e(TAG, "Navid_ actuallyScan ");
new QrCodeFromFile(activity)
.setDesiredBarcodeFormats(list("QR_CODE", "CODE_128"))
.initiateFileScan();
Expand Down
Loading