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

Commit 59fab371 authored by Fynn Godau's avatar Fynn Godau
Browse files

Improve license notification icon & sound

parent bf94913a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -74,7 +74,8 @@ public class LicenseServiceNotificationRunnable implements Runnable {
        );

        Notification notification = new NotificationCompat.Builder(context, CHANNEL_ID)
            .setSmallIcon(R.drawable.ic_app_foreground)
            .setSmallIcon(R.drawable.ic_notification)
            .setSound(null)
            .setContentTitle(context.getString(R.string.license_notification_title, callerAppName))
            .setContentText(context.getString(R.string.license_notification_body))
            .addAction(
@@ -103,6 +104,7 @@ public class LicenseServiceNotificationRunnable implements Runnable {
                NotificationManager.IMPORTANCE_HIGH
            );
            channel.setDescription(context.getString(R.string.license_notification_channel_description));
            channel.setSound(null, null);

            NotificationManager notificationManager = context.getSystemService(NotificationManager.class);
            notificationManager.createNotificationChannel(channel);
+42 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ SPDX-FileCopyrightText: 2023 microG Project Team
  ~ SPDX-License-Identifier: CC-BY-SA-4.0
  -->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="108dp"
    android:height="108dp"
    android:viewportWidth="225.27"
    android:viewportHeight="225.27">
    <group
        android:scaleX="1"
        android:scaleY="1"
        android:translateX="0"
        android:translateY="0">
        <path
            android:pathData="m151.55,151.53a55,55 0,0 1,-66.39 8.74"
            android:strokeWidth="30"
            android:fillColor="#00000000"
            android:strokeColor="#e91e63"
            android:strokeLineCap="butt" />
        <path
            android:pathData="M85.16,160.27A55,55 0,0 1,59.53 98.4"
            android:strokeWidth="30"
            android:fillColor="#00000000"
            android:strokeColor="#ff9800"
            android:strokeLineCap="butt" />
        <path
            android:pathData="m59.53,98.4a55,55 0,0 1,25.63 -33.4"
            android:strokeWidth="30"
            android:fillColor="#00000000"
            android:strokeColor="#cddc39"
            android:strokeLineCap="butt" />
        <path
            android:pathData="m85.16,65.01a55,55 0,0 1,66.39 8.74"
            android:strokeWidth="30"
            android:fillColor="#00000000"
            android:strokeColor="#009688"
            android:strokeLineCap="butt" />
    </group>
</vector>