Simplify: use AddonManager.getInstallForFile()