You've already forked PlayIntegrityFork
mirror of
https://github.com/osm0sis/PlayIntegrityFork.git
synced 2025-09-06 06:37:06 +00:00
Remove unnecessary/unenforced adb prop spoofs
This commit is contained in:
@@ -32,13 +32,6 @@ static void modify_callback(void *cookie, const char *name, const char *value, u
|
|||||||
|
|
||||||
std::string prop(name);
|
std::string prop(name);
|
||||||
|
|
||||||
// Spoof specific property values
|
|
||||||
if (prop == "init.svc.adbd") {
|
|
||||||
value = "stopped";
|
|
||||||
} else if (prop == "sys.usb.state") {
|
|
||||||
value = "mtp";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (jsonProps.count(prop)) {
|
if (jsonProps.count(prop)) {
|
||||||
// Exact property match
|
// Exact property match
|
||||||
value = jsonProps[prop].c_str();
|
value = jsonProps[prop].c_str();
|
||||||
|
|||||||
Reference in New Issue
Block a user