Commit 4381ae9
committed
Fix icon mapping for packs using flattened strings
Some icon packs define components in appfilter.xml using the standard
flattened `ComponentName` format (e.g. "com.example/.MainActivity")
instead of the "ComponentInfo{...}" format. This caused icon lookups
to fail due to mismatched keys.
This change normalizes all component keys using `ComponentName`'s
`flattenToShortString()` and parses both formats in appfilter.xml,
ensuring compatibility with a wider range of icon packs.1 parent 1d4cd7a commit 4381ae9
File tree
1 file changed
+25
-3
lines changed- app/src/main/java/de/markusfisch/android/pielauncher/graphics
1 file changed
+25
-3
lines changedLines changed: 25 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
77 | 84 | | |
78 | 85 | | |
79 | | - | |
80 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
81 | 93 | | |
82 | 94 | | |
83 | 95 | | |
| |||
226 | 238 | | |
227 | 239 | | |
228 | 240 | | |
229 | | - | |
| 241 | + | |
230 | 242 | | |
231 | 243 | | |
232 | 244 | | |
233 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
234 | 256 | | |
235 | 257 | | |
236 | 258 | | |
| |||
0 commit comments