Skip to content

Commit

Permalink
[VXP]: Add manual tutorial link.
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Jun 9, 2018
1 parent 5ef85b6 commit 0968bc1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion VirtualApp/app/src/main/java/io/virtualapp/gms/FakeGms.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AlertDialog;
import android.text.TextUtils;
import android.util.Log;
Expand Down Expand Up @@ -144,7 +146,13 @@ public static void installGms(Activity activity) {
.setTitle(R.string.install_gms_fail_title)
.setMessage(R.string.install_gms_fail_content)
.setPositiveButton(R.string.install_gms_fail_ok, ((dialog1, which1) -> {

try {
Intent t = new Intent(Intent.ACTION_VIEW);
t.setData(Uri.parse("https://github.com/android-hacker/VirtualXposed/wiki/Google-service-support"));
activity.startActivity(t);
} catch (Throwable ignored) {
ignored.printStackTrace();
}
}))
.setNegativeButton(android.R.string.cancel, null)
.create();
Expand Down

0 comments on commit 0968bc1

Please sign in to comment.