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

Commit

Permalink
Select applications to allow for correct application
Browse files Browse the repository at this point in the history
Refs #686
  • Loading branch information
M66B committed Nov 15, 2013
1 parent 0678ed2 commit f53249c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/biz/bokhorst/xprivacy/ActivityApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -574,11 +574,11 @@ public int compare(ApplicationInfo info1, ApplicationInfo info2) {
mSelection = new boolean[mListInfo.size()];
for (int i = 0; i < mListInfo.size(); i++)
try {
mListApp.add(String.format("%s (%s)", pm.getApplicationLabel(mListInfo.get(i)),
mListInfo.get(i).packageName));
mListApp.add(String.format("%s (%s) (%d)", pm.getApplicationLabel(mListInfo.get(i)),
mListInfo.get(i).packageName, mListInfo.get(i).uid));
mSelection[i] = PrivacyManager.getSettingBool(null, ActivityApp.this, 0,
String.format("Application.%d.%s", mListInfo.get(i).uid, mListInfo.get(i).packageName),
false, false);
String.format("Application.%d.%s", mAppInfo.getUid(), mListInfo.get(i).packageName), false,
false);
} catch (Throwable ex) {
Util.bug(null, ex);
}
Expand All @@ -599,7 +599,7 @@ public void onClick(DialogInterface dialog, int whichButton, boolean isChecked)
null,
ActivityApp.this,
0,
String.format("Application.%d.%s", mListInfo.get(whichButton).uid,
String.format("Application.%d.%s", mAppInfo.getUid(),
mListInfo.get(whichButton).packageName), Boolean.toString(isChecked));
} catch (Throwable ex) {
Util.bug(null, ex);
Expand Down

0 comments on commit f53249c

Please sign in to comment.