权限用户说明
This commit is contained in:
commit
b86595901b
|
|
@ -705,7 +705,7 @@ public class MineActivity extends BaseActivity {
|
||||||
AlertDialog.Builder dialog = new AlertDialog.Builder(this, AlertDialog.THEME_HOLO_LIGHT);
|
AlertDialog.Builder dialog = new AlertDialog.Builder(this, AlertDialog.THEME_HOLO_LIGHT);
|
||||||
dialog.setCancelable(false);
|
dialog.setCancelable(false);
|
||||||
dialog.setTitle("提示");
|
dialog.setTitle("提示");
|
||||||
dialog.setMessage("设置头像,需要申请相机和相册权限,是否允许申请?");
|
dialog.setMessage("设置头像,需要从手机相册中选择图片或使用手机相机拍照进行上传设置,访问相册和相机拍照app需要申请相机和相册存储权限,是否允许申请?");
|
||||||
dialog.setNegativeButton("拒绝", (arg0, arg1) -> {
|
dialog.setNegativeButton("拒绝", (arg0, arg1) -> {
|
||||||
arg0.dismiss();
|
arg0.dismiss();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1972,7 +1972,7 @@ public class DeviceFragment extends BaseV4Fragment implements ObservableScrollVi
|
||||||
AlertDialog.Builder dialog = new AlertDialog.Builder(requireContext(), AlertDialog.THEME_HOLO_LIGHT);
|
AlertDialog.Builder dialog = new AlertDialog.Builder(requireContext(), AlertDialog.THEME_HOLO_LIGHT);
|
||||||
dialog.setCancelable(false);
|
dialog.setCancelable(false);
|
||||||
dialog.setTitle("提示");
|
dialog.setTitle("提示");
|
||||||
dialog.setMessage("添加设备,需要获取位置信息,才能获取附近wifi信息,进行配网连接您的设备,是否允许申请?");
|
dialog.setMessage("添加设备,需要先获取位置信息,才能获取附近wifi信息,进行配网连接您的设备,是否允许申请位置权限?");
|
||||||
dialog.setNegativeButton("拒绝", (arg0, arg1) -> {
|
dialog.setNegativeButton("拒绝", (arg0, arg1) -> {
|
||||||
arg0.dismiss();
|
arg0.dismiss();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -279,7 +279,7 @@ public class ShopsCheckUserPhotoFragment extends BaseFragment {
|
||||||
AlertDialog.Builder dialog = new AlertDialog.Builder(getActivity(), AlertDialog.THEME_HOLO_LIGHT);
|
AlertDialog.Builder dialog = new AlertDialog.Builder(getActivity(), AlertDialog.THEME_HOLO_LIGHT);
|
||||||
dialog.setCancelable(false);
|
dialog.setCancelable(false);
|
||||||
dialog.setTitle("提示");
|
dialog.setTitle("提示");
|
||||||
dialog.setMessage("设置头像,需要申请相机和相册权限,是否允许申请?");
|
dialog.setMessage("设置头像,需要从手机相册中选择图片或使用手机相机拍照进行上传设置,访问相册和相机拍照app需要申请相机和相册存储权限,是否允许申请?");
|
||||||
dialog.setNegativeButton("拒绝", (arg0, arg1) -> {
|
dialog.setNegativeButton("拒绝", (arg0, arg1) -> {
|
||||||
arg0.dismiss();
|
arg0.dismiss();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue