You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/src/main/java/com/tencent/iot/explorer/link/kitlink/activity/rtcui/videocall/TRTCVideoCallActivity.java
if ((!checkPermissions(Manifest.permission.WRITE_EXTERNAL_STORAGE) ||!checkPermissions(Manifest.permission.READ_EXTERNAL_STORAGE)) &&!requestStoragePermission) {
685
-
// 查看请求storage权限的时间是否大于48小时
686
-
var storageJsonString =Utils.getStringValueFromXml(T.getContext(), CommonField.PERMISSION_STORAGE, CommonField.PERMISSION_STORAGE)
687
-
var storageJson:JSONObject?=JSONObject.parse(storageJsonString) asJSONObject?
688
-
val lasttime = storageJson?.getLong(CommonField.PERMISSION_STORAGE)
689
-
if (lasttime !=null&& lasttime >0&&System.currentTimeMillis() /1000- lasttime <48*60*60) {
<stringname="permission_album_avatar">In order to facilitate you to choose a local picture to change your profile picture, Tencent LLink needs to obtain the following permissions:</string>
<stringname="permission_storage">In order to use the real-time voice/video call function of the device and record the operation log, Tencent LLink needs to obtain the following permissions:</string>
<stringname="permission_location_ssid">In order to facilitate the automatic acquisition of the WiFi name of the current mobile phone connection when configuring the network for the device, and send the WiFi information to the device to complete the network configuration, Tencent LLink needs to obtain the following permissions:</string>
726
724
<stringname="permission_location_ssid_map">In order to provide you with precise positioning service, it is convenient to set the home location to obtain weather service, Tencent LLink needs to obtain the following permissions:</string>
727
725
<stringname="permission_location_ssid_ble">In order to provide you with precise positioning service, it is convenient to search and control Bluetooth devices, Tencent LLink needs to obtain the following permissions:</string>
0 commit comments