mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-11 16:33:37 +00:00
Add MicroG DroidGuardHelper as target
MicroG uses a different package to handle DroidGuard service (SafetyNet), but still uses the same com.google.android.gms.unstable process name. Thanks to the changes in 4e53ebfe, we can target both official GMS and MicroG SafetyNet services at the same time.
This commit is contained in:
parent
4e53ebfe44
commit
6597b7adc0
@ -237,6 +237,7 @@ bool init_list() {
|
||||
rm_list(SAFETYNET_COMPONENT);
|
||||
rm_list(SAFETYNET_PROCESS);
|
||||
init_list(SAFETYNET_PKG, SAFETYNET_PROCESS);
|
||||
init_list(MICROG_SAFETYNET, SAFETYNET_PROCESS);
|
||||
|
||||
update_uid_map();
|
||||
return true;
|
||||
|
@ -18,6 +18,7 @@
|
||||
#define SAFETYNET_COMPONENT "com.google.android.gms/.droidguard.DroidGuardService"
|
||||
#define SAFETYNET_PROCESS "com.google.android.gms.unstable"
|
||||
#define SAFETYNET_PKG "com.google.android.gms"
|
||||
#define MICROG_SAFETYNET "org.microg.gms.droidguard"
|
||||
|
||||
#define WEVENT(s) (((s) & 0xffff0000) >> 16)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user