fix(Google Photos): Remove obsolete non functional patch Restore hidden 'Back up while charging' toggle (#4764)

This commit is contained in:
LisoUseInAIKyrios 2025-04-11 22:12:13 +02:00 committed by GitHub
parent 67fe151d77
commit 56e48f4c89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,11 +7,10 @@ import app.revanced.util.indexOfFirstInstructionOrThrow
import com.android.tools.smali.dexlib2.Opcode
import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
@Deprecated("This patch no longer works and this code will soon be deleted")
@Suppress("unused")
val restoreHiddenBackUpWhileChargingTogglePatch = bytecodePatch(
name = "Restore hidden 'Back up while charging' toggle",
description = "Restores a hidden toggle to only run backups when the device is charging.",
use = false
description = "Restores a hidden toggle to only run backups when the device is charging."
) {
compatibleWith("com.google.android.apps.photos"("7.11.0.705590205"))