Add GmsSetupWizardOverlay
Fixes theme. Values extracted from PixelSetupWizard
Change-Id: I97dc360b04ea14b039d2727e8490de8645a927a5
diff --git a/gms.mk b/gms.mk
index 77b04cc..f8eed94 100644
--- a/gms.mk
+++ b/gms.mk
@@ -41,7 +41,8 @@
## Overlays
PRODUCT_PACKAGES += \
GmsOverlay \
- GmsSettingsProviderOverlay
+ GmsSettingsProviderOverlay \
+ GmsSetupWizardOverlay
## Permissions
PRODUCT_COPY_FILES += \
diff --git a/overlay/GmsSetupWizardOverlay/Android.bp b/overlay/GmsSetupWizardOverlay/Android.bp
new file mode 100644
index 0000000..21a1cc3
--- /dev/null
+++ b/overlay/GmsSetupWizardOverlay/Android.bp
@@ -0,0 +1,4 @@
+runtime_resource_overlay {
+ name: "GmsSetupWizardOverlay",
+ product_specific: true
+}
diff --git a/overlay/GmsSetupWizardOverlay/AndroidManifest.xml b/overlay/GmsSetupWizardOverlay/AndroidManifest.xml
new file mode 100644
index 0000000..34f7447
--- /dev/null
+++ b/overlay/GmsSetupWizardOverlay/AndroidManifest.xml
@@ -0,0 +1,7 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.mtg.gmssetupwizardoverlay"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <application android:hasCode="false" />
+ <overlay android:targetPackage="com.google.android.setupwizard" android:priority="1337" android:isStatic="true" />
+</manifest>
diff --git a/overlay/GmsSetupWizardOverlay/apktool.yml b/overlay/GmsSetupWizardOverlay/apktool.yml
new file mode 100644
index 0000000..874c633
--- /dev/null
+++ b/overlay/GmsSetupWizardOverlay/apktool.yml
@@ -0,0 +1,23 @@
+!!brut.androlib.apk.ApkInfo
+apkFileName: GmsSetupWizardOverlay.apk
+doNotCompress:
+- resources.arsc
+isFrameworkApk: false
+packageInfo:
+ forcedPackageId: '127'
+ renameManifestPackage: null
+resourcesAreCompressed: false
+sdkInfo:
+ minSdkVersion: '34'
+ targetSdkVersion: '34'
+sharedLibrary: false
+sparseResources: true
+unknownFiles: {}
+usesFramework:
+ ids:
+ - 1
+ tag: null
+version: 2.8.1
+versionInfo:
+ versionCode: '1'
+ versionName: '1.0'
diff --git a/overlay/GmsSetupWizardOverlay/res/values/bools.xml b/overlay/GmsSetupWizardOverlay/res/values/bools.xml
new file mode 100644
index 0000000..083f367
--- /dev/null
+++ b/overlay/GmsSetupWizardOverlay/res/values/bools.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <bool name="dynamic_color_enabled">true</bool>
+ <bool name="enable_partner_experiment">true</bool>
+ <bool name="enable_quick_enhanced_biometrics_flow">true</bool>
+ <bool name="extended_partner_config_enabled">true</bool>
+ <bool name="full_dynamic_color_enabled">true</bool>
+</resources>