Loading java/com/android/incallui/InCallActivity.java +3 −3 Original line number Diff line number Diff line Loading @@ -877,9 +877,9 @@ public class InCallActivity extends TransactionSafeFragmentActivity middle = themeColorManager.getBackgroundColorSolid(); bottom = themeColorManager.getBackgroundColorSolid(); } else { top = themeColorManager.getBackgroundColorTop(); middle = themeColorManager.getBackgroundColorMiddle(); bottom = themeColorManager.getBackgroundColorBottom(); top = getResources().getColor(R.color.incall_background_gradient_top); middle = getResources().getColor(R.color.incall_background_gradient_top); bottom = getResources().getColor(R.color.incall_background_gradient_top); } if (progress < 0) { Loading java/com/android/incallui/InCallUIMaterialColorMapUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -62,6 +62,6 @@ public class InCallUIMaterialColorMapUtils extends MaterialColorMapUtils { } // The color isn't in the list, so use the superclass to find an approximate color. return super.calculatePrimaryAndSecondaryColor(resources.getColor(R.color.incall_background_gradient_top)); return super.calculatePrimaryAndSecondaryColor(color); } } java/com/android/incallui/res/values/colors.xml +2 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ primary activity colors. --> <array name="background_colors"> <item>#00796B</item> <item>#3367D6</item> <item>#303F9F</item> <item>#7B1FA2</item> Loading @@ -46,6 +47,7 @@ <!-- Darker versions of background_colors, two shades darker. These colors are used for the status bar. --> <array name="background_colors_dark"> <item>#00695C</item> <item>#2A56C6</item> <item>#283593</item> <item>#6A1B9A</item> Loading Loading
java/com/android/incallui/InCallActivity.java +3 −3 Original line number Diff line number Diff line Loading @@ -877,9 +877,9 @@ public class InCallActivity extends TransactionSafeFragmentActivity middle = themeColorManager.getBackgroundColorSolid(); bottom = themeColorManager.getBackgroundColorSolid(); } else { top = themeColorManager.getBackgroundColorTop(); middle = themeColorManager.getBackgroundColorMiddle(); bottom = themeColorManager.getBackgroundColorBottom(); top = getResources().getColor(R.color.incall_background_gradient_top); middle = getResources().getColor(R.color.incall_background_gradient_top); bottom = getResources().getColor(R.color.incall_background_gradient_top); } if (progress < 0) { Loading
java/com/android/incallui/InCallUIMaterialColorMapUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -62,6 +62,6 @@ public class InCallUIMaterialColorMapUtils extends MaterialColorMapUtils { } // The color isn't in the list, so use the superclass to find an approximate color. return super.calculatePrimaryAndSecondaryColor(resources.getColor(R.color.incall_background_gradient_top)); return super.calculatePrimaryAndSecondaryColor(color); } }
java/com/android/incallui/res/values/colors.xml +2 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ primary activity colors. --> <array name="background_colors"> <item>#00796B</item> <item>#3367D6</item> <item>#303F9F</item> <item>#7B1FA2</item> Loading @@ -46,6 +47,7 @@ <!-- Darker versions of background_colors, two shades darker. These colors are used for the status bar. --> <array name="background_colors_dark"> <item>#00695C</item> <item>#2A56C6</item> <item>#283593</item> <item>#6A1B9A</item> Loading