|
|
@@ -7,6 +7,7 @@ import com.example.modifier.constants.CMD_START_PLAY_STORE
|
|
|
import com.example.modifier.constants.PACKAGE_GMS
|
|
|
import com.example.modifier.constants.PACKAGE_GSF
|
|
|
import com.example.modifier.constants.PACKAGE_MESSAGING
|
|
|
+import com.example.modifier.constants.PACKAGE_PLAY
|
|
|
import com.example.modifier.extension.clear
|
|
|
import com.example.modifier.extension.kill
|
|
|
|
|
|
@@ -51,7 +52,6 @@ suspend fun clear(gsf: Boolean, gms: Boolean, sms: Boolean) {
|
|
|
suspend fun resetAll() {
|
|
|
try {
|
|
|
clearConv()
|
|
|
- Settings.Secure.putString()
|
|
|
shellRun(
|
|
|
"settings put secure location_mode 0",
|
|
|
"settings put secure android_id ${genAndroidId()}",
|
|
|
@@ -92,7 +92,7 @@ suspend fun resetAll() {
|
|
|
// "pm revoke com.google.android.gms android.permission.WRITE_CALL_LOG",
|
|
|
// "pm revoke com.google.android.gms android.permission.BODY_SENSORS",
|
|
|
// "pm revoke com.google.android.gms android.permission.DUMP",
|
|
|
- "sleep 2",
|
|
|
+ "sleep 10",
|
|
|
PACKAGE_MESSAGING.clear(),
|
|
|
"sleep 3",
|
|
|
CMD_MESSAGING_APP,
|