mirror of https://github.com/M66B/NetGuard.git
Android Oreo fix
This commit is contained in:
parent
0525ed94b4
commit
4d8431e706
|
@ -108,7 +108,8 @@ public class ActivityPro extends AppCompatActivity {
|
|||
Linkify.addLinks(tvDev1Title, Pattern.compile(".*"), "http://www.netguard.me/#" + SKU_SUPPORT1, null, filter);
|
||||
Linkify.addLinks(tvDev2Title, Pattern.compile(".*"), "http://www.netguard.me/#" + SKU_SUPPORT2, null, filter);
|
||||
|
||||
String challenge = (Build.VERSION.SDK_INT < Build.VERSION_CODES.O ? Build.SERIAL : "ID:" + Settings.Secure.ANDROID_ID);
|
||||
String android_id = Settings.Secure.getString(getContentResolver(), Settings.Secure.ANDROID_ID);
|
||||
String challenge = (Build.VERSION.SDK_INT < Build.VERSION_CODES.O ? Build.SERIAL : "O3" + android_id);
|
||||
String seed = (Build.VERSION.SDK_INT < Build.VERSION_CODES.O ? "NetGuard2" : "NetGuard3");
|
||||
|
||||
// Challenge
|
||||
|
|
Loading…
Reference in New Issue