Remove some unused code found by Studio

This commit is contained in:
Daniel Martí 2015-12-07 21:06:58 +01:00
parent 9a9e5c8668
commit 9a0ba186e6
2 changed files with 0 additions and 7 deletions

View File

@ -353,17 +353,12 @@ public class UpdateService extends IntentService implements ProgressListener {
//List<Repo> swapRepos = new ArrayList<>();
List<Repo> unchangedRepos = new ArrayList<>();
List<Repo> updatedRepos = new ArrayList<>();
List<Repo> disabledRepos = new ArrayList<>();
List<CharSequence> errorRepos = new ArrayList<>();
ArrayList<CharSequence> repoErrors = new ArrayList<>();
boolean changes = false;
boolean singleRepoUpdate = !TextUtils.isEmpty(address);
for (final Repo repo : repos) {
if (!repo.inuse) {
disabledRepos.add(repo);
continue;
}
if (singleRepoUpdate && !repo.address.equals(address)) {
unchangedRepos.add(repo);
continue;

View File

@ -77,7 +77,6 @@ public class AppSecurityPermissions {
private final PermissionGroupInfoComparator mPermGroupComparator = new PermissionGroupInfoComparator();
private final PermissionInfoComparator mPermComparator = new PermissionInfoComparator();
private final CharSequence mNewPermPrefix;
private String mPackageName;
static class MyPermissionGroupInfo extends PermissionGroupInfo {
CharSequence mLabel;
@ -238,7 +237,6 @@ public class AppSecurityPermissions {
if (info == null) {
return;
}
mPackageName = info.packageName;
final Set<MyPermissionInfo> permSet = new HashSet<>();
PackageInfo installedPkgInfo = null;