Whole file

kivy/buildozer

The author described this change as Fix issue #881: Add android.allow_backup parameter to buildozer.spec (#1206). It counts as a record because the check below fails on the code as it stood at 4a18fb321 and passes on 7bf9f3970, with nothing else changed between the two runs.

Fix saved2020-08-14
Sharing licenceMIT · LICENSE
Change size+5 0

What the code was meant to do, written into the code itself as a save note

Fix issue #881: Add android.allow_backup parameter to buildozer.spec (#1206)

The change

11581158 if numeric_version:
11591159 build_cmd += [("--numeric-version", numeric_version)]
11601160
1161+ # android.allow_backup
1162+ allow_backup = config.getbooldefault('app', 'android.allow_backup', True)
1163+ if not allow_backup:
1164+ build_cmd += [('--allow-backup', 'false')]
1165+
11611166 # build only in debug right now.
11621167 if self.build_mode == 'debug':
11631168 build_cmd += [("debug", )]

The check that tells the two apart

failpass·tests/targets/test_android.py::TestTargetAndroid::test_allow_backup

Check file tests/targets/test_android.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.

Origin and history

The code before it4a18fb321e8410c44c9a62bd65671f33df3a470b
Broken version dated2020-08-13
Modulebuildozer.targets.android
Units changedTargetAndroid
Fingerprintf894c56677399c33
Checked2026-08-18 by goldset/0.1

Every field above is generated by our program. None of it is written by hand.