summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/com/android/incallui/sessiondata/MultimediaFragment.java5
-rw-r--r--java/com/android/incallui/sessiondata/res/values/styles.xml2
2 files changed, 6 insertions, 1 deletions
diff --git a/java/com/android/incallui/sessiondata/MultimediaFragment.java b/java/com/android/incallui/sessiondata/MultimediaFragment.java
index 6c2490f92..ec3a6ff3a 100644
--- a/java/com/android/incallui/sessiondata/MultimediaFragment.java
+++ b/java/com/android/incallui/sessiondata/MultimediaFragment.java
@@ -34,6 +34,7 @@ import android.widget.TextView;
import com.android.dialer.common.FragmentUtils;
import com.android.dialer.common.LogUtil;
import com.android.dialer.multimedia.MultimediaData;
+import com.android.dialer.theme.base.ThemeComponent;
import com.android.incallui.maps.MapsComponent;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.DataSource;
@@ -106,6 +107,10 @@ public class MultimediaFragment extends Fragment implements AvatarPresenter {
@Override
public View onCreateView(
LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) {
+ layoutInflater =
+ layoutInflater.cloneInContext(
+ ThemeComponent.get(getContext()).theme().getThemedContext(getContext()));
+
if (isSpam) {
LogUtil.i("MultimediaFragment.onCreateView", "show spam layout");
return layoutInflater.inflate(R.layout.fragment_spam, viewGroup, false);
diff --git a/java/com/android/incallui/sessiondata/res/values/styles.xml b/java/com/android/incallui/sessiondata/res/values/styles.xml
index dd898a4e2..fe217f0aa 100644
--- a/java/com/android/incallui/sessiondata/res/values/styles.xml
+++ b/java/com/android/incallui/sessiondata/res/values/styles.xml
@@ -18,7 +18,7 @@
<resources>
<style name="Dialer.Incall.TextAppearance.Message" parent="Dialer.Incall.TextAppearance">
<item name="android:fontFamily">sans-serif</item>
- <item name="android:textColor">@android:color/black</item>
+ <item name="android:textColor">?android:attr/textColorPrimary</item>
<item name="android:textSize">24sp</item>
</style>
</resources>