Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f554e13a authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Fix Glimpse and Twelve causing errors in A14 and below

parent 4c3e2f4c
Loading
Loading
Loading
Loading
+19 −3
Original line number Diff line number Diff line
@@ -10,12 +10,28 @@ android_app_import {
    apk: "app-release.apk",
    product_specific: true,
    required: [
        "GlimpseFrameworksBaseOverlay",
        "initial-package-stopped-states-org.lineageos.glimpse",
        "preinstalled-packages-org.lineageos.glimpse",
        "e_GlimpseFrameworksBaseOverlay",
        "e_initial-package-stopped-states-org.lineageos.glimpse",
        "e_preinstalled-packages-org.lineageos.glimpse",
    ],
    optional_uses_libs: [
        "androidx.window.extensions",
        "androidx.window.sidecar",
    ],
}

prebuilt_etc {
    name: "e_initial-package-stopped-states-org.lineageos.glimpse",
    product_specific: true,
    sub_dir: "sysconfig",
    src: "initial-package-stopped-states-org.lineageos.glimpse.xml",
    filename: "e_initial-package-stopped-states-org.lineageos.glimpse.xml",
}

prebuilt_etc {
    name: "e_preinstalled-packages-org.lineageos.glimpse",
    product_specific: true,
    sub_dir: "sysconfig",
    src: "preinstalled-packages-org.lineageos.glimpse.xml",
    filename: "e_preinstalled-packages-org.lineageos.glimpse.xml",
}
+8 −0
Original line number Diff line number Diff line
<?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>
+12 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     SPDX-FileCopyrightText: 2024 The LineageOS Project
     SPDX-License-Identifier: Apache-2.0
-->
<config>
    <install-in-user-type package="org.lineageos.glimpse">
        <install-in user-type="FULL" />
        <install-in user-type="PROFILE" />
        <do-not-install-in user-type="android.os.usertype.profile.CLONE" />
    </install-in-user-type>
</config>
+13 −0
Original line number Diff line number Diff line
//
// SPDX-FileCopyrightText: 2024 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//

package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

runtime_resource_overlay {
    name: "e_GlimpseFrameworksBaseOverlay",
    product_specific: true,
}
+16 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     SPDX-FileCopyrightText: 2024 The LineageOS Project
     SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="org.lineageos.glimpse.frameworksbaseoverlay"
    android:versionCode="1"
    android:versionName="1.0">

    <application android:hasCode="false" />

    <overlay android:targetPackage="android"
        android:priority="0"
        android:isStatic="true" />
</manifest>
Loading