private void checkStatus() { boolean hasSu = RootUtils.hasSu(); list.clear(); list.add( buildBusyboxInfo( R.string.file_su, (hasSu ? BusyboxInfo.STATE_NORMAL : BusyboxInfo.STATE_BANNED))); list.add( buildBusyboxInfo( R.string.file_super_user, (RootUtils.hasSuperuser() ? BusyboxInfo.STATE_NORMAL : BusyboxInfo.STATE_WARNING))); list.add( buildBusyboxInfo( R.string.file_busybox, (RootUtils.hasBusybox() ? BusyboxInfo.STATE_NORMAL : BusyboxInfo.STATE_WARNING))); adapter.setNewList(list); lstBusybox.resize(); }