Commit 3fb023bfa3e6ccf099a7a5a5452f0cb8306c9691

Authored by 朱显松
1 parent 825a0b12

文案调整

config.gradle
... ... @@ -21,7 +21,7 @@ ext {
21 21 //编译方式
22 22 debug : false,
23 23 //版本号
24   - version: "0.4.0-androidx",
  24 + version: "0.4.1-androidx",
25 25 //Lib库前缀
26 26 packeg : "com.cnlive.module",
27 27 //Lib库名称
... ...
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/presenter/ChangeDeviceNamePresenter.java
... ... @@ -34,7 +34,7 @@ public class ChangeDeviceNamePresenter extends MvpBasePresenter<ChangeDeviceName
34 34 if (null == getView()) {
35 35 return;
36 36 }
37   - QMUITipDialogUtil.loadingDialog(context, "请稍...", false);
  37 + QMUITipDialogUtil.loadingDialog(context, "请稍...", false);
38 38 Map<String, String> map = new HashMap<>();
39 39 map.put("devId", deviceId);
40 40 map.put("newName", newName);
... ...
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/presenter/ChangeWifiFragmentPresenter.java
... ... @@ -33,7 +33,7 @@ public class ChangeWifiFragmentPresenter extends MvpBasePresenter&lt;ChangeWifiFrag
33 33 if (null == getView()) {
34 34 return;
35 35 }
36   - QMUITipDialogUtil.loadingDialog(context, "请稍...", false);
  36 + QMUITipDialogUtil.loadingDialog(context, "请稍...", false);
37 37 Map<String, String> map = new HashMap<>();
38 38 map.put("devId", devId);
39 39 map.put("name", wifiName);
... ...
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/presenter/DeviceManagerFragmentPresenter.java
... ... @@ -30,7 +30,7 @@ public class DeviceManagerFragmentPresenter extends MvpBasePresenter&lt;DeviceManag
30 30 if (null == getView()) {
31 31 return;
32 32 }
33   - QMUITipDialogUtil.loadingDialog(context, "请稍", false);
  33 + QMUITipDialogUtil.loadingDialog(context, "请稍", false);
34 34 Map<String, String> map = new HashMap<>();
35 35 map.put("devId", deviceId);
36 36 map.put("oldName", oldName);
... ...
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/presenter/SelectWifiFragmentPresenter.java
... ... @@ -97,11 +97,11 @@ public class SelectWifiFragmentPresenter extends MvpBasePresenter&lt;SelectWifiFrag
97 97 // context.finish();
98 98 // ConnBluetoothSuccessActivity.startActivity(context);
99 99 // } else {
100   -// AlertUtil.showDeftToast(context, "配网失败,请稍重试");
  100 +// AlertUtil.showDeftToast(context, "配网失败,请稍重试");
101 101 // }
102 102 // } else {
103 103 // //响应失败
104   -// AlertUtil.showDeftToast(context, "配网失败,请稍重试");
  104 +// AlertUtil.showDeftToast(context, "配网失败,请稍重试");
105 105 // }
106 106 // }
107 107 //
... ...
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/presenter/SetFriendsRolePresenter.java
... ... @@ -64,11 +64,11 @@ public class SetFriendsRolePresenter extends MvpBasePresenter&lt;SetFriendsRoleView
64 64 //// context.finish();
65 65 //// ConnBluetoothSuccessActivity.startActivity(context);
66 66 //// } else {
67   -//// AlertUtil.showDeftToast(context, "配网失败,请稍重试");
  67 +//// AlertUtil.showDeftToast(context, "配网失败,请稍重试");
68 68 //// }
69 69 //// } else {
70 70 //// //响应失败
71   -//// AlertUtil.showDeftToast(context, "配网失败,请稍重试");
  71 +//// AlertUtil.showDeftToast(context, "配网失败,请稍重试");
72 72 //// }
73 73 // }
74 74 //
... ... @@ -92,7 +92,7 @@ public class SetFriendsRolePresenter extends MvpBasePresenter&lt;SetFriendsRoleView
92 92 if (null == getView()) {
93 93 return;
94 94 }
95   - QMUITipDialogUtil.loadingDialog(context, "请稍", true);
  95 + QMUITipDialogUtil.loadingDialog(context, "请稍", true);
96 96 Map<String, String> map = new HashMap<>();
97 97 map.put("type", "2");//联系人邀请
98 98 map.put("contactsInvite", contactsInvite);
... ...
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/presenter/UserManagerPresenter.java
... ... @@ -40,7 +40,7 @@ public class UserManagerPresenter extends MvpBasePresenter&lt;UserManagerView&gt; {
40 40 if (null == getView()) {
41 41 return;
42 42 }
43   - QMUITipDialogUtil.loadingDialog(context, "请稍...", false);
  43 + QMUITipDialogUtil.loadingDialog(context, "请稍...", false);
44 44 Map<String, String> map = new HashMap<>();
45 45 map.put("sid", sid);
46 46 map.put("familyId", familyId);
... ... @@ -142,7 +142,7 @@ public class UserManagerPresenter extends MvpBasePresenter&lt;UserManagerView&gt; {
142 142 if (null == getView()) {
143 143 return;
144 144 }
145   - QMUITipDialogUtil.loadingDialog(context, "请稍...", false);
  145 + QMUITipDialogUtil.loadingDialog(context, "请稍...", false);
146 146 Map<String, String> map = new HashMap<>();
147 147 map.put("sids", sids);
148 148 map.put("familyId", familyId);
... ...
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/view/ChangeWifiFragmentView.java
... ... @@ -63,7 +63,7 @@ public class ChangeWifiFragmentView implements MvpView {
63 63 SSID = scanResult.SSID;
64 64 BSSID = scanResult.BSSID;
65 65 if (TextUtils.isEmpty(currentUser.getUserId()) || TextUtils.isEmpty(currentUser.getId())) {
66   - AlertUtil.showDeftToast(getContext(), "参数异常,请稍重试!");
  66 + AlertUtil.showDeftToast(getContext(), "参数异常,请稍重试!");
67 67 return;
68 68 }
69 69 //判断是否需要输入密码
... ...
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/frame/view/SelectWifiFragmentView.java
... ... @@ -98,7 +98,7 @@ public class SelectWifiFragmentView implements MvpView {
98 98 String encryptionType = scanResult.capabilities;
99 99 SSID = scanResult.SSID;
100 100 if (TextUtils.isEmpty(cmccId) || TextUtils.isEmpty(familyId)) {
101   - AlertUtil.showDeftToast(getContext(), "参数异常,请稍重试!");
  101 + AlertUtil.showDeftToast(getContext(), "参数异常,请稍重试!");
102 102 return;
103 103 }
104 104 //判断是否需要输入密码
... ... @@ -209,7 +209,7 @@ public class SelectWifiFragmentView implements MvpView {
209 209 if (null == getContext()) {
210 210 return;
211 211 }
212   - QMUITipDialogUtil.loadingDialog(getContext(), "配网中,请稍...", false);
  212 + QMUITipDialogUtil.loadingDialog(getContext(), "配网中,请稍...", false);
213 213  
214 214 }
215 215  
... ... @@ -217,7 +217,7 @@ public class SelectWifiFragmentView implements MvpView {
217 217 @Override
218 218 public void onConnectFail(BleDevice bleDevice, BleException exception) {
219 219 QMUITipDialogUtil.dismessDialog();
220   - AlertUtil.showDeftToast(getContext(), "连接无响应,请稍重试");
  220 + AlertUtil.showDeftToast(getContext(), "连接无响应,请稍重试");
221 221 EventBus.getDefault().post(new EventMsg(EventMsg.DEVICE_NOT_RESPONSE, ""));
222 222 }
223 223  
... ... @@ -252,7 +252,7 @@ public class SelectWifiFragmentView implements MvpView {
252 252 @Override
253 253 public void onWriteFailure(BleException exception) {
254 254 Log.e(TAG, "onWriteFailure: ");
255   - AlertUtil.showDeftToast(getContext(), "连接无响应,请稍重试");
  255 + AlertUtil.showDeftToast(getContext(), "连接无响应,请稍重试");
256 256  
257 257 }
258 258 });
... ... @@ -262,7 +262,7 @@ public class SelectWifiFragmentView implements MvpView {
262 262 @Override
263 263 public void onNotifyFailure(BleException exception) {
264 264 QMUITipDialogUtil.dismessDialog();
265   - AlertUtil.showDeftToast(getContext(), "连接无响应,请稍重试");
  265 + AlertUtil.showDeftToast(getContext(), "连接无响应,请稍重试");
266 266 }
267 267  
268 268 @Override
... ...
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/ui/activity/BluetoothConnActivity.java
... ... @@ -188,7 +188,7 @@ public class BluetoothConnActivity extends AppCompatActivity {
188 188 } else {
189 189 // 开始搜索
190 190 mBluetoothAdapter.startDiscovery();
191   -// QMUITipDialogUtil.loadingDialog(this, "正在搜索蓝牙设备,请稍...", false);
  191 +// QMUITipDialogUtil.loadingDialog(this, "正在搜索蓝牙设备,请稍...", false);
192 192  
193 193 }
194 194  
... ... @@ -358,7 +358,7 @@ public class BluetoothConnActivity extends AppCompatActivity {
358 358 // if (progressDialog == null) {
359 359 // progressDialog = new ProgressDialog(BluetoothConnActivity.this);
360 360 // }
361   -// progressDialog.setMessage("正在配对中,请稍!");
  361 +// progressDialog.setMessage("正在配对中,请稍!");
362 362 // progressDialog.show();
363 363 break;
364 364 case BluetoothDevice.BOND_BONDED://配对结束
... ... @@ -401,7 +401,7 @@ public class BluetoothConnActivity extends AppCompatActivity {
401 401 switch (blueState) {
402 402 case BluetoothAdapter.STATE_TURNING_ON:
403 403 Log.e(TAG, "监听到蓝牙已开启");
404   -// mdialog = LoadingUtil.dialog(BluetoothConnActivity.this, "正在开启蓝牙,请稍...", false);
  404 +// mdialog = LoadingUtil.dialog(BluetoothConnActivity.this, "正在开启蓝牙,请稍...", false);
405 405 // mdialog.show();
406 406 break;
407 407 case BluetoothAdapter.STATE_ON:
... ...
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/ui/activity/RemoteControlActivity.java
... ... @@ -187,7 +187,7 @@ public class RemoteControlActivity extends AppCompatActivity {
187 187 * @param type
188 188 */
189 189 public void setRemoteControlStatus(Context context, String sid, String type) {
190   - QMUITipDialogUtil.loadingDialog(context, "请稍...", false);
  190 + QMUITipDialogUtil.loadingDialog(context, "请稍...", false);
191 191 Map<String, String> map = new HashMap<>();
192 192 map.put("sid", sid);
193 193 map.put("type", type);
... ...