Skip to content

Commit 6dee606

Browse files
committed
v2.3.1
1 parent 07e7613 commit 6dee606

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### v2.3.1
2+
- Prevented ADB bug where category string references weren't changed to an ID.
3+
14
## v2.3.0
25
- Added dismiss listener.
36
- Improved nullity annotations for Kotlin.

icondialog/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ ext {
1414
siteUrl = 'https://github.com/maltaisn/icondialoglib'
1515
gitUrl = 'https://github.com/maltaisn/icondialoglib.git'
1616

17-
libraryVersionCode = 11
18-
libraryVersion = '2.3.0'
17+
libraryVersionCode = 12
18+
libraryVersion = '2.3.1'
1919

2020
developerId = 'maltaisn'
2121

icondialog/src/main/java/com/maltaisn/icondialog/IconHelper.java

+2
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ private synchronized void loadIcons(@XmlRes int xmlFile, boolean append) {
312312
int resId = 0;
313313
if (nameStr != null) {
314314
if (nameStr.startsWith("@string/")) {
315+
// There's an ADB bug where the string reference isn't changed to an ID.
316+
// This detects and prevents it.
315317
resId = context.getResources().getIdentifier(
316318
nameStr.substring(8), "string", context.getPackageName());
317319
} else {

0 commit comments

Comments
 (0)