3 Commits
vic ... tau

Author SHA1 Message Date
Giovanni Ricca
e8c101ba0e Remove SpeechServicesByGoogle as well
* Used mostly by talkback and GoogleTTS, which we remove as well for low resource devices
* This matches TARGET_IS_GROUPER guard on inline builds

Change-Id: I9fdba8e8dc84933b715aa5816d1d061bde8a01a6
2023-12-04 16:32:08 +00:00
LuK1337
2fe4d03e7b Use zip for packing overlays
No idea why, but CI ends up with overlays containing files in the wrong
order.
2023-10-25 21:57:42 +02:00
LuK1337
49600a70c4 Add config_defaultAssistant overlay 2023-10-12 18:44:34 +02:00
3 changed files with 8 additions and 1 deletions

View File

@@ -108,6 +108,7 @@ remove_big_optional_apps() {
ui_print "Low resource device detected, removing large extras"
rm -rf product/app/GoogleTTS
rm -rf product/app/MarkupGoogle
rm -rf product/app/SpeechServicesByGoogle
rm -rf product/app/talkback
rm -rf product/priv-app/GoogleRestore
rm -rf product/priv-app/Velvet

View File

@@ -57,6 +57,9 @@
<item>com.google.android.gms</item>
</string-array>
<!-- The name of the package that will hold the assistant role by default. -->
<string name="config_defaultAssistant" translatable="false">com.google.android.googlequicksearchbox</string>
<!-- Component name that accepts settings intents for saved devices.
Used by FastPairSettingsFragment. -->
<string translatable="false" name="config_defaultNearbyFastPairSettingsDevicesComponent">com.google.android.gms/com.google.android.gms.nearby.discovery.devices.SavedDevicesSettingsActivity</string>

View File

@@ -21,7 +21,10 @@ for OVERLAY in $OVERLAYS; do
OVERLAY_TARGET_DIR="$GOUT/system/$PARTITION/overlay/"
OVERLAY_TARGET="$OVERLAY_TARGET_DIR/$OVERLAY.apk"
test -d $OVERLAY_TARGET_DIR || mkdir -p $OVERLAY_TARGET_DIR
java -Xmx2048m -jar $APKTOOL b $OVERLAY -o $OVERLAY_TARGET --use-aapt2 >> $GLOG 2>&1
java -Xmx2048m -jar $APKTOOL b $OVERLAY --use-aapt2 >> $GLOG 2>&1
zip -j $OVERLAY_TARGET -n .arsc \
$OVERLAY/build/apk/resources.arsc \
$OVERLAY/build/apk/AndroidManifest.xml >> $GLOG 2>&1
java -Xmx2048m -jar $APKSIGNER sign --key $APK_KEY_PK8 --cert $APK_KEY_PEM $OVERLAY_TARGET
rm $OVERLAY_TARGET.idsig
done