Merge "Improve dumpsys for installed distros"

This commit is contained in:
Neil Fuller
2018-01-23 17:54:29 +00:00
committed by Android (Google) Code Review
3 changed files with 23 additions and 25 deletions

View File

@@ -126,9 +126,6 @@ public final class RulesState implements Parcelable {
mStagedOperationType == STAGED_OPERATION_INSTALL /* requireNotNull */,
"stagedDistroRulesVersion", stagedDistroRulesVersion);
if (operationInProgress && distroStatus != DISTRO_STATUS_UNKNOWN) {
throw new IllegalArgumentException("distroInstalled != DISTRO_STATUS_UNKNOWN");
}
this.mDistroStatus = validateDistroStatus(distroStatus);
this.mInstalledDistroRulesVersion = validateConditionalNull(
mDistroStatus == DISTRO_STATUS_INSTALLED/* requireNotNull */,