Glimpse: Set initial package stopped state
Change-Id: Ib3068a56543803fbe81d01f65f1b00d12e505bcd
diff --git a/app/Android.bp b/app/Android.bp
index 1b6e958..12b9db8 100644
--- a/app/Android.bp
+++ b/app/Android.bp
@@ -30,6 +30,7 @@
required: [
"GlimpseFrameworksBaseOverlay",
+ "initial-package-stopped-states-org.lineageos.glimpse",
"preinstalled-packages-org.lineageos.glimpse",
],
@@ -63,6 +64,14 @@
}
prebuilt_etc {
+ name: "initial-package-stopped-states-org.lineageos.glimpse",
+ product_specific: true,
+ sub_dir: "sysconfig",
+ src: "initial-package-stopped-states-org.lineageos.glimpse.xml",
+ filename_from_src: true,
+}
+
+prebuilt_etc {
name: "preinstalled-packages-org.lineageos.glimpse",
product_specific: true,
sub_dir: "sysconfig",
diff --git a/app/initial-package-stopped-states-org.lineageos.glimpse.xml b/app/initial-package-stopped-states-org.lineageos.glimpse.xml
new file mode 100644
index 0000000..cb9c14a
--- /dev/null
+++ b/app/initial-package-stopped-states-org.lineageos.glimpse.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ SPDX-FileCopyrightText: 2024 The LineageOS Project
+ SPDX-License-Identifier: Apache-2.0
+-->
+<config>
+ <initial-package-state package="org.lineageos.glimpse" stopped="false"/>
+</config>