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

Commit 5ca7d2da authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Add DeskClock prebuilt

parent 4234be36
Loading
Loading
Loading
Loading

DeskClock/Android.bp

0 → 100644
+26 −0
Original line number Diff line number Diff line
android_app_import {
    name: "DeskClockPrebuilt",
    default_dev_cert: true,
    overrides: [
        "DeskClock",
        "AlarmClock",
    ],
    apk: "DeskClock-release.apk",
    product_specific: true,
    required: [
        "default-permissions_com.android.deskclock",
        "com.android.deskclock_allowlist",
    ],
    optional_uses_libs: [
        "androidx.window.extensions",
        "androidx.window.sidecar",
    ],
}

prebuilt_etc {
    name: "default-permissions_com.android.deskclock",
    product_specific: true,
    sub_dir: "default-permissions",
    src: "default-permissions_com.android.deskclock.xml",
    filename_from_src: true,
}
+132 B

File added.

No diff preview for this file type.

+23 −0
Original line number Diff line number Diff line
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!-- Copyright (C) 2026  e Foundation

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<exceptions>
    <exception package="com.android.deskclock">
        <!-- Notifications -->
        <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
        <!-- Power off alarm -->
        <permission name="org.codeaurora.permission.POWER_OFF_ALARM" fixed="false"/>
    </exception>
</exceptions>
+1 −0
Original line number Diff line number Diff line
@@ -99,6 +99,7 @@ endif
# Lineage Prebuilt apps
ifneq ($(shell test $(PLATFORM_SDK_VERSION) -ge 35 && echo true),)
PRODUCT_PACKAGES += \
    DeskClockPrebuilt \
    GlimpsePrebuilt \
    TwelvePrebuilt
endif