Commit Graph

138 Commits

Author SHA1 Message Date
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
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
tehcneko 791662536a
Update MainActivity.java (#1178) 2021-09-26 08:52:48 +00: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 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 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 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
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 6b3c9c361b
[app] Open URL when need to update (#934) 2021-08-18 19:32:06 +08:00
vvb2060 1779706cbf
[app] Fix typo (#921) 2021-08-16 08:03:58 +00: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