Added license
This commit is contained in:
parent
9f35064b58
commit
53e835f481
@ -92,6 +92,8 @@ public class AboutActivity extends AppCompatActivity {
|
||||
mWebView = null;
|
||||
}
|
||||
|
||||
System.gc();
|
||||
|
||||
//System.exit(0);
|
||||
}
|
||||
|
||||
@ -118,6 +120,10 @@ public class AboutActivity extends AppCompatActivity {
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/iTXTech/Daedalus")));
|
||||
}
|
||||
|
||||
if (id == R.id.action_license) {
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/iTXTech/Daedalus/blob/master/LICENSE")));
|
||||
}
|
||||
|
||||
/*if (id == R.id.action_visit_cutedns) {
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.cutedns.cn")));
|
||||
}*/
|
||||
|
@ -10,6 +10,10 @@
|
||||
android:title="@string/action_visit_github"
|
||||
android:orderInCategory="100"
|
||||
app:showAsAction="never"/>
|
||||
<item android:id="@+id/action_license"
|
||||
android:title="@string/action_license"
|
||||
android:orderInCategory="100"
|
||||
app:showAsAction="never"/>
|
||||
<!--item android:id="@+id/action_visit_cutedns"
|
||||
android:title="@string/action_visit_cutedns"
|
||||
android:orderInCategory="100"
|
||||
|
@ -48,4 +48,5 @@
|
||||
<string name="server_puredns_east_china">Pure DNS 华东</string>
|
||||
<string name="server_aixyz_south_china">AIXYZ DNS 华南</string>
|
||||
<string name="server_aixyz_east_china">AIXYZ DNS 华东</string>
|
||||
<string name="action_license">开源许可证</string>
|
||||
</resources>
|
@ -48,4 +48,5 @@
|
||||
<string name="server_puredns_east_china">Pure DNS East China</string>
|
||||
<string name="server_aixyz_south_china">AIXYZ DNS South China</string>
|
||||
<string name="server_aixyz_east_china">AIXYZ DNS East China</string>
|
||||
<string name="action_license">Open Source License</string>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user