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

Commit

Permalink
Fixed on demand colors by swithing to traditional theme
Browse files Browse the repository at this point in the history
Refs #1562
  • Loading branch information
M66B committed Mar 15, 2014
1 parent b555ef4 commit 8decf20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Changelog
**Next release**

* Fixed wrong uid for restricted profiles ([issue](/../../issues/1561)
* Fixed on demand colors by swithing to traditional theme ([issue](/../../issues/1562)
* Updated Slovenian translation

[Open issues](https://github.com/M66B/XPrivacy/issues?state=open)
Expand Down
6 changes: 3 additions & 3 deletions src/biz/bokhorst/xprivacy/PrivacyService.java
Original file line number Diff line number Diff line change
Expand Up @@ -1459,11 +1459,11 @@ public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
});

// Ask
AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context);
AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context, AlertDialog.THEME_TRADITIONAL);
alertDialogBuilder.setTitle(resources.getString(R.string.app_name));
alertDialogBuilder.setView(view);
alertDialogBuilder.setIcon(resources.getDrawable(R.drawable.ic_launcher));
alertDialogBuilder.setPositiveButton(resources.getString(R.string.title_deny),
alertDialogBuilder.setNegativeButton(resources.getString(R.string.title_deny),
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
Expand All @@ -1484,7 +1484,7 @@ else if (cbOnce.isChecked())
latch.countDown();
}
});
alertDialogBuilder.setNegativeButton(resources.getString(R.string.title_allow),
alertDialogBuilder.setPositiveButton(resources.getString(R.string.title_allow),
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
Expand Down

0 comments on commit 8decf20

Please sign in to comment.