Commit Graph

1590 Commits

Author SHA1 Message Date
canyie c921964938 Make sure busybox can be executed recursively
Busybox will execute itself. On some older Samsung devices, when it is located in /data, it will not have rights to execute other programs including itself. We should also relocate busybox in this case to workaround Samsung bullshit.
See topjohnwu/ndk-busybox@bdc8655
Fix the "app doesn't detect installed Magisk" issue in topjohnwu#4174
2022-01-30 08:24:32 -08:00
LoveSy 3c7e792167 Catch PendingIntent.CanceledException thrown from send 2022-01-27 05:29:32 -08:00
LoveSy 0ad66875ab Fix crash when zip is malformat
Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
Co-authored-by: 残页 <31466456+canyie@users.noreply.github.com>
2022-01-27 05:26:31 -08:00
topjohnwu 928b3425e3 Embed module installer in APK 2022-01-27 05:24:05 -08:00
topjohnwu 0726a00e3b Fix download notifications 2022-01-27 05:17:52 -08:00
LoveSy 5a88984d34 Guard synchronizedList's iteration
It's needed to guard a synchronizedList when iterating it
2022-01-27 02:01:30 -08:00
LoveSy 18de60f68c Fix NPE of SuRequestViewModel
countdown timer may have not initialized when backpressed
2022-01-27 02:01:04 -08:00
LoveSy 1893359142 Fix crash when fragment is detached from activity 2022-01-27 01:54:24 -08:00
topjohnwu f5e5ab2436 Update Android Studio 2022-01-27 01:46:00 -08:00
topjohnwu d742cfa48f Label Zygisk as beta 2022-01-25 01:41:51 -08:00
topjohnwu 95353ce9eb Fix language settings 2022-01-25 01:31:15 -08:00
topjohnwu ab2cc72814 Remove unnecessary root service connection wait 2022-01-25 01:21:21 -08:00
topjohnwu 5c54a2c008 Update version check logic 2022-01-25 01:10:17 -08:00
vvb2060 dcbb4eabb5 Fix string 2022-01-24 21:27:17 -08:00
vvb2060 3d06ba1878 Use WindowCompat 2022-01-23 02:44:59 -08:00
topjohnwu 8a23d1da58 Do not run setMarkdown on I/O thread 2022-01-23 02:41:56 -08:00
vvb2060 7cdf2d244d Cleanup su handler 2022-01-23 01:38:17 -08:00
topjohnwu c59a41a607 Minor code refactoring 2022-01-23 01:08:09 -08:00
topjohnwu e0410b6f10 TLS only on release builds 2022-01-22 22:57:34 -08:00
topjohnwu 8eac6c0b48 Cleanup arch classes 2022-01-22 14:44:46 -08:00
vvb2060 bf8b74e996 Module json add changelog 2022-01-22 14:44:37 -08:00
topjohnwu 5313a46aa2 Overhaul SettingsItem
Close #5021
2022-01-22 05:25:36 -08:00
topjohnwu 761a8dde65 Slightly change update UI logic 2022-01-21 05:37:47 -08:00
topjohnwu a73acfb9c2 Show unloaded Zygisk modules in UI 2022-01-21 05:37:47 -08:00
vvb2060 a01a3404fe Ignore duplicate clicks on BottomNavigationView
Co-authored-by: RikkaW <rikka@shizuku.moe>
2022-01-21 02:12:41 -08:00
canyie 454e5dfc5d Show confirmation dialog before restore app 2022-01-21 01:35:11 -08:00
topjohnwu 47545b45b8 Clean up MagiskDialog 2022-01-21 00:50:02 -08:00
canyie 5f4cd50cc4 Properly prevent fix env dialog from constantly showing
ViewModel has been reconstructed when switching fragment so we lost previous state.
2022-01-20 03:38:28 -08:00
canyie b0fba6ce5b Optimize navigation back stack
Fix topjohnwu#4333

Co-authored-by: LoveSy <shana@zju.edu.cn>
2022-01-20 03:38:00 -08:00
canyie 1f5992f2c2 Fix classloader when restoring bottom nav state 2022-01-20 03:36:31 -08:00
topjohnwu abfd3c3e5d Remove unused resources 2022-01-20 03:32:08 -08:00
LoveSy 97da7f9691 Do not trust format of 3rd party json 2022-01-20 02:02:39 -08:00
vvb2060 dbf45da8ab Avoid constantly check env 2022-01-18 04:47:53 -08:00
topjohnwu 6b67902d53 Uninstalled app su requests should still show in logs 2022-01-18 04:44:11 -08:00
topjohnwu 0ad0ef485c Bump min Magisk version to v21.0
Close #5220
2022-01-18 04:27:40 -08:00
topjohnwu 7dfe3e53d5 Optimize imports 2022-01-18 03:58:47 -08:00
vvb2060 5be3bd1e64 Show User-Agent 2022-01-18 02:02:41 -08:00
vvb2060 bc0c1980db Support modules update 2022-01-18 02:02:41 -08:00
vvb2060 2997258fd0 Cleanup code 2022-01-18 02:02:41 -08:00
vvb2060 11600fc116 Use libs instead of copy code 2022-01-18 02:02:41 -08:00
vvb2060 a8640f52ef Merge into one file 2022-01-18 02:02:41 -08:00
capntrips 053f4d481d disable virtualAB check for noSecondSlot 2022-01-18 00:35:38 -08:00
capntrips f466c27da9 disable pixel check for noSecondSlot 2022-01-18 00:35:38 -08:00
RikkaW bfe6bc3095 Fix bottom nav sometimes not hide correctly
Replace homemade animation with StateListAnimator
2022-01-18 00:24:16 -08:00
vvb2060 6635ea3e29 Allow offline hide manager 2022-01-18 00:20:49 -08:00
LoveSy 591788c0df Fix an NPE
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.text.Layout.getEllipsisCount(int)' on a null object reference
2022-01-17 22:55:44 -08:00
vvb2060 571b8986a4 Don't assume installed version matches app 2022-01-17 20:29:11 -08:00
topjohnwu 76ddfeb93a Allow modifying denylist without enforcement 2022-01-15 23:46:22 -08:00
topjohnwu d7b51d2807 Update dependencies 2022-01-14 00:07:19 -08:00
topjohnwu a7af8b5722 Add DoH back
JSDelivr is no longer China friendly
2022-01-13 03:50:29 -08:00