diff options
author | James Sullins <jcsullins@gmail.com> | 2012-12-06 00:37:49 -0600 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2012-12-12 14:22:51 -0800 |
commit | ae4a2b2e0f0980c9d07dae2dd6e7d7a94bd6b3b8 (patch) | |
tree | f69942d3db9e056f953c193321f73a4ddc8536cc /nandroid.h | |
parent | d205d4b383861aa6cb2c8cb518f5ef419d603104 (diff) | |
download | bootable_recovery-ae4a2b2e0f0980c9d07dae2dd6e7d7a94bd6b3b8.zip bootable_recovery-ae4a2b2e0f0980c9d07dae2dd6e7d7a94bd6b3b8.tar.gz bootable_recovery-ae4a2b2e0f0980c9d07dae2dd6e7d7a94bd6b3b8.tar.bz2 |
fix default backup format selection menu
* Change "choose backup format" to "choose default backup format"
to clarify that the change is persistent
* Change the default backup format selection such that it correctly
shows the current default format (instead of always showing tar)
Change-Id: I4fe4bd9a07633f8fc4d335c424e20aea99f90f85
Diffstat (limited to 'nandroid.h')
-rw-r--r-- | nandroid.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -6,7 +6,10 @@ int nandroid_backup(const char* backup_path); int nandroid_restore(const char* backup_path, int restore_boot, int restore_system, int restore_data, int restore_cache, int restore_sdext, int restore_wimax); void nandroid_dedupe_gc(const char* blob_dir); void nandroid_force_backup_format(const char* fmt); +unsigned nandroid_get_default_backup_format(); #define NANDROID_BACKUP_FORMAT_FILE "/sdcard/clockworkmod/.default_backup_format" +#define NANDROID_BACKUP_FORMAT_TAR 0 +#define NANDROID_BACKUP_FORMAT_DUP 1 -#endif
\ No newline at end of file +#endif |