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

Commit

Permalink
Fixed wrong uid for restricted profiles
Browse files Browse the repository at this point in the history
Fixes #1561
  • Loading branch information
M66B committed Mar 15, 2014
1 parent af94780 commit 63bdf5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Changelog

**Next release**

* Fixed wrong uid for restricted profiles ([issue](/../../issues/1561)
* Updated Slovenian translation

[Open issues](https://github.com/M66B/XPrivacy/issues?state=open)
Expand Down
2 changes: 1 addition & 1 deletion res/layout/usageentry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<TextView
android:id="@+id/tvApp"
android:layout_width="50dip"
android:layout_width="60dip"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:textAppearance="?android:attr/textAppearanceSmall"
Expand Down
2 changes: 1 addition & 1 deletion src/biz/bokhorst/xprivacy/PrivacyService.java
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ private AlertDialog.Builder getOnDemandDialogBuilder(final PRestriction restrict
view.setBackgroundColor(resources.getColor(R.color.color_dangerous_dark));

ivAppIcon.setImageDrawable(appInfo.getIcon(context));
tvUid.setText(Integer.toString(appInfo.getUid()));
tvUid.setText(Integer.toString(restriction.uid));
tvAppName.setText(TextUtils.join(", ", appInfo.getApplicationName()));

String defaultAction = resources.getString(result.restricted ? R.string.title_deny : R.string.title_allow);
Expand Down

0 comments on commit 63bdf5e

Please sign in to comment.