Disabled malware protection

This commit is contained in:
M66B 2023-09-26 21:47:13 +02:00
parent f640f2f191
commit 6e3657b58f
1 changed files with 2 additions and 0 deletions

View File

@ -844,6 +844,8 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
public boolean onPrepareOptionsMenu(Menu menu) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
menu.findItem(R.id.menu_malware).setVisible(false);
if (prefs.getBoolean("manage_system", false)) {
menu.findItem(R.id.menu_app_user).setChecked(prefs.getBoolean("show_user", true));
menu.findItem(R.id.menu_app_system).setChecked(prefs.getBoolean("show_system", false));