From 0ec4e3756d2442367ee1fe178519c0e6e063f6d2 Mon Sep 17 00:00:00 2001 From: Peter Serwylo Date: Fri, 7 Mar 2014 08:18:28 +1100 Subject: [PATCH] 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. --- src/org/fdroid/fdroid/views/fragments/AppListFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/org/fdroid/fdroid/views/fragments/AppListFragment.java b/src/org/fdroid/fdroid/views/fragments/AppListFragment.java index b3f2a91a4..c6c674575 100644 --- a/src/org/fdroid/fdroid/views/fragments/AppListFragment.java +++ b/src/org/fdroid/fdroid/views/fragments/AppListFragment.java @@ -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. };