Initial unified commit for Android 13, with "light" GSI target

This commit is contained in:
Andy CrossGate Yan
2022-09-28 15:49:08 +00:00
commit 65d23014f6
83 changed files with 8544 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
From 1193bdf321a07cbffbad383cf3a9968d293099c1 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Sat, 24 Sep 2022 11:40:52 +0000
Subject: [PATCH 1/2] vendor_lineage: Commonly build some packages
These were in handheld_product.mk and thus weren't included in GSI targets:
Contacts, DeskClock, Gallery2, fwb overlays
Change-Id: I00cc5918164ed70c612c5caa31eb8d2d0cd05b62
---
config/common_mobile.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/config/common_mobile.mk b/config/common_mobile.mk
index 547804ce..3c58d9ff 100644
--- a/config/common_mobile.mk
+++ b/config/common_mobile.mk
@@ -10,12 +10,16 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_PACKAGES += \
Aperture \
Backgrounds \
+ Contacts \
+ DeskClock \
Eleven \
Etar \
ExactCalculator \
+ Gallery2 \
Jelly \
Profiles \
- Seedvault
+ Seedvault \
+ frameworks-base-overlays
ifneq ($(TARGET_EXCLUDES_AUDIOFX),true)
PRODUCT_PACKAGES += \
--
2.25.1

View File

@@ -0,0 +1,34 @@
From 60803f4939a1df05b7c29925a987efe7e899ba7c Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Tue, 19 Oct 2021 15:48:43 +0000
Subject: [PATCH 2/2] vendor_lineage: Disable ADB authentication
Change-Id: I4370583ecab1c88ef6f42e29d3eaa52c24d13f09
---
config/common.mk | 5 -----
1 file changed, 5 deletions(-)
diff --git a/config/common.mk b/config/common.mk
index 52a4bfd4..a57536c3 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -13,16 +13,11 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.com.google.clientidbase=$(PRODUCT_GMS_CLIENTID_BASE)
endif
-ifeq ($(TARGET_BUILD_VARIANT),eng)
# Disable ADB authentication
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=0
-else
-# Enable ADB authentication
-PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=1
# Disable extra StrictMode features on all non-engineering builds
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += persist.sys.strictmode.disable=true
-endif
# Backup Tool
PRODUCT_COPY_FILES += \
--
2.25.1