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
|
* fingerprint. In that case, check that fingerprint against what is
|
||||||
* actually in the index.jar itself. If no fingerprint, just store the
|
* actually in the index.jar itself. If no fingerprint, just store the
|
||||||
* signing certificate */
|
* signing certificate */
|
||||||
boolean trustNewSigningCertificate = false;
|
boolean trustNewSigningCertificate;
|
||||||
// If the fingerprint has never been set, it will be null (never "" or something else)
|
// If the fingerprint has never been set, it will be null (never "" or something else)
|
||||||
if (repo.fingerprint == null) {
|
if (repo.fingerprint == null) {
|
||||||
// no info to check things are valid, so just Trust On First Use
|
// 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());
|
AlertDialog.Builder alertBuilder = new AlertDialog.Builder(getActivity());
|
||||||
alertBuilder.setTitle(R.string.system_install_denied_title);
|
alertBuilder.setTitle(R.string.system_install_denied_title);
|
||||||
|
|
||||||
String message = null;
|
String message;
|
||||||
switch (isInstalledCorrectly) {
|
switch (isInstalledCorrectly) {
|
||||||
case PrivilegedInstaller.IS_EXTENSION_INSTALLED_NO:
|
case PrivilegedInstaller.IS_EXTENSION_INSTALLED_NO:
|
||||||
message = getActivity().getString(R.string.system_install_denied_body) +
|
message = getActivity().getString(R.string.system_install_denied_body) +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user