scottferg/Something-Awful-Android — pull request #135 by Geekner (2011-10-28 03:44:44+00:00)
Title: Two more crash fixen.

First commit fixes a race-condition crash when changing color settings. If the listview is refreshing while the settings change propagates, it will crash during setCacheColorHint. I can't find a decent way to work around it, so i'll just remove that bit.

Second fixes a problem when a tablet leaves an activity while it's still loading data in the background. The view is detached before loadingSucceeded/Failed/ect triggers, isTablet() returns false because getActivity() is null. Also, this is bad for ICS compatibility, as we need to separate isTablet from useLegacyActionbar. This fixes both.