mirror of
https://github.com/MaintainTeam/Hypatia.git
synced 2025-03-01 05:48:23 +03:00
Minor fixes
This commit is contained in:
parent
68f5fee17c
commit
0d6cbddecb
13 changed files with 20 additions and 21 deletions
|
@ -19,7 +19,7 @@
|
|||
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:label="@string/title_activity_main"
|
||||
android:label="@string/app_name"
|
||||
android:screenOrientation="portrait"
|
||||
android:configChanges="orientation|keyboardHidden">
|
||||
<intent-filter>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Hypatia: An realtime malware scanner for Android
|
||||
Hypatia: A realtime malware scanner for Android
|
||||
Copyright (c) 2017-2018 Divested Computing, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Hypatia: An realtime malware scanner for Android
|
||||
Hypatia: A realtime malware scanner for Android
|
||||
Copyright (c) 2017-2018 Divested Computing, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Hypatia: An realtime malware scanner for Android
|
||||
Hypatia: A realtime malware scanner for Android
|
||||
Copyright (c) 2017-2018 Divested Computing, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Hypatia: An realtime malware scanner for Android
|
||||
Hypatia: A realtime malware scanner for Android
|
||||
Copyright (c) 2018 Divested Computing, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Hypatia: An realtime malware scanner for Android
|
||||
Hypatia: A realtime malware scanner for Android
|
||||
Copyright (c) 2018 Divested Computing, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
@ -58,7 +58,7 @@ public class MainActivity extends FragmentActivity {
|
|||
|
||||
new Utils(this);
|
||||
new DatabaseManager(this);
|
||||
if(Utils.useTor()) {
|
||||
if (Utils.useTor()) {
|
||||
Utils.requestStartOrbot(this);
|
||||
}
|
||||
Utils.considerStartService(this);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Hypatia: An realtime malware scanner for Android
|
||||
Hypatia: A realtime malware scanner for Android
|
||||
Copyright (c) 2017-2018 Divested Computing, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Hypatia: An realtime malware scanner for Android
|
||||
Hypatia: A realtime malware scanner for Android
|
||||
Copyright (c) 2017-2018 Divested Computing, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Hypatia: An realtime malware scanner for Android
|
||||
Hypatia: A realtime malware scanner for Android
|
||||
Copyright (c) 2018 Divested Computing, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Hypatia: An realtime malware scanner for Android
|
||||
Hypatia: A realtime malware scanner for Android
|
||||
Copyright (c) 2018 Divested Computing, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
@ -55,8 +55,8 @@ public class SettingsFragment extends PreferenceFragmentCompat implements Shared
|
|||
|
||||
@Override
|
||||
public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
|
||||
if(key.equals("network_use_tor")) {
|
||||
if(prefs.getBoolean("network_use_tor", false)) {
|
||||
if (key.equals("network_use_tor")) {
|
||||
if (prefs.getBoolean("network_use_tor", false)) {
|
||||
if (!Utils.isOrbotInstalled(getContext())) {
|
||||
prefs.edit().putBoolean("ONION_ROUTING", false).apply();
|
||||
Toast.makeText(getContext(), R.string.toast_orbot_unavailable, Toast.LENGTH_SHORT).show();
|
||||
|
@ -64,8 +64,8 @@ public class SettingsFragment extends PreferenceFragmentCompat implements Shared
|
|||
}
|
||||
}
|
||||
|
||||
if(key.equals("scanner_realtime_enabled")) {
|
||||
if(prefs.getBoolean("scanner_realtime_enabled", false)) {
|
||||
if (key.equals("scanner_realtime_enabled")) {
|
||||
if (prefs.getBoolean("scanner_realtime_enabled", false)) {
|
||||
Utils.considerStartService(getContext());
|
||||
} else {
|
||||
Intent realtimeScanner = new Intent(getContext(), MalwareScannerService.class);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Hypatia: An realtime malware scanner for Android
|
||||
Hypatia: A realtime malware scanner for Android
|
||||
Copyright (c) 2017-2018 Divested Computing, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Hypatia: An realtime malware scanner for Android
|
||||
Hypatia: A realtime malware scanner for Android
|
||||
Copyright (c) 2017-2018 Divested Computing, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
<resources>
|
||||
<string name="app_name">Hypatia</string>
|
||||
<string name="app_name">Hypatia V3</string>
|
||||
|
||||
<!-- START MainActivity -->
|
||||
<string name="title_activity_main">Hypatia</string>
|
||||
<string name="title_scanner">Scanner</string>
|
||||
<string name="title_log">History</string>
|
||||
<string name="title_databases">Databases</string>
|
||||
|
|
Loading…
Add table
Reference in a new issue