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

Commit

Permalink
No support info for Genymotion
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed May 26, 2015
1 parent 7a370bc commit 68229d5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/biz/bokhorst/xprivacy/Requirements.java
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ private static void reportClass(Class<?> clazz, ActivityBase context) {
public static void sendSupportInfo(final String text, final ActivityBase context) {
Util.log(null, Log.WARN, text);

if (Util.hasValidFingerPrint(context) && !"true".equals(System.getenv("XPrivacy.AOSP"))) {
if (Util.hasValidFingerPrint(context) && !"Genymotion".equals(Build.MANUFACTURER)) {
AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context);
alertDialogBuilder.setTitle(R.string.app_name);
alertDialogBuilder.setMessage(R.string.msg_support_info);
Expand All @@ -418,8 +418,9 @@ public void onClick(DialogInterface dialog, int _which) {

Intent sendEmail = new Intent(Intent.ACTION_SEND);
sendEmail.setType("message/rfc822");
sendEmail.putExtra(Intent.EXTRA_EMAIL, new String[] { "marcel+xprivacy@faircode.eu" });
sendEmail.putExtra(Intent.EXTRA_SUBJECT, "XPrivacy " + ourVersion + " debug info");
sendEmail.putExtra(Intent.EXTRA_EMAIL, new String[] { "marcel+support@faircode.eu" });
sendEmail.putExtra(Intent.EXTRA_SUBJECT, "XPrivacy " + ourVersion + "/"
+ Build.VERSION.RELEASE + " support info");
sendEmail.putExtra(Intent.EXTRA_TEXT, sb.toString());
try {
context.startActivity(sendEmail);
Expand Down

0 comments on commit 68229d5

Please sign in to comment.