mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
Make clean after analyze
This commit is contained in:
parent
253e2ea18d
commit
76639d0d82
5 changed files with 2 additions and 9 deletions
|
@ -3,7 +3,6 @@ package net.foucry.pilldroid;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.pm.PackageManager;
|
import android.content.pm.PackageManager;
|
||||||
import android.graphics.Color;
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.view.KeyEvent;
|
import android.view.KeyEvent;
|
||||||
|
@ -18,8 +17,6 @@ import com.journeyapps.barcodescanner.CaptureManager;
|
||||||
import com.journeyapps.barcodescanner.DecoratedBarcodeView;
|
import com.journeyapps.barcodescanner.DecoratedBarcodeView;
|
||||||
import com.journeyapps.barcodescanner.ViewfinderView;
|
import com.journeyapps.barcodescanner.ViewfinderView;
|
||||||
|
|
||||||
import java.util.Random;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom Scanner Activity extending from Activity to display a custom layout form scanner view.
|
* Custom Scanner Activity extending from Activity to display a custom layout form scanner view.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -170,7 +170,6 @@ public class WelcomeActivity extends AppCompatActivity {
|
||||||
window.setStatusBarColor(Color.TRANSPARENT);
|
window.setStatusBarColor(Color.TRANSPARENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("deprecation")
|
|
||||||
private void setFullScreen(){
|
private void setFullScreen(){
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||||
getWindow().setDecorFitsSystemWindows(false);
|
getWindow().setDecorFitsSystemWindows(false);
|
||||||
|
|
|
@ -12,9 +12,6 @@ import androidx.room.migration.AutoMigrationSpec;
|
||||||
import net.foucry.pilldroid.dao.PrescriptionsDAO;
|
import net.foucry.pilldroid.dao.PrescriptionsDAO;
|
||||||
import net.foucry.pilldroid.models.Prescription;
|
import net.foucry.pilldroid.models.Prescription;
|
||||||
|
|
||||||
import java.util.concurrent.ExecutorService;
|
|
||||||
import java.util.concurrent.Executors;
|
|
||||||
|
|
||||||
@Database(
|
@Database(
|
||||||
version = 2,
|
version = 2,
|
||||||
entities = {Prescription.class},
|
entities = {Prescription.class},
|
||||||
|
|
|
@ -7,7 +7,7 @@ import androidx.room.PrimaryKey;
|
||||||
@Entity(tableName = "drugs")
|
@Entity(tableName = "drugs")
|
||||||
public class Medicine {
|
public class Medicine {
|
||||||
@PrimaryKey
|
@PrimaryKey
|
||||||
@NonNull private Integer _id;
|
private Integer _id;
|
||||||
private String cis;
|
private String cis;
|
||||||
private String cip13;
|
private String cip13;
|
||||||
private String cip7;
|
private String cip7;
|
||||||
|
|
|
@ -13,7 +13,7 @@ import java.util.Date;
|
||||||
@Entity(tableName = "prescriptions")
|
@Entity(tableName = "prescriptions")
|
||||||
public class Prescription implements Serializable {
|
public class Prescription implements Serializable {
|
||||||
@PrimaryKey
|
@PrimaryKey
|
||||||
@NonNull private String cis;
|
private String cis;
|
||||||
private String cip13;
|
private String cip13;
|
||||||
private String name;
|
private String name;
|
||||||
private String administration_mode;
|
private String administration_mode;
|
||||||
|
|
Loading…
Reference in a new issue