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

Commit

Permalink
Merge pull request #1149 from jpeg729/abortmessage
Browse files Browse the repository at this point in the history
Show fail icon when aborting new style imports
  • Loading branch information
M66B committed Jan 22, 2014
2 parents 57e8672 + c27a841 commit f085fac
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 f085fac

Please sign in to comment.