diff --git a/app/src/main/java/test/example/com/devicescheduling/SetSchedule.java b/app/src/main/java/test/example/com/devicescheduling/SetSchedule.java index 76841c1..f9db2e4 100644 --- a/app/src/main/java/test/example/com/devicescheduling/SetSchedule.java +++ b/app/src/main/java/test/example/com/devicescheduling/SetSchedule.java @@ -120,6 +120,7 @@ private void saveInfoToDatabase() { dbModel.setPhone(smsManager.getReceiverPhoneNumber()); dbModel.setImage(smsManager.getImage()); dbModel.setSound(smsManager.getSound()); + dbModel.setPhoneStatus(smsManager.getPhoneStatus()); dbModel.setTimestamp(smsManager.getTimestamp()); DatabaseHelper databaseHelper = new DatabaseHelper(this); databaseHelper.insertMyAlarm(dbModel);