Viktor De Pasquale
5457c3803f
Added remaining methods of installation/flashing/uninstall to service
...
Updated parameters of patching step and fixed new ordered flashing format
2019-07-20 14:57:03 -07:00
Viktor De Pasquale
12e00c3054
Updated method naming scheme
...
Added new configurations
Added flashing methods and annotated viewModel's uri as deprecated in function
2019-07-20 14:57:03 -07:00
Viktor De Pasquale
8af832a496
Added several calls to FlashActivity so it manages its launch parameters by itself
...
Its reach will be deepened further in the future commits
2019-07-20 14:57:03 -07:00
osm0sis
b1e63f0f14
Manager: fix ModulesFragment reboot menu
...
- correct 'booloader' typo breaking bootloader entry
- remove extra bootloader entry Shell.su line which is unnecessary since it's covered by reboot()
- revert to using `reboot recovery` for recovery entry since `svc power reboot recovery` triggers a very disconcerting "Factory data reset" reboot dialog on many devices
- add Reboot to EDL mode option for good measure
2019-06-27 04:09:41 -04:00
Viktor De Pasquale
5dd677756f
Fixed multiple fetch tasks running at once
...
Disposing wouldn't help since the shell doesn't appear to handle concurrency well
2019-06-21 00:36:37 -07:00
Viktor De Pasquale
b77c590910
Fixed the searchView being collapsed after searching through it
...
Now they have their state synced with viewModel to allow continuity
2019-06-21 00:36:37 -07:00
Viktor De Pasquale
7e5f2822ae
Fix superuser fragment crashes
...
Fix superuser screen encountering inconsistencies when refreshing the data rapidly
2019-06-21 00:36:01 -07:00
topjohnwu
bf9ac8252b
Cleanup UpdateInfo
2019-06-16 16:47:30 -07:00
topjohnwu
4a3f5dc619
Cleanups
2019-06-16 14:35:51 -07:00
Viktor De Pasquale
982a43fce1
Moved diff computation of policy list to the background thread
2019-06-16 16:50:08 -04:00
Viktor De Pasquale
074b1f8c61
Added one-click scroll to the bottom
2019-06-12 16:08:02 +02:00
topjohnwu
326eee8c83
Migrate a lot of classes to Kotlin
2019-06-12 03:29:38 -07:00
topjohnwu
00bff4912e
Use svc for reboot if feasible
...
Close #1488
2019-06-12 00:55:21 -07:00
Viktor De Pasquale
0ce1720516
Fixed magisk log screen lines having multiple lines
2019-06-11 21:52:03 -07:00
topjohnwu
7756e10779
Rewrite configs with Kotlin delagate properties
2019-06-10 04:37:56 -07:00
topjohnwu
3e58d502d0
Update SettingsFragment to Kotlin
2019-06-09 03:04:37 -07:00
topjohnwu
86c4928e0f
Fix locale settings
...
AppCompatActivity changed its impl again...
2019-06-08 02:11:10 -07:00
topjohnwu
1ee75b6aa6
Download snet package without legacy impl
2019-06-08 01:39:22 -07:00
topjohnwu
3f3b1f5b1d
Sort policy with app name
2019-06-07 01:24:54 -07:00
topjohnwu
c0d1ce96d1
Cleanup
2019-05-30 01:05:48 -07:00
topjohnwu
b31d3802eb
Properly force refresh
2019-05-29 23:45:18 -07:00
Viktor De Pasquale
be1228c3b4
Reverted removing UpdateRepos temporarily
2019-05-29 18:40:16 +02:00
Viktor De Pasquale
6a243ec7bc
Fixed inconsistent displaying of repos and improved their sorting
2019-05-25 18:09:45 +02:00
Viktor De Pasquale
6e1aefe6d8
Added feature that prevents repositories from being downloaded every single time that user requests to show Module/Download fragment unless requested by user
2019-05-25 16:42:34 +02:00
Viktor De Pasquale
c33cf9f878
Fixed stable channel asking for custom URL when previously selected
2019-05-25 16:15:08 +02:00
Viktor De Pasquale
cc74593ddd
Removed useless constructor parameter from home vm
2019-05-24 15:50:20 +02:00
Viktor De Pasquale
f0a734fdab
Fixed clearing cache crashing due to operations on main thread
2019-05-24 12:28:40 +02:00
Viktor De Pasquale
076e5cea3b
Fixed selection not persisting throughout root requests
2019-05-23 20:01:47 +02:00
Viktor De Pasquale
df78fd2d41
Fixed setting custom channels and switching between official ones being broken
2019-05-23 18:11:23 +02:00
Viktor De Pasquale
0119ebddbe
Added back clearing repository cache
2019-05-23 15:28:05 +02:00
Viktor De Pasquale
80855e89ec
Merge remote-tracking branch 'john/master' into development
...
# Conflicts:
# app/build.gradle
# app/src/main/java/com/topjohnwu/magisk/model/receiver/GeneralReceiver.kt
# app/src/main/java/com/topjohnwu/magisk/ui/hide/HideViewModel.kt
# app/src/main/java/com/topjohnwu/magisk/ui/home/HomeViewModel.kt
2019-05-13 16:50:08 +02:00
Viktor De Pasquale
0850401dc4
Fixed crash where new application asks for root access
2019-05-13 15:56:27 +02:00
Viktor De Pasquale
64f238191e
Converted constants to kotlin
2019-05-13 15:39:33 +02:00
Viktor De Pasquale
eb169cb133
Converted classmap to kotlin
2019-05-13 15:34:53 +02:00
topjohnwu
80cd85b061
Try to use broadcast for su logging and notify
...
In commit 8d4c407
, native Magisk always launches an activity for
communicating with Magisk Manager. While this works extremely well,
since it also workaround stupid OEMs that blocks broadcasts, it has a
problem: launching an activity will claim the focus of the device,
which could be super annoying in some circumstances.
This commit adds a new feature to run a broadcast test on boot complete.
If Magisk Manager successfully receives the broadcast, it will toggle
a setting in magiskd so all future su loggings and notifies will always
use broadcasts instead of launching activities.
Fix #1412
2019-05-13 02:01:10 -07:00
Viktor De Pasquale
92789c3113
Added caching repositories to device
2019-05-12 20:21:55 +02:00
Viktor De Pasquale
2fe917ff82
Fixed updating values with sql
2019-05-12 19:42:05 +02:00
Viktor De Pasquale
0e6c205732
Fixed snackbar for changed su states being incorrect
2019-05-12 18:56:42 +02:00
Viktor De Pasquale
0245e13591
Removed usage of old database object
2019-05-12 18:00:58 +02:00
Viktor De Pasquale
d546733287
Removed direct static usages of database from app
2019-05-12 17:25:26 +02:00
topjohnwu
62db65bf18
Reset SafetyNet status on refresh
2019-05-11 01:55:44 -07:00
topjohnwu
d5371f752c
Sort hide targets by app name
2019-05-11 01:53:37 -07:00
topjohnwu
a5f5e94115
Always reload string from resource
2019-05-11 01:50:01 -07:00
Viktor De Pasquale
d39d885ec2
Removed repo db helper
2019-05-10 18:21:07 +02:00
Viktor De Pasquale
d83c744725
Replaced base settings fragment by its kotlin counterpart
2019-05-10 17:54:24 +02:00
Viktor De Pasquale
9491ba77e0
Removed locale manager loading languages in advance
...
Instead they are loaded on demand
2019-05-10 17:30:25 +02:00
Viktor De Pasquale
58a449d437
Merge branch 'remote-master' into development
...
# Conflicts:
# app/src/main/java/com/topjohnwu/magisk/di/ViewModelsModule.kt
# app/src/main/java/com/topjohnwu/magisk/ui/home/HomeViewModel.kt
# app/src/main/java/com/topjohnwu/magisk/utils/XString.kt
2019-05-10 16:43:37 +02:00
Viktor De Pasquale
67c3f40adb
Fixed language won't change in certain views unless app restarts
2019-05-10 16:22:03 +02:00
topjohnwu
ff7a0ba599
Force apply preferred locale in applyOverrideConfiguration
...
Close #1442
2019-05-10 00:19:28 -07:00
Viktor De Pasquale
21be2f46f3
Moved fetch/toggle logic for hiding to repo
...
Fixed sorting
2019-05-09 18:21:38 +02:00