Skip to content

Commit

Permalink
Added Privacy Policy. Release 1.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
PeratX committed Oct 7, 2018
1 parent 85a34f3 commit 269f95b
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 6 deletions.
10 changes: 5 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "org.itxtech.daedalus"
minSdkVersion 15
targetSdkVersion 27
versionCode 16
versionName "1.12.0"
versionCode 17
versionName "1.12.1"

buildConfigField "String", "BUILD_TIME", "\"${System.currentTimeMillis()}\""
buildConfigField "String", "GIT_COMMIT", "\"${gitCommit}\""
Expand Down Expand Up @@ -47,11 +47,11 @@ dependencies {
//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.0'
implementation 'org.minidns:minidns-client:0.3.2'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
//Analytics
implementation 'com.google.firebase:firebase-core:16.0.3'
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ public void onCreate(Bundle savedInstanceState) {
return false;
});

findPreference("settings_privacy_policy").setOnPreferenceClickListener(preference -> {
Daedalus.openUri("https://github.com/iTXTech/Daedalus/wiki/Privacy-Policy");
return false;
});

updateAdvancedOptions(advanced.isChecked());
}

Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
<string name="settings_notification">显示通知</string>
<string name="settings_check_update">检查更新</string>
<string name="settings_update_summary">前往 GitHub 发布页面。</string>
<string name="settings_privacy_policy">隐私政策</string>
<string name="settings_count_number_of_queries">统计 DNS 查询次数</string>
<string name="settings_bug_report">提交反馈</string>
<string name="settings_issue_summary">前往 GitHub 提交 Bug 反馈。</string>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
<string name="settings_notification">顯示通知</string>
<string name="settings_check_update">檢查更新</string>
<string name="settings_update_summary">造訪 GitHub 發行頁面。</string>
<string name="settings_privacy_policy">隱私政策</string>
<string name="settings_count_number_of_queries">統計 DNS 查詢次數</string>
<string name="settings_bug_report">回報 Bug</string>
<string name="settings_issue_summary">前往 GitHub 送出 Bug 回饋。</string>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<string name="settings_notification">Show Notification</string>
<string name="settings_check_update">Check Update</string>
<string name="settings_update_summary">Visit GitHub Releases Page.</string>
<string name="settings_privacy_policy">Privacy Policy</string>
<string name="settings_count_number_of_queries">Count DNS Query Times</string>
<string name="settings_bug_report">Report a Bug</string>
<string name="settings_issue_summary">Submit an Issue on GitHub Issues Page.</string>
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/xml/perf_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@
<PreferenceCategory
android:key="settings_help"
android:title="@string/settings_help_and_support">
<org.itxtech.daedalus.widget.ClickPreference
android:key="settings_privacy_policy"
android:title="@string/settings_privacy_policy"/>
<org.itxtech.daedalus.widget.ClickPreference
android:key="settings_check_update"
android:title="@string/settings_check_update"
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.google.gms:google-services:4.0.1'
classpath 'io.fabric.tools:gradle:1.25.1'
classpath 'io.fabric.tools:gradle:1.25.4'

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

0 comments on commit 269f95b

Please sign in to comment.