Skip to content

Commit

Permalink
Disable 'Backup to Google Drive' function as a hot fix for #416
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Walters committed Jul 17, 2018
1 parent 0ff0d3f commit e9cf269
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,15 +440,9 @@ public void openBackupDialog() {
builder.setItems(getResources().getStringArray(R.array.menu_backup_options), new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
// Backup to Google Drive has been removed because it crashes
// It needs to be re-implemented using non-deprecated API
if (which == 0) {
if (checkPlayServices()) {
// TODO: Finish backup in next release
Intent intent = new Intent(getApplicationContext(), BackupActivity.class);
startActivity(intent);
} else {
dialog.dismiss();
}
} else {
// Export to CSV
showExportCsvDialog();
}
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@
</string-array>

<string-array name="menu_backup_options" translatable="false">
<item>@string/menu_backup_backup</item>
<item>@string/menu_backup_csv</item>
</string-array>

Expand Down

0 comments on commit e9cf269

Please sign in to comment.