Skip to content

Commit ddec2a6

Browse files
committed
(happy new year): year, DNS updates
1 parent 8d2853c commit ddec2a6

File tree

6 files changed

+18
-16
lines changed

6 files changed

+18
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ __Users must comply with local laws and regulations.__<br>
8080

8181
## License
8282

83-
Copyright (C) 2017-2018 iTX Technologies <[email protected]>
83+
Copyright (C) 2017-2019 iTX Technologies <[email protected]>
8484

8585
This program is free software: you can redistribute it and/or modify
8686
it under the terms of the GNU General Public License as published by

app/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,20 @@ android {
3939

4040
dependencies {
4141
//Support
42-
implementation 'androidx.appcompat:appcompat:1.0.0'
42+
implementation 'androidx.appcompat:appcompat:1.0.2'
4343
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
4444
implementation 'androidx.percentlayout:percentlayout:1.0.0'
4545
implementation 'androidx.cardview:cardview:1.0.0'
4646
implementation 'com.google.android.material:material:1.0.0'
4747
//DNS
48-
implementation 'org.pcap4j:pcap4j-core:1.7.3'
49-
implementation 'org.pcap4j:pcap4j-packetfactory-static:1.7.3'
50-
implementation 'org.minidns:minidns-client:0.3.3'
48+
implementation 'org.pcap4j:pcap4j-core:1.7.4'
49+
implementation 'org.pcap4j:pcap4j-packetfactory-static:1.7.4'
50+
implementation 'org.minidns:minidns-client:0.3.4'
5151
implementation 'com.google.code.gson:gson:2.8.5'
52-
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
52+
implementation 'com.squareup.okhttp3:okhttp:3.12.1'
5353
//Analytics
54-
implementation 'com.google.firebase:firebase-core:16.0.5'
55-
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'
54+
implementation 'com.google.firebase:firebase-core:16.0.6'
55+
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.8'
5656
}
5757

5858
apply plugin: 'com.google.gms.google-services'

app/src/main/assets/about_html/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
<br>
4141
<div style="font-size: 12px; color: gray;">Users must comply with local laws and regulations.</div>
4242
<br>
43-
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2018 iTX Technologies <a href="mailto:[email protected]">[email protected]</a>
43+
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2019 iTX Technologies <a
44+
4445
</div>
4546
<br>
4647
<div style="font-size: 10px; color: gray;">

app/src/main/assets/about_html/index_zh.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
<br>
4242
<div style="font-size: 12px; color: gray;">使用者必须遵守当地法律法规。</div>
4343
<br>
44-
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2018 iTX Technologies <a href="mailto:[email protected]">[email protected]</a>
44+
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2019 iTX Technologies <a
45+
4546
</div>
4647
<br>
4748
<div style="font-size: 10px; color: gray;">

app/src/main/java/org/itxtech/daedalus/Daedalus.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public class Daedalus extends Application {
4848
public static final List<DNSServer> DNS_SERVERS = new ArrayList<DNSServer>() {{
4949
add(new DNSServer("101.132.183.99", R.string.server_pdomo_primary));
5050
add(new DNSServer("193.112.15.186", R.string.server_pdomo_secondary));
51-
add(new DNSServer("123.207.13.111", R.string.server_puredns_south_china));
52-
add(new DNSServer("123.207.137.88", R.string.server_puredns_north_china));
51+
//add(new DNSServer("123.207.13.111", R.string.server_puredns_south_china));
52+
//add(new DNSServer("123.207.137.88", R.string.server_puredns_north_china));
5353
add(new DNSServer("dns.rubyfish.cn/dns-query", R.string.server_rubyfish));
5454
}};
5555

@@ -103,10 +103,10 @@ public void onCreate() {
103103
private void initDirectory(String dir) {
104104
File directory = new File(dir);
105105
if (!directory.isDirectory()) {
106-
Logger.warning(dir + " is not a directory. Delete result: " + String.valueOf(directory.delete()));
106+
Logger.warning(dir + " is not a directory. Delete result: " + directory.delete());
107107
}
108108
if (!directory.exists()) {
109-
Logger.debug(dir + " does not exist. Create result: " + String.valueOf(directory.mkdirs()));
109+
Logger.debug(dir + " does not exist. Create result: " + directory.mkdirs());
110110
}
111111
}
112112

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ buildscript {
1010
}
1111
dependencies {
1212
classpath 'com.android.tools.build:gradle:3.2.1'
13-
classpath 'com.google.gms:google-services:4.0.1'
14-
classpath 'io.fabric.tools:gradle:1.25.4'
13+
classpath 'com.google.gms:google-services:4.2.0'
14+
classpath 'io.fabric.tools:gradle:1.27.0'
1515

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

0 commit comments

Comments
 (0)