Skip to content

Conversation

@JingMatrix
Copy link
Contributor

If an attribute has known type, we should return the value without wrapping it. It happens that when parsing the minSdkVersion attribute () of the package com.xunmeng.pinduoduo, the condition i == idAttribute is valid, which causes invalid return value of getAttrValue. This commit fix the issue JingMatrix/LSPatch#24

If an attribute has known type, we should return the value without wrapping it.
It happens that when parsing the minSdkVersion attribute (<uses-sdk />) of the package `com.xunmeng.pinduoduo`, the condition `i == idAttribute` is valid, which causes invalid return value of `getAttrValue`.
This commit fix the issue JingMatrix/LSPatch#24
JingMatrix added a commit to JingMatrix/LSPatch that referenced this pull request Jan 18, 2025
Close #24 as fixed, which is explained in WindySha/ManifestEditor#23.
@JingMatrix
Copy link
Contributor Author

@WindySha Could you please have a look and merge this?

@WindySha WindySha merged commit 9dbb931 into WindySha:master Mar 12, 2025
@WindySha
Copy link
Owner

Thanks. @JingMatrix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants