|
@@ -10316,6 +10316,7 @@ public class MainActivity extends WpadActivity {
|
|
|
if (cv_bStrangerVideoRecordUsage) {
|
|
|
if (cv_bStrangerUserVideoRecordUsage) {
|
|
|
|
|
|
+
|
|
|
if(!Common.bWallPadCallingLive)
|
|
|
{
|
|
|
if (mSmartKeyRfDoorAPI != null) mSmartKeyRfDoorAPI.SetLEDmode(Common.SmartRFCamLEDMode.LED_AUTO_ON);
|
|
@@ -10384,6 +10385,8 @@ public class MainActivity extends WpadActivity {
|
|
|
}
|
|
|
else if(intent.getAction().equals(Common.BR_RECORD_NOT_USE))
|
|
|
{
|
|
|
+
|
|
|
+ Log.d(TAG, "RecordDelay isCalling");
|
|
|
RecordNotUse(false);
|
|
|
}
|
|
|
else if(intent.getAction().equals(Common.BR_RECORD_DELAY_INIT))
|
|
@@ -10392,6 +10395,30 @@ public class MainActivity extends WpadActivity {
|
|
|
|
|
|
|
|
|
Log.d(TAG, "Recrod Delay Init Config, RecordDelay Status :" + Common.bRecordDelay);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ WallpadDeviceSet mWallpadDeviceSet = new WallpadDeviceSet(getApplicationContext());
|
|
|
+ cv_bStrangerVideoRecordUsage = mWallpadDeviceSet.Get_Stranger_RecordUse();
|
|
|
+ mWallpadDeviceSet.closeDB();
|
|
|
+
|
|
|
+ WallpadStatusData DBMGR = new WallpadStatusData(getApplicationContext());
|
|
|
+ try {
|
|
|
+ cv_bStrangerUserVideoRecordUsage = DBMGR.GetStrangerRecordingOnOff();
|
|
|
+ DBMGR.closeDB();
|
|
|
+ Log.d(TAG, "[getStrangerRecordingUserSetting] bResult [" + cv_bStrangerUserVideoRecordUsage + "]");
|
|
|
+ } catch (RuntimeException re) {
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
+ DBMGR.closeDB();
|
|
|
+ cv_bStrangerUserVideoRecordUsage = false;
|
|
|
+ } catch (Exception e) {
|
|
|
+ DBMGR.closeDB();
|
|
|
+ Log.e(TAG, "[Exception] getStrangerRecordingUserSetting()");
|
|
|
+
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
|
+ cv_bStrangerUserVideoRecordUsage = false;
|
|
|
+ }
|
|
|
+
|
|
|
if(!Common.bRecordDelay)
|
|
|
RecordNotUse(true);
|
|
|
|