Remove some unused code found by Studio
This commit is contained in:
parent
9a9e5c8668
commit
9a0ba186e6
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user