I was going through code of one rather skilled developer and saw this:
new AlertDialog.Builder(new ContextThemeWrapper(getActivity(), R.style.Theme_DeviceDefault));
And since this is the only reason to build application against API 14 it makes me wandering about benefits of this approach. I can't see any. I don't think it'll help against Exceptions when you call .show() or .dismiss() on Dialog with dead activity, and I can't think of anything else.
Thanks in advance.