Commit Graph

3038 Commits

Author SHA1 Message Date
canyie
24505cd111 Prevent destroyed activities from being reused
The adapter will cache a LayoutInflater which refers the current activity, and the ViewModel object will keep alive until activity finished. After activity recreates (e.g. split-screen), it will use the cached LayoutInflater which refers a destroyed activity and crashes. This also is a memory-leak, according to Google's official document, ViewModel shouldn't refer activity. See https://developer.android.com/topic/libraries/architecture/viewmodel

Fix topjohnwu#5413
2022-03-07 01:54:02 -08:00
VD $ VD171 @ Priv8
13ef3058c6 Update Portuguese Brazilian Translation by VD171
Update Portuguese Brazilian Translation by VD171
2022-03-03 10:36:45 -08:00
Rom
8c6c328730 Update French translation 2022-03-02 22:48:24 -08:00
sn-o-w
c9812ddf08 Update Romanian 2022-03-02 22:48:07 -08:00
owen151128
2ef0449c2c Update Korean translation 2022-03-02 22:33:52 -08:00
Ilya Kushnir
5edc750c47 Update RU strings 2022-03-02 22:33:21 -08:00
vvb2060
d11038f3de Directly stream apk into install session 2022-03-01 23:05:06 -08:00
vvb2060
6df42a4be7 Handle install failure 2022-03-01 23:05:06 -08:00
Francesco Saltori
7fd111b91f
Bring English strings changes to Italian translation 2022-03-01 22:51:07 -08:00
Sirichai Chulee
dd7dc2ec5a Fix typo in thai translation 2022-03-01 22:50:37 -08:00
Vladimír Kubala
86c586d882
Update Slovak translation 2022-03-01 22:50:12 -08:00
Arbri çoçka
66ac6f72fc update Albania translator 2022-03-01 22:49:44 -08:00
CDzungx
f21f448099 Update Vietnamese Translation
Fix, added some translations.
Added note for technicality word in case user don't know the word mean in English like "boot image", "image" is translated to "đĩa ảnh", I can't really understand it if I use Vietnamese lang 😂.
2022-03-01 22:49:29 -08:00
topjohnwu
71e37345b4 Update libsu 2022-02-28 20:14:58 -08:00
vvb2060
0d1de98cca Update zh-rCN translation 2022-02-16 23:04:57 -08:00
vvb2060
02bf7dca01 Check apk before patch 2022-02-16 23:04:39 -08:00
vvb2060
8cc76b1d86 Fix restore dialog 2022-02-16 23:04:19 -08:00
vvb2060
77a275cbcd Show notification when stub is updated to full 2022-02-16 23:04:03 -08:00
vvb2060
3956cbe2d2 ActivityTracker ignore SuRequestActivity 2022-02-16 23:03:42 -08:00
vvb2060
6dabd3bb2d Abandon unsuccessful session 2022-02-16 23:03:01 -08:00
topjohnwu
5a39f7cdde Reduce duplicate initialization 2022-02-14 02:28:48 -08:00
topjohnwu
5d400fbe90 Check REQUEST_INSTALL_PACKAGES before actions 2022-02-14 02:15:50 -08:00
topjohnwu
e36596470c Minor adjustments 2022-02-13 20:16:23 -08:00
topjohnwu
668e549208 Refactor APKInstall 2022-02-13 19:54:59 -08:00
topjohnwu
256ff31d11 Show notification after app upgrade 2022-02-13 18:35:35 -08:00
topjohnwu
8f0ea5925a Relaunch process without second process 2022-02-13 02:58:55 -08:00
南宫雪珊
936ad1aa20
Handle download fail
Co-authored-by: topjohnwu <topjohnwu@gmail.com>
2022-02-13 02:30:09 -08:00
vvb2060
f6d765bf81 Su request activity has no affinity for any task 2022-02-11 01:08:04 -08:00
Donatello
920d059837 Update italian translation
Added missing string.

Co-authored-by: Madis Otenurm <Madis0@users.noreply.github.com>
2022-02-06 06:51:49 -08:00
xDonatello
bef5c3bd1b Update italian translation 2022-02-06 06:51:49 -08:00
Madis Otenurm
97037f7d03 Update strings.xml 2022-02-06 06:51:11 -08:00
Madis Otenurm
3eb1a7e384
Update Estonian 2022-02-06 05:59:09 -08:00
Arbri çoçka
1ecdc78c2f fix translante in Albania language 2022-02-06 05:58:39 -08:00
孟武.尼德霍格.龍
d279dba37e
Update Traditional Chinese Strings
Co-authored-by: LoveSy <631499712@qq.com>
2022-02-06 05:58:03 -08:00
topjohnwu
084e0a73dc Cleanup DownloadService 2022-02-03 03:50:52 -08:00
topjohnwu
10f991b8d0 Directly stream APK into install session 2022-02-03 03:50:52 -08:00
topjohnwu
c1fc3f373c Proper app relaunch for stub 2022-02-02 04:44:22 -08:00
topjohnwu
f4cf5dc0cd Rename class 2022-02-02 02:50:27 -08:00
topjohnwu
355341f0ab Use AppComponentFactory to replace ClassLoader 2022-02-01 22:43:44 -08:00
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
Arbri çoçka
1191ac2671 update Albania translation 2022-01-27 05:25:13 -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
CISZEK Anthony
76af9e6e1f
Update French translations 2022-01-26 00:56:39 -08:00
Oliver Cervera
a11a18686a Update italian translation
Contains last changes, it is also synced with the main file.
2022-01-25 21:56:04 -08:00
AndroPlus
c58e3a99ee Update Japanese translation 2022-01-25 21:55:50 -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
Vlad
45e7c1c030
Update RU strings 2022-01-24 22:30:53 -08:00
Hen Ry
b791dc5e1a Update de translation 2022-01-24 21:32:07 -08:00
DanGLES3
46db281006 Update pt-BR strings 2022-01-24 21:31:48 -08:00
vvb2060
dcbb4eabb5 Fix string 2022-01-24 21:27:17 -08:00
vvb2060
068cedaa84 Update zh-rCN translation 2022-01-24 03:05:45 -08:00
Arbri çoçka
a8e4e077ec Update Albania translator 2022-01-23 02:45:18 -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
topjohnwu
d3eb61e0e4 Fix string resources 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
kubalav
691e41e22e Update Slovak translation 2022-01-22 05:31:28 -08:00
AioiLight
15e91d42ee Update strings.xml 2022-01-22 05:31:14 -08:00
vvb2060
5e8e94fd0f Remove emoji compat 2022-01-22 05:30:59 -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
Ilya Kushnir
2752083d29
Update RU strings 2022-01-20 01:59:33 -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
Arbri çoçka
0f4e44c38f Update values-sq 2022-01-18 00:35:55 -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
ff8f3e766e Update zh-rCN translation 2022-01-18 00:23:40 -08:00
vvb2060
6635ea3e29 Allow offline hide manager 2022-01-18 00:20:49 -08:00