Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'github/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
qwe7002 authored and qwe7002 committed Jul 7, 2022
2 parents e18c3e6 + ab8da5d commit 559d16f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ CodeauxLib 根据 [BSD 3-Clause License](https://github.com/telegram-sms/telegra

下载作品资源文件:[mega.nz](https://mega.nz/#F!TmwQSYjD!XN-uVfciajwy3okjIdpCAQ)

设定集
## 设定集

- 姓名:澪
- 属性:仿生人
- 生日:2018101
- 属性:机关人偶
- 生日:2021329
- 出生地:中国福建
- 星座:天秤座
- 习惯:吃甜食、女仆装、听重金属音乐
- 星座:白羊座
- 喜好:铁道迷,喜欢马卡龙

## 致谢

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ private void receive_handle(@NotNull JsonObject result_obj, boolean get_id_only)
case "/sendussd1":
case "/sendussd2":
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) {
if (ActivityCompat.checkSelfPermission(context, Manifest.permission.CALL_PHONE) == PackageManager.PERMISSION_GRANTED) {
//if (ActivityCompat.checkSelfPermission(context, Manifest.permission.CALL_PHONE) == PackageManager.PERMISSION_GRANTED) {
String[] command_list = request_msg.split(" ");
int sub_id = -1;
if (other_func.get_active_card(context) == 2) {
Expand All @@ -319,7 +319,7 @@ private void receive_handle(@NotNull JsonObject result_obj, boolean get_id_only)
ussd_func.send_ussd(context, command_list[1], sub_id);
return;
}
}
//}
}
request_body.text = context.getString(R.string.system_message_head) + "\n" + getString(R.string.unknown_command);
break;
Expand Down Expand Up @@ -632,7 +632,7 @@ public void run() {
++error_magnification;
}
try {
Thread.sleep(sleep_time * 1000);
Thread.sleep(sleep_time * 1000L);
} catch (InterruptedException e1) {
e1.printStackTrace();
}
Expand Down

0 comments on commit 559d16f

Please sign in to comment.