mirror of
https://github.com/kdrag0n/safetynet-fix.git
synced 2024-11-19 11:11:22 +00:00
zygisk: Fix unnecessary string copy
This commit is contained in:
parent
27a8138b7c
commit
ebc54d8ccd
@ -83,7 +83,7 @@ private:
|
||||
close(fd);
|
||||
}
|
||||
|
||||
void preSpecialize(std::string process) {
|
||||
void preSpecialize(const std::string& process) {
|
||||
// Only take action for GMS, otherwise unload
|
||||
if (process.rfind("com.google.android.gms", 0) != 0) {
|
||||
// If this isn't GMS, bail out and unload.
|
||||
|
Loading…
Reference in New Issue
Block a user