opengapps/opengapps

Automate additional priv-apps permissions

开放

#874 创建于 2020年8月22日

 (1 条评论) (6 个反应) (0 位负责人)Shell (971 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (5,458 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Something should be added to the crawler/build scripts to extract and automatically add new required permissions, I should think.

Originally posted by @osm0sis in https://github.com/opengapps/opengapps/issues/873#issuecomment-678505040

The fix would go in add_sources.sh in the main repo. I do not have the time to add this but AOSP has a python script that is most of the way there.

Originally posted by @NicholasBuse in https://github.com/opengapps/opengapps/issues/873#issuecomment-678526394

This would fix ongoing bad builds from updated APKs causing bootloops for the masses, which are only being fixed reactionarily currently.

AOSP script: https://android.googlesource.com/platform/development/+/master/tools/privapp_permissions/privapp_permissions.py

贡献者指南