{"comment":{"url":"https://api.github.com/repos/rovo89/XposedBridge/comments/11914984","html_url":"https://github.com/rovo89/XposedBridge/commit/7ae618558d3e4c58eb0e2451a216996a3aa5ad55#commitcomment-11914984","id":11914984,"user":{"login":"rovo89","id":1573299,"avatar_url":"https://avatars.githubusercontent.com/u/1573299?v=3","gravatar_id":"","url":"https://api.github.com/users/rovo89","html_url":"https://github.com/rovo89","followers_url":"https://api.github.com/users/rovo89/followers","following_url":"https://api.github.com/users/rovo89/following{/other_user}","gists_url":"https://api.github.com/users/rovo89/gists{/gist_id}","starred_url":"https://api.github.com/users/rovo89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rovo89/subscriptions","organizations_url":"https://api.github.com/users/rovo89/orgs","repos_url":"https://api.github.com/users/rovo89/repos","events_url":"https://api.github.com/users/rovo89/events{/privacy}","received_events_url":"https://api.github.com/users/rovo89/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"7ae618558d3e4c58eb0e2451a216996a3aa5ad55","created_at":"2015-06-29T17:30:41Z","updated_at":"2015-06-29T17:30:41Z","body":"> If should check for -1 or <= 0. Shouldn't it?\r\n\r\nYes, I will correct that.\r\n\r\nIt seems that I found the reason for issue: ProGuard is optimizing the APK, but it only runs on the release build. The resulting dex code still contains the call to `getActiveXposedVersion()`, but the result is not used. Now I just need to find out which optimizations I have to block in the config, then I will release a new version. I thought about using your approach and change the result type to Integer, but there's no guarantee that this won't be optimized away in the future as well."}}