16.0: Add GrapheneOS' exec-based spawning feature + misc tweaks

- patch credit updates
- 16.0: allow SystemUI to directly manage Bluetooth/WiFi
 - from GrapheneOS
- cleanup
This commit is contained in:
Tad 2019-08-30 02:09:45 -04:00
parent e10a865b05
commit 330df0983c
7 changed files with 566 additions and 102 deletions

View file

@ -130,7 +130,7 @@ generateBootAnimationShine() {
export -f generateBootAnimationShine;
audit2allowCurrent() {
adb logcat -b all -d | audit2allow -p "$ANDROID_PRODUCT_OUT"/root/sepolicy;
adb logcat -b all -d | audit2allow -p "$OUT"/root/sepolicy;
}
export -f audit2allowCurrent;
@ -141,6 +141,7 @@ audit2allowADB() {
export -f audit2allowADB;
processRelease() {
#Credit: GrapheneOS
#https://github.com/GrapheneOS/script/blob/pie/release.sh
DEVICE="$1";
BLOCK="$2";