always initialize checkboxes AppBlacklistActivity, not only when App is in blacklist
Closes #129
This commit is contained in:
parent
720eaa111d
commit
c8a08510ce
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue