From cab1db11ee76ec9cd232685c72f2ade352aadf84 Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Wed, 1 May 2019 14:52:10 -0700 Subject: [PATCH] Fix another copy and paste of the copy and paste error. Bug: 123955906 Test: bit GtsIncidentConfirmationTestCases:* Change-Id: I251a0295fbd64e8abea2a42af9cc23fb2c39bc63 --- core/java/android/os/IncidentManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/os/IncidentManager.java b/core/java/android/os/IncidentManager.java index 1f61a3c47ff18..ed8d3f7cb0757 100644 --- a/core/java/android/os/IncidentManager.java +++ b/core/java/android/os/IncidentManager.java @@ -576,7 +576,7 @@ public class IncidentManager { } final String id = uri.getQueryParameter(URI_PARAM_REPORT_ID); - if (cls == null) { + if (id == null) { throw new RuntimeException("Invalid URI: No " + URI_PARAM_REPORT_ID + " parameter. " + uri); }