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

Commit 672d7659 authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Theme app according to our palette

parent c2e8312e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -243,6 +243,7 @@ android_app {
        "libphonenumber",
        "org.lineageos.lib.phone",
        "volley",
        "elib",
    ],
    use_embedded_native_libs: true,
}
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ public class ViewPagerTabStrip extends LinearLayout {

    mSelectedUnderlineThickness = res.getDimensionPixelSize(R.dimen.tab_selected_underline_height);
    int underlineColor = ThemeComponent.get(context).theme().getColorAccent();
    int backgroundColor = ThemeComponent.get(context).theme().getColorPrimary();
    int backgroundColor = context.getResources().getColor(R.color.dialer_primary_color);

    mSelectedUnderlinePaint = new Paint();
    mSelectedUnderlinePaint.setColor(underlineColor);
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ public final class LegacyVoicemailNotifier {
    Notification.Builder builder =
        new Notification.Builder(context)
            .setSmallIcon(android.R.drawable.stat_notify_voicemail)
            .setColor(ThemeComponent.get(context).theme().getColorPrimary())
            .setColor(context.getResources().getColor(R.color.dialer_primary_color))
            .setWhen(System.currentTimeMillis())
            .setContentTitle(notificationTitle)
            .setContentText(contentText)
+1 −1
Original line number Diff line number Diff line
@@ -371,7 +371,7 @@ public class MissedCallNotifier implements Worker<Pair<Integer, String>, Void> {
    return new Notification.Builder(context, NotificationChannelId.MISSED_CALL)
        .setGroup(MissedCallConstants.GROUP_KEY)
        .setSmallIcon(android.R.drawable.stat_notify_missed_call)
        .setColor(ThemeComponent.get(context).theme().getColorPrimary())
        .setColor(context.getResources().getColor(R.color.dialer_primary_color))
        .setAutoCancel(true)
        .setOnlyAlertOnce(true)
        .setShowWhen(true)
+1 −1
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@ final class VisualVoicemailNotifier {
  private static NotificationCompat.Builder createNotificationBuilder(@NonNull Context context) {
    return new NotificationCompat.Builder(context)
        .setSmallIcon(android.R.drawable.stat_notify_voicemail)
        .setColor(ThemeComponent.get(context).theme().getColorPrimary())
        .setColor(context.getResources().getColor(R.color.dialer_primary_color))
        .setGroup(GROUP_KEY)
        .setOnlyAlertOnce(true)
        .setAutoCancel(true);
Loading