Don't show update option in list if ignored.

Related to the last bug with the update notify count. This one is
also due to the fact we didn't ask for the right data from the
provider. If these bugs keep coming in over time, I will seriously
consider guarding access to each variable with a check, and throwing
an exception if the variable hasn't been initialized. For now I'll
see if it was a once off. Hopefullly tests will catch these issues
in the future.
このコミットが含まれているのは:
Peter Serwylo 2014-03-07 08:18:28 +11:00
コミット 0ec4e3756d

ファイルの表示

@ -37,6 +37,8 @@ abstract public class AppListFragment extends ListFragment implements
AppProvider.DataColumns.ICON_URL,
AppProvider.DataColumns.SuggestedApk.VERSION,
AppProvider.DataColumns.SUGGESTED_VERSION_CODE,
AppProvider.DataColumns.IGNORE_ALLUPDATES,
AppProvider.DataColumns.IGNORE_THISUPDATE,
AppProvider.DataColumns.REQUIREMENTS, // Needed for filtering apps that require root.
};