mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Back to safety!
This commit is contained in:
@@ -156,7 +156,6 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||
static final String ACTION_MANAGE_LOCAL_CONTACTS = BuildConfig.APPLICATION_ID + ".MANAGE_LOCAL_CONTACTS";
|
||||
static final String ACTION_MANAGE_CERTIFICATES = BuildConfig.APPLICATION_ID + ".MANAGE_CERTIFICATES";
|
||||
static final String ACTION_IMPORT_CERTIFICATE = BuildConfig.APPLICATION_ID + ".IMPORT_CERTIFICATE";
|
||||
static final String ACTION_SETUP_ADVANCED = BuildConfig.APPLICATION_ID + ".SETUP_ADVANCED";
|
||||
static final String ACTION_SETUP_MORE = BuildConfig.APPLICATION_ID + ".SETUP_MORE";
|
||||
|
||||
@Override
|
||||
@@ -389,7 +388,6 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||
iff.addAction(ACTION_MANAGE_LOCAL_CONTACTS);
|
||||
iff.addAction(ACTION_MANAGE_CERTIFICATES);
|
||||
iff.addAction(ACTION_IMPORT_CERTIFICATE);
|
||||
iff.addAction(ACTION_SETUP_ADVANCED);
|
||||
iff.addAction(ACTION_SETUP_MORE);
|
||||
lbm.registerReceiver(receiver, iff);
|
||||
}
|
||||
@@ -1618,14 +1616,6 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||
startActivityForResult(Helper.getChooser(this, open), REQUEST_IMPORT_CERTIFICATE);
|
||||
}
|
||||
|
||||
private void onSetupAdvanced(Intent intent) {
|
||||
View dview = LayoutInflater.from(this).inflate(R.layout.dialog_advanced, null);
|
||||
new AlertDialog.Builder(this)
|
||||
.setView(dview)
|
||||
.setPositiveButton(android.R.string.ok, null)
|
||||
.show();
|
||||
}
|
||||
|
||||
private void onSetupMore(Intent intent) {
|
||||
drawerLayout.openDrawer(GravityCompat.START);
|
||||
}
|
||||
@@ -1796,8 +1786,6 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||
onManageCertificates(intent);
|
||||
else if (ACTION_IMPORT_CERTIFICATE.equals(action))
|
||||
onImportCertificate(intent);
|
||||
else if (ACTION_SETUP_ADVANCED.equals(action))
|
||||
onSetupAdvanced(intent);
|
||||
else if (ACTION_SETUP_MORE.equals(action))
|
||||
onSetupMore(intent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user