Remove unnecessary variable initializations
This commit is contained in:
parent
927e05ba8d
commit
1a4c2ca408
@ -293,7 +293,7 @@ public class RepoUpdater {
|
||||
* fingerprint. In that case, check that fingerprint against what is
|
||||
* actually in the index.jar itself. If no fingerprint, just store the
|
||||
* signing certificate */
|
||||
boolean trustNewSigningCertificate = false;
|
||||
boolean trustNewSigningCertificate;
|
||||
// If the fingerprint has never been set, it will be null (never "" or something else)
|
||||
if (repo.fingerprint == null) {
|
||||
// no info to check things are valid, so just Trust On First Use
|
||||
|
@ -209,7 +209,7 @@ public class PreferencesFragment extends PreferenceFragment
|
||||
AlertDialog.Builder alertBuilder = new AlertDialog.Builder(getActivity());
|
||||
alertBuilder.setTitle(R.string.system_install_denied_title);
|
||||
|
||||
String message = null;
|
||||
String message;
|
||||
switch (isInstalledCorrectly) {
|
||||
case PrivilegedInstaller.IS_EXTENSION_INSTALLED_NO:
|
||||
message = getActivity().getString(R.string.system_install_denied_body) +
|
||||
|
Loading…
x
Reference in New Issue
Block a user