From 05903055b22f8b1a5e385030905af3d5de1d784e Mon Sep 17 00:00:00 2001 From: Eric Erfanian Date: Wed, 8 Aug 2018 09:25:37 -0700 Subject: Apply application theme to call details. Bug: 111437430 Test: make Change-Id: Ib6658962f5339c33a28e326fb0478d2f4df786bd --- java/com/android/dialer/calldetails/CallDetailsActivityCommon.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/com/android/dialer/calldetails/CallDetailsActivityCommon.java b/java/com/android/dialer/calldetails/CallDetailsActivityCommon.java index 86a2676f5..a26f322dd 100644 --- a/java/com/android/dialer/calldetails/CallDetailsActivityCommon.java +++ b/java/com/android/dialer/calldetails/CallDetailsActivityCommon.java @@ -58,6 +58,7 @@ import com.android.dialer.postcall.PostCall; import com.android.dialer.precall.PreCall; import com.android.dialer.rtt.RttTranscriptActivity; import com.android.dialer.rtt.RttTranscriptUtil; +import com.android.dialer.theme.base.ThemeComponent; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableSet; import com.google.i18n.phonenumbers.NumberParseException; @@ -116,6 +117,7 @@ abstract class CallDetailsActivityCommon extends AppCompatActivity { @CallSuper protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + setTheme(ThemeComponent.get(this).theme().getApplicationThemeRes()); setContentView(R.layout.call_details_activity); Toolbar toolbar = findViewById(R.id.toolbar); toolbar.setTitle(R.string.call_details); -- cgit v1.2.3