Skip to content

Commit

Permalink
(happy new year): year, DNS updates
Browse files Browse the repository at this point in the history
  • Loading branch information
PeratX committed Jan 1, 2019
1 parent 8d2853c commit ddec2a6
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ __Users must comply with local laws and regulations.__<br>

## License

Copyright (C) 2017-2018 iTX Technologies <admin@itxtech.org>
Copyright (C) 2017-2019 iTX Technologies <admin@itxtech.org>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
14 changes: 7 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ android {

dependencies {
//Support
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.percentlayout:percentlayout:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
//DNS
implementation 'org.pcap4j:pcap4j-core:1.7.3'
implementation 'org.pcap4j:pcap4j-packetfactory-static:1.7.3'
implementation 'org.minidns:minidns-client:0.3.3'
implementation 'org.pcap4j:pcap4j-core:1.7.4'
implementation 'org.pcap4j:pcap4j-packetfactory-static:1.7.4'
implementation 'org.minidns:minidns-client:0.3.4'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
implementation 'com.squareup.okhttp3:okhttp:3.12.1'
//Analytics
implementation 'com.google.firebase:firebase-core:16.0.5'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'
implementation 'com.google.firebase:firebase-core:16.0.6'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.8'
}

apply plugin: 'com.google.gms.google-services'
3 changes: 2 additions & 1 deletion app/src/main/assets/about_html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
<br>
<div style="font-size: 12px; color: gray;">Users must comply with local laws and regulations.</div>
<br>
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2018 iTX Technologies <a href="mailto:admin@itxtech.org">admin@itxtech.org</a>
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2019 iTX Technologies <a
href="mailto:admin@itxtech.org">admin@itxtech.org</a>
</div>
<br>
<div style="font-size: 10px; color: gray;">
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/assets/about_html/index_zh.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
<br>
<div style="font-size: 12px; color: gray;">使用者必须遵守当地法律法规。</div>
<br>
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2018 iTX Technologies <a href="mailto:admin@itxtech.org">admin@itxtech.org</a>
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2019 iTX Technologies <a
href="mailto:admin@itxtech.org">admin@itxtech.org</a>
</div>
<br>
<div style="font-size: 10px; color: gray;">
Expand Down
8 changes: 4 additions & 4 deletions app/src/main/java/org/itxtech/daedalus/Daedalus.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public class Daedalus extends Application {
public static final List<DNSServer> DNS_SERVERS = new ArrayList<DNSServer>() {{
add(new DNSServer("101.132.183.99", R.string.server_pdomo_primary));
add(new DNSServer("193.112.15.186", R.string.server_pdomo_secondary));
add(new DNSServer("123.207.13.111", R.string.server_puredns_south_china));
add(new DNSServer("123.207.137.88", R.string.server_puredns_north_china));
//add(new DNSServer("123.207.13.111", R.string.server_puredns_south_china));
//add(new DNSServer("123.207.137.88", R.string.server_puredns_north_china));
add(new DNSServer("dns.rubyfish.cn/dns-query", R.string.server_rubyfish));
}};

Expand Down Expand Up @@ -103,10 +103,10 @@ public void onCreate() {
private void initDirectory(String dir) {
File directory = new File(dir);
if (!directory.isDirectory()) {
Logger.warning(dir + " is not a directory. Delete result: " + String.valueOf(directory.delete()));
Logger.warning(dir + " is not a directory. Delete result: " + directory.delete());
}
if (!directory.exists()) {
Logger.debug(dir + " does not exist. Create result: " + String.valueOf(directory.mkdirs()));
Logger.debug(dir + " does not exist. Create result: " + directory.mkdirs());
}
}

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.1'
classpath 'io.fabric.tools:gradle:1.25.4'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'io.fabric.tools:gradle:1.27.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down

0 comments on commit ddec2a6

Please sign in to comment.