Skip to content

Commit c1a9b03

Browse files
committed
Remove duplicate '=' in exception message
Remove duplicate '=' in IllegalArgumentException of MyAdapter::getItem() Change-Id: I151a1432a9f54c8d42bae295f3967b0be2223026
1 parent 13b21e6 commit c1a9b03

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

policy/src/com/android/internal/policy/impl/GlobalActions.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,10 @@ public Action getItem(int position) {
316316
filteredPos++;
317317
}
318318

319-
throw new IllegalArgumentException("position " + position + " out of "
320-
+ "range of showable actions, filtered count = "
321-
+ "= " + getCount() + ", keyguardshowing=" + mKeyguardShowing
319+
throw new IllegalArgumentException("position " + position
320+
+ " out of range of showable actions"
321+
+ ", filtered count=" + getCount()
322+
+ ", keyguardshowing=" + mKeyguardShowing
322323
+ ", provisioned=" + mDeviceProvisioned);
323324
}
324325

0 commit comments

Comments
 (0)