mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-21 20:19:23 +01:00
Remove some warning
This commit is contained in:
parent
184e4abb57
commit
46811d4d71
2 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue