Skip to content

Commit 56e48f4

Browse files
fix(Google Photos): Remove obsolete non functional patch Restore hidden 'Back up while charging' toggle (#4764)
1 parent 67fe151 commit 56e48f4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

patches/src/main/kotlin/app/revanced/patches/googlephotos/misc/preferences/RestoreHiddenBackUpWhileChargingTogglePatch.kt

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ import app.revanced.util.indexOfFirstInstructionOrThrow
77
import com.android.tools.smali.dexlib2.Opcode
88
import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
99

10+
@Deprecated("This patch no longer works and this code will soon be deleted")
1011
@Suppress("unused")
1112
val restoreHiddenBackUpWhileChargingTogglePatch = bytecodePatch(
12-
name = "Restore hidden 'Back up while charging' toggle",
13-
description = "Restores a hidden toggle to only run backups when the device is charging.",
14-
use = false
13+
description = "Restores a hidden toggle to only run backups when the device is charging."
1514
) {
1615
compatibleWith("com.google.android.apps.photos"("7.11.0.705590205"))
1716

0 commit comments

Comments
 (0)