|
@@ -1899,6 +1899,30 @@ public class MainActivity extends WpadActivity {
|
|
|
LogUtil.errorLogInfo("", TAG, e);
|
|
|
}
|
|
|
bScreenCheck = true;
|
|
|
+
|
|
|
+
|
|
|
+ WallpadDeviceSet mWallpadDeviceSet = new WallpadDeviceSet(getApplicationContext());
|
|
|
+ cv_bStrangerVideoRecordUsage = mWallpadDeviceSet.Get_Stranger_RecordUse();
|
|
|
+ mWallpadDeviceSet.closeDB();
|
|
|
+
|
|
|
+ WallpadStatusData DBMGR = new WallpadStatusData(this);
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
DebugLogOutput("@@@@@@@@ [onResume] @@@@@@@@");
|
|
|
}
|
|
|
|