Remove some warning

This commit is contained in:
jacques 2022-03-01 20:33:34 +01:00
parent 184e4abb57
commit 46811d4d71
2 changed files with 2 additions and 4 deletions

View file

@ -118,9 +118,7 @@ public class DrugListActivity extends AppCompatActivity {
setContentView(R.layout.activity_drug_list);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
dbHelper = new DBHelper(this);
}
dbHelper = new DBHelper(this);
dbDrug = new DBDrugs(this);
Toolbar toolbar = findViewById(R.id.toolbar);

View file

@ -25,7 +25,7 @@ public class PilldroidScanContract extends ActivityResultContract<ScanOptions, S
intent.setAction(Intents.Scan.ACTION);
intent.putExtra(Intents.Scan.BEEP_ENABLED, true);
intent.putExtra(Intents.Scan.SCAN_TYPE, 2);
Log.d(TAG, "intent ==" + intent.toString());
Log.d(TAG, "intent ==" + intent);
return(intent);
}