summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Erfanian <erfanian@google.com>2018-08-08 09:25:37 -0700
committerEric Erfanian <erfanian@google.com>2018-08-08 09:25:37 -0700
commit05903055b22f8b1a5e385030905af3d5de1d784e (patch)
tree415211a46e4cae99a928c68160e881eaa2408f89
parentf518e1eef8f16fe79cbfd11ab1f05981ba42ce7b (diff)
Apply application theme to call details.
Bug: 111437430 Test: make Change-Id: Ib6658962f5339c33a28e326fb0478d2f4df786bd
-rw-r--r--java/com/android/dialer/calldetails/CallDetailsActivityCommon.java2
1 files changed, 2 insertions, 0 deletions
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);