Commit Graph

684 Commits

Author SHA1 Message Date
LoveSy a983f33551
Fix language switch for Application context (#1662)
Fix #1658
2022-02-10 06:06:30 +00:00
vvb2060 7e3d57353e show snackbar after toggling option 2022-02-08 23:34:43 +08:00
kotori2 16b7936303 disable dex obfuscate by default && show toast after toggling dex obfuscate option 2022-02-08 23:34:43 +08:00
kotori2 33b46b2230 Fix dex obfuscate status 2022-02-08 23:34:43 +08:00
kotori0 2582eb3654 add option to disable dex obfuscation 2022-02-08 23:34:43 +08:00
LoveSy 20d5a0afd4
Please install a file manager (#1640) 2022-02-08 00:41:14 +08:00
LoveSy 84a2fa1f8f
Fix Inconsistency in log fragment (#1624) 2022-02-04 02:27:34 +08:00
南宫雪珊 d06b26db2b
Fix update flavor (#1623) 2022-02-04 02:06:56 +08:00
LoveSy 4955dcb542
Module list from manager should use match all flag (#1621) 2022-02-04 01:35:37 +08:00
LoveSy a7955ab7b4
Fix black theme when customizing color schema (#1613)
Fix #1612
2022-02-03 04:13:51 +00:00
LoveSy 74c55e9947
Fix log save (#1605) 2022-02-02 08:01:59 +00:00
LoveSy 1be8257252
Fix save log & repo (#1597) 2022-02-01 12:33:18 +08:00
LoveSy c7d82fee37
navigate safely to avoid race (#1596) 2022-02-01 02:46:25 +00:00
LoveSy a3fb878f46
set rv items and notify change in the same thread (#1595)
to avoid inconsistency
2022-02-01 10:01:59 +08:00
LoveSy 8e6fba6852
Fix IllegalStateException (#1585)
Fragment may have detached and does not have parent fragment manager
2022-01-30 04:57:57 +00:00
LoveSy b4eed403e4
Fix showhint when main thread exits (#1586) 2022-01-30 04:53:41 +00:00
南宫雪珊 223fdb5c10
Update telemetry (#1578)
* Update telemetry

* 1
2022-01-29 15:36:29 +08:00
LoveSy 998baed2aa
Fix NPE (#1574) 2022-01-28 12:55:35 +00:00
LoveSy 05d93b85ec
Add an option to manually create shortcut (#1571) 2022-01-28 14:34:53 +08:00
LoveSy f6e9ad3b91
Add telemetry for debug build (#1564) 2022-01-27 16:03:37 +08:00
LoveSy 303def1344
Proper support RTL (#1562) 2022-01-26 11:50:47 +08:00
LoveSy 2bc178ed48
Generate language list compile time (#1561)
* Generate language list compile time

* Add English
2022-01-26 03:19:28 +08:00
LoveSy 255ebe3458
Refine color (#1555) 2022-01-25 02:13:44 +00:00
LoveSy d25eb8e6f1
Fix badge (#1554) 2022-01-24 12:42:19 +00:00
LoveSy 5ee5297fb6
[app] Fix back press behavior (#1552) 2022-01-24 18:33:58 +08:00
LoveSy d11c0f78a8
More MD3 designs (#1548)
Co-authored-by: RikkaW <rikka@shizuku.moe>
2022-01-22 22:40:30 +08:00
LoveSy 1975718d3d
[app] Upgradable first on repo page (#1501)
Fix #1499
2021-12-28 12:21:08 +00:00
LoveSy 849729a949
[app] Fix toast (#1485) 2021-12-15 14:42:00 +08:00
LoveSy 8c64a8db1a
[app] Fix repo empty when cache hint (#1484) 2021-12-14 23:54:42 +08:00
Howard Wu 6a735d2064
Reload ModulesFragment after user removed or added (#1465)
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-12-04 21:44:40 +08:00
南宫雪珊 0e192b00a3
[app] Make span text unobtrusive (#1459) 2021-11-29 23:15:55 +08:00
Howard Wu 08b813fded
[app] Update module summary after fully uninstalling a module (#1457) 2021-11-29 22:16:19 +08:00
LoveSy 62667a4e05
[app] Only allow setting modules' scope when enabled (#1455) 2021-11-29 11:43:40 +00:00
Howard Wu cc19aa42c1
[app] Manually call onViewCreated after call onCreateDialog (#1454) 2021-11-29 10:34:54 +00:00
LoveSy 0af0f52072
[app] Fix NPE (#1453) 2021-11-29 08:01:58 +00:00
Howard Wu 005692f271
[app] Fix Compile Dialog (#1452) 2021-11-29 01:26:11 +00:00
LoveSy b642844e61
[app] LSPosed logs -> Verbose logs (#1444) 2021-11-27 19:49:46 +08:00
LoveSy 5d782a7680
[app] More UI fix (#1438) 2021-11-27 09:15:23 +08:00
南宫雪珊 48fd4c042c
[app] Fix select log text (#1439) 2021-11-26 01:48:08 +08:00
LoveSy 7b4ece366e
[app] Show fab when switching page (#1434) 2021-11-23 22:49:29 +08:00
LoveSy 14b2e5b20d
[app] Fix deny list hint (#1433) 2021-11-23 22:42:49 +08:00
LoveSy 69fe97b66e
[app] Use margin instead of padding (#1432) 2021-11-23 22:26:38 +08:00
Howard Wu afdfd58a13
[app] Don't let CollapsingToolbarLayout consume insets (#1430) 2021-11-22 16:24:49 +00:00
RikkaW 6a14dc184a [app] Don't let CollapsingToolbarLayout consume insets 2021-11-22 22:54:20 +08:00
LoveSy 237a746762
[app] Better fab scroll behavior 2021-11-22 19:05:14 +08:00
LoveSy 6d098e9ba8
Cache bitmap icon (#1426) 2021-11-22 09:54:16 +00:00
LoveSy 9b7b8c762a
Fix repo loading sync (#1425) 2021-11-22 17:30:15 +08:00
LoveSy 2863fef5a1
Fix icon again (#1424) 2021-11-22 08:29:41 +00:00
LoveSy 45899cdf3e
Fix shortcut and notification jump (#1423) 2021-11-22 07:53:16 +00:00
LoveSy 3db1ef271f
Fix icon (#1422) 2021-11-22 15:46:39 +08:00
LoveSy 778d363c61
Check stable viewtype (#1421) 2021-11-21 17:19:47 +08:00
Howard Wu 4bf7c04ca7
[app] Optimize module and app list loading (#1401)
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-11-20 16:47:35 +00:00
LoveSy b1ae31b151
Retain parasitic manager in recent tasks (#1417) 2021-11-19 19:32:17 +08:00
LoveSy 6dcceec3c9
[app] Fix hint text (#1397)
* [app] Fix hint text

* Fix text underline
2021-11-12 20:28:38 +08:00
南宫雪珊 d9ee2d9b3b
[app] Set maxLines for online modules (#1391) 2021-11-11 10:36:42 +00:00
南宫雪珊 872dcf4ba8
[app] Check version code mismatch (#1386) 2021-11-11 06:24:25 +00:00
南宫雪珊 a68dd71fda
[app] Multi assets support (#1378) 2021-11-08 20:55:22 +08:00
Howard Wu 971bcc6946
Don't use shell context to getprop (#1362)
* [core] Getprop

* [app] Remove getprop
2021-11-08 02:25:01 +08:00
LoveSy 0a83d165b7
[app] Show upgradable modules on front page (#1365) 2021-11-07 15:44:52 +00:00
Howard Wu 6291a848b8
Change the log file suffix to log (#1360) 2021-11-04 22:05:55 +08:00
LoveSy a160bdca9e
Enable resources hook if necessary (#1351) 2021-11-02 13:56:14 +00:00
Howard Wu b4a37ab4da
[app] Allow automatic line feed of log text (#1333) 2021-10-27 23:52:20 +08:00
南宫雪珊 0f00ce8644
[app] Update channel (#1310) 2021-10-18 16:48:54 +00:00
LoveSy 8a09ff11ff
[app] show API in info dialog (#1312) 2021-10-18 16:28:41 +00:00
LoveSy 5eac73de77
[core] Show Riru or Zygisk based (#1311) 2021-10-18 16:18:37 +00:00
南宫雪珊 f312331e1e
[app] Add ShortcutDialog class (#1300) 2021-10-17 17:42:00 +08:00
darknight0v0 f843dfaec4
Grammar correction and removal of useless statements (#1296) 2021-10-17 14:43:19 +08:00
LoveSy 7a7c0c56e3
[core] Support zygisk (#1228)
Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
Co-authored-by: tehcneko <88844448+tehcneko@users.noreply.github.com>
2021-10-16 19:44:26 +00:00
南宫雪珊 24c468164e
[app] Add reinstall (#1287) 2021-10-16 19:27:34 +00:00
Howard Wu 47e5bb21c4
[app] Use androidx PreferenceCategory (#1291) 2021-10-17 02:00:23 +08:00
tehcneko dfb035cfa5
[app] Update hint (#1283) 2021-10-15 16:14:58 +00:00
Howard Wu b30614abe4
[app] Add Expandable TextView (#1279)
* [app] Add Expandable TextView
2021-10-15 15:58:54 +00:00
LoveSy 233569b40e
[app] Add hint textview (#1280) 2021-10-15 11:43:21 +00:00
南宫雪珊 fabe82b0b6
[app] Show release notes (#1277) 2021-10-15 02:25:36 +08:00
Howard Wu 12b005c2d9
[app] Hide parasitic recommend dialog when not installed (#1276) 2021-10-14 18:03:20 +00:00
南宫雪珊 6693631485
[app] Allow updates only when binder is alive (#1275) 2021-10-14 15:01:57 +00:00
NekoInverter dfee8f04d6 [app] Add compressing toolbar to modules and repo item 2021-10-14 20:01:55 +08:00
NekoInverter 80d7cdd428 [app] Add collapsing toolbar to repo 2021-10-14 20:01:55 +08:00
NekoInverter deb53cfc09 [app] Add compressing toolbar to logs 2021-10-14 20:01:55 +08:00
NekoInverter 0ea767cbf4 [app] Add collapsing toolbar to settings 2021-10-14 20:01:55 +08:00
LoveSy 415408f8f3
[core] Move package compile to daemon (#1262) 2021-10-13 06:41:45 +00:00
南宫雪珊 4c4427ca52
In-app update (#1244) 2021-10-12 15:49:17 +08:00
LoveSy 1eab21c3fc
[app] Fix compile snackbar (#1255) 2021-10-11 10:22:19 +00:00
LoveSy 568d1e5e40
[app] Allow recompile modules (#1252) 2021-10-10 20:34:29 +08:00
etmatrix e1f696449f
Workaround for #1250 (#1251)
Co-authored-by: etmatrix <etmatrix@etmatrix>
2021-10-10 19:10:08 +08:00
Howard Wu ec56d45492
Add a switch to control adding shortcuts. (#1238)
* Add a switch to control adding shortcuts.

* Hide Shortcut Setting if it is unavailable

* Request a new shortcut when enabled
2021-10-08 18:00:50 +08:00
tehcneko d5482f2386
[app] Remove colorpicker (#1233) 2021-10-07 08:20:11 +00:00
LoveSy e2651eb4b2
[app] Fix crash on #1207 (#1230) 2021-10-06 15:41:34 +00:00
tehcneko f75579a8e7
[app] Don't show parasitic recommend everytime (#1227)
* [app] Don't show parasitic recommend everytime

* [app] Fix shadow color
2021-10-06 11:42:32 +00:00
tehcneko 6b3598dc93 [app] Don't show parasitic recommend everytime 2021-10-03 23:28:35 +08:00
tehcneko 4ac9612f17 [app] Update styles 2021-10-03 23:28:35 +08:00
tehcneko c523263bd6 [app] Move parasitic recommend to home fragment 2021-10-03 22:07:45 +08:00
tehcneko cb43a9342e
[app] Harmonize card color (#1213)
* [app] Harmonize card color

* [app] Fix recyclerview paddings

* [app] Fix styles

* [app] Use MaterialAlertDialog

* [app] Fix icon button style

* [app] Update appbar to MD3 style

* [app] Use new DynamicColors

* [app] Fix color picker style
2021-10-03 19:56:18 +08:00
Howard Wu 67d3fe82ff
Fix the module status in the manager after module changes (#1202) 2021-10-03 10:43:17 +08:00
tehcneko 5c27c55720 [app] Always use recreate for parasitic manager 2021-10-01 18:35:57 +08:00
tehcneko 658115035c [app] Don't enable enforceNavigationBarContrast 2021-10-01 18:35:57 +08:00
南宫雪珊 fce5e83609
[core] Enable verbose log on debug build (#1203) 2021-10-01 13:53:03 +08:00
LoveSy 7f247bd38f
[app] Recommend to use parasitic manager (#1194) 2021-09-30 06:21:23 +00:00
Howard Wu d51fa92f82
Require non null (#1193) 2021-09-30 14:15:19 +08:00
南宫雪珊 daf3e8dbd6
[core] Broadcast pkg changed to app (#1183) 2021-09-27 09:09:03 +00:00
tehcneko 791662536a
Update MainActivity.java (#1178) 2021-09-26 08:52:48 +00:00
南宫雪珊 bdbe9ca3f2
[app] Browser is disabled? (#1164) 2021-09-24 09:10:35 +08:00
etmatrix d605a84f91
[app] generate at runtime list of languages supported by app (#1146) 2021-09-20 10:15:10 +08:00
LoveSy 77eddd7779
Crowdin use two letter codes (#1131) 2021-09-18 15:31:52 +08:00
LoveSy 8e9950a111
[core] Inject back into shell and use okhttp to load image (#1130)
* Use okhttp to intercept webview request

* Inject back into shell again

* Clean code

* Fix mime
2021-09-18 15:09:41 +08:00
LoveSy 59cc621d98
Parasitic manager into a system app (#1103)
* add activity controller

* Hook `TRANSACTION_setActivityController`

* Hook setActivityController

* Inject into settings

* Check categories for manager

* Inject manager

* Hook webview

* Should not load modules for manager

* Remove shouldBlock

* remove pendding when server died

* Add shortcut automatically

* Load resources from manager

* Fix shortcut sleep wait

* Make R8 happy

* Fix when am is proxy

* lspd should run with euid=1000 after system server started

* Add shortcut from daemon

* Set injected package into gradle build script

* Try to inject into shell instead of settings

* Fix shortcut of shell and add icon

* Fix proguard

* hook handleReceiver

* Properly solve conflict

* Update shortcut everytime unlock

* Clear log

* Fix build

* chageng to use process${variantCapped}Resources

* Remove auto install manager

* Fix crash on some devices

* Fix new intent

* Make app toast when restart fails

* Fallback to recreate

* refine code

* Use fakecontext to set shortcut

* Fix compatibility with Android 12

* Fix `credentialProtectedDataDir`

* Fix webview

* Fix recreate

* Fix autofill

* Fix webview cache context

* Switch to inject into settings

* Send notification from daemon

* Change notification title
2021-09-16 13:36:04 +00:00
Howard Wu e250b73f99
[app] Fix hide translation contributors preference (#1108) 2021-09-14 12:58:32 +08:00
tehcneko d226ce5e21
[app] Fix translators (#1104) 2021-09-13 15:20:22 +08:00
tehcneko 37aaa8513b
[app] Add send in crash activity (#1100) 2021-09-11 15:15:32 +08:00
tehcneko a29d08a4eb
[app] Fix a crash (#1097) 2021-09-10 11:44:11 +00:00
tehcneko b3c9694c75
[app] Fix preload HTMLs again (#1094) 2021-09-10 15:59:54 +08:00
tehcneko 8ea11021d8
[app] Fix preload HTMLs (#1088) 2021-09-09 12:56:19 +00:00
tehcneko 54652f7d0c
[app] Add language selector (#1087) 2021-09-09 15:00:08 +08:00
tehcneko b49aa00df5
[app] Update home design (#1080) 2021-09-08 17:43:41 +08:00
tehcneko 4464210e69
[app] Preload webview htmls (#1078)
* [app] Preload webview htmls

* [app] Remove "v" from version name
2021-09-08 10:03:02 +08:00
tehcneko 6c170ab4eb
[app] Update home design (#1076) 2021-09-07 17:56:43 +08:00
vvb2060 0495dd3e71 Don't flood log 2021-08-28 23:41:18 +08:00
vvb2060 a6dd39596a Fix clear logs 2021-08-28 23:41:18 +08:00
vvb2060 bc765d3cdd
[core] clear logs will refresh fd (#1020) 2021-08-27 18:56:28 +08:00
LoveSy 6e07bfb71e
[app] Fix #1017 (#1018) 2021-08-27 01:44:22 +08:00
tehcneko 55fe34095d
[app] Check binder alive in reload installed modules (#1012) 2021-08-26 09:34:16 +00:00
tehcneko 5cf522b656
[app] Add update available to repo list (#1011)
* [app] Fix possible crashes

* [app] Add update available to repo list

* [app] Fix scrollbar
2021-08-26 15:39:16 +08:00
残页 cc1168bad9
[app] Remove pending preload action when detaching (#1006)
Fix crash caused by preloading WebView when fragment is deteched
2021-08-25 14:18:49 +00:00
tehcneko 6000b68f75
[app] Fix a crash (#1005) 2021-08-25 21:52:26 +08:00
vvb2060 0eb7d9c57b
[app] post delayed (#1003) 2021-08-25 19:45:51 +08:00
vvb2060 92dfded0ce
[app] Preload webview (#1002) 2021-08-25 16:01:54 +08:00
tehcneko 8d3e8e8ed2 [app] Async improvements 2021-08-25 15:28:28 +08:00
tehcneko eb61f84c67 [app] Nuke LinearLayoutManagerFix
bad
2021-08-25 15:28:28 +08:00
vvb2060 7e85205b8b
[feature] zip all logs (#999) 2021-08-25 00:28:06 +08:00
vvb2060 24120e75ad
[core] Force logging on boot (#996) 2021-08-24 09:20:10 +00:00
tehcneko 0e20e5cd7e
[app] Update proguard rules (#995)
* [app] Update proguard rules

* [app] Remove Parcelable and Serializable for gson modules
2021-08-24 05:45:56 +00:00
tehcneko ddcbd5c05a
[app] Migrate to Non-Transitive R Classes (#974)
* [app] Migrate to Non-Transitive R Classes

* [app] Remove unused resources
2021-08-22 06:24:33 +00:00
tehcneko e72bd46705
Update dependencies (#971) 2021-08-21 19:47:39 +08:00
vvb2060 9f868aeddf
[core] Native logcat (#960)
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-08-20 19:15:13 +00:00
tehcneko bde68a44cb
[app] Restart activity with recreate on Android S (#959) 2021-08-20 14:26:30 +08:00
vvb2060 7ef5da6867
Use ISO date-time formatter (#954) 2021-08-19 18:55:52 +00:00
vvb2060 70344ff9fd
Use java8 time API (#952) 2021-08-19 18:00:02 +00:00
Howard Wu c77d122254
Hide input method (#950) 2021-08-19 22:27:33 +08:00
vvb2060 036b87caad [core] Remove PowerService 2021-08-19 01:41:40 +08:00
vvb2060 818f576f25 [app] Remove WRITE_SECURE_SETTINGS permission 2021-08-19 01:41:40 +08:00
vvb2060 f1fa90eb38
[app] Remove INTERACT_ACROSS_USERS permission (#938) 2021-08-18 23:40:10 +08:00
vvb2060 6b3c9c361b
[app] Open URL when need to update (#934) 2021-08-18 19:32:06 +08:00
vvb2060 8afc509368
[app] Update module updated notification message (#922) 2021-08-17 04:35:12 +08:00
vvb2060 1779706cbf
[app] Fix typo (#921) 2021-08-16 08:03:58 +00:00
vvb2060 cf641b1854
Revert "[app] Dynamic registration receiver (#918)" (#920)
This reverts commit 35d8f3c1ce.
2021-08-16 07:46:23 +00:00
vvb2060 35d8f3c1ce
[app] Dynamic registration receiver (#918) 2021-08-16 14:57:23 +08:00
vvb2060 c842f7f42a
[app] Remove fastscroll (#916) 2021-08-16 05:54:11 +00:00
vvb2060 7528db79fe
[app] Update strings (#909) 2021-08-16 01:13:55 +08:00
vvb2060 50de490d3e
[app] Update strings (#908) 2021-08-16 01:00:23 +08:00
Howard Wu bb558d8152
[app] Simplify sort menu (#905) 2021-08-15 22:35:57 +08:00