always initialize checkboxes AppBlacklistActivity, not only when App is in blacklist

Closes #129
This commit is contained in:
Andreas Shimokawa 2015-09-25 21:31:40 +02:00
parent 720eaa111d
commit c8a08510ce
1 changed files with 1 additions and 3 deletions

View File

@ -77,9 +77,7 @@ public class AppBlacklistActivity extends Activity {
deviceAppNameLabel.setText(appInfo.loadLabel(pm)); deviceAppNameLabel.setText(appInfo.loadLabel(pm));
deviceImageView.setImageDrawable(appInfo.loadIcon(pm)); deviceImageView.setImageDrawable(appInfo.loadIcon(pm));
if (GBApplication.blacklist.contains(appInfo.packageName)) { checkbox.setChecked(GBApplication.blacklist.contains(appInfo.packageName));
checkbox.setChecked(true);
}
return view; return view;
} }