Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Show fail icon when aborting new style imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jpeg729 committed Jan 22, 2014
1 parent 84566cc commit c27a841
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/biz/bokhorst/xprivacy/ActivityShare.java
Original file line number Diff line number Diff line change
Expand Up @@ -1089,8 +1089,11 @@ public void endElement(String uri, String localName, String qName) {
mAppAdapter.setMessage(uid, getString(R.string.msg_restart));

// Abort notification
if (mListAbortedUid.size() > 0)
mAppAdapter.setMessage(mListAbortedUid.get(0), getString(R.string.msg_aborted));
if (mListAbortedUid.size() > 0) {
int uid = mListAbortedUid.get(0);
mAppAdapter.setState(uid, STATE_FAILURE);
mAppAdapter.setMessage(uid, getString(R.string.msg_aborted));
}

mAppAdapter.notifyDataSetChanged();
}
Expand Down

0 comments on commit c27a841

Please sign in to comment.