Etar: Set initial package stopped state
Change-Id: Ib3068a56543803fbe81d01f65f1b00d12e505bcd
diff --git a/app/Android.bp b/app/Android.bp
index ef02b7c..b4959c5 100644
--- a/app/Android.bp
+++ b/app/Android.bp
@@ -50,6 +50,7 @@
required: [
"org.lineageos.etar.allowlist",
+ "initial-package-stopped-states-org.lineageos.etar",
"preinstalled-packages-org.lineageos.etar",
],
}
@@ -82,6 +83,14 @@
}
prebuilt_etc {
+ name: "initial-package-stopped-states-org.lineageos.etar",
+ product_specific: true,
+ sub_dir: "sysconfig",
+ src: "initial-package-stopped-states-org.lineageos.etar.xml",
+ filename_from_src: true,
+}
+
+prebuilt_etc {
name: "preinstalled-packages-org.lineageos.etar",
product_specific: true,
sub_dir: "sysconfig",
diff --git a/app/initial-package-stopped-states-org.lineageos.etar.xml b/app/initial-package-stopped-states-org.lineageos.etar.xml
new file mode 100644
index 0000000..08785ed
--- /dev/null
+++ b/app/initial-package-stopped-states-org.lineageos.etar.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.etar" stopped="false"/>
+</config>