Remove empty click handler and make sure install dialog is cancelable

This commit is contained in:
Sean Owen 2014-02-26 22:51:22 +00:00
parent cef513e790
commit 2a6698ccc8

View file

@ -332,10 +332,8 @@ public class IntentIntegrator {
}
}
});
downloadDialog.setNegativeButton(buttonNo, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {}
});
downloadDialog.setNegativeButton(buttonNo, null);
downloadDialog.setCancelable(true);
return downloadDialog.show();
}