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

Commit ce1a8c8d authored by Romain Hunault's avatar Romain Hunault 🚴🏻
Browse files

Merge branch 'dialer_crash_fix' into 'v1-q'

Dialer crash fix

See merge request e/os/android_packages_apps_Dialer!34
parents 9749823a f93210ff
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ public class InCallUIMaterialColorMapUtils extends MaterialColorMapUtils {
  @SuppressWarnings("deprecation")
  public static MaterialPalette getDefaultPrimaryAndSecondaryColors(Context context) {
    final int primaryColor = ThemeComponent.get(context).theme().getColorPrimary();
    final int secondaryColor = ThemeComponent.get(context).theme().getColorPrimaryDark();
    final int secondaryColor = context.getResources().getColor(R.color.dialer_theme_color_dark);
    return new MaterialPalette(primaryColor, secondaryColor);
  }