add permissions to apk for packaged app