File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
src/main/kotlin/app/revanced/patches/googlephotos/misc/backup Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,10 @@ public final class app/revanced/patches/googlenews/misc/gms/GmsCoreSupportPatchK
192192 public static final fun getGmsCoreSupportPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
193193}
194194
195+ public final class app/revanced/patches/googlephotos/misc/backup/EnableDCIMFoldersBackupControlPatchKt {
196+ public static final fun getEnableDCIMFoldersBackupControlPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
197+ }
198+
195199public final class app/revanced/patches/googlephotos/misc/extension/ExtensionPatchKt {
196200 public static final fun getExtensionPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
197201}
Original file line number Diff line number Diff line change 1+ package app.revanced.patches.googlephotos.misc.backup
2+
3+ import app.revanced.patcher.patch.bytecodePatch
4+ import app.revanced.util.returnEarly
5+
6+ @Suppress(" unused" )
7+ val enableDCIMFoldersBackupControlPatch = bytecodePatch(
8+ name = " Enable DCIM folders backup control" ,
9+ description = " Disables always on backup for the Camera and other DCIM folders, allowing you to control backup " +
10+ " for each folder individually. This will make the app default to having no folders backed up." ,
11+ use = false ,
12+ ) {
13+ compatibleWith(" com.google.android.apps.photos" )
14+
15+ execute {
16+ isDCIMFolderBackupControlDisabled.method.returnEarly(false )
17+ }
18+ }
Original file line number Diff line number Diff line change 1+ package app.revanced.patches.googlephotos.misc.backup
2+
3+ import app.revanced.patcher.fingerprint
4+
5+ internal val isDCIMFolderBackupControlDisabled = fingerprint {
6+ returns(" Z" )
7+ strings(" /dcim" , " /mars_files/" )
8+ }
You can’t perform that action at this time.
0 commit comments