summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Erfanian <erfanian@google.com>2018-08-08 11:47:17 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-08-08 11:47:17 -0700
commitfc082755f32a7d5c874574c9e6f656bed6efa223 (patch)
tree415211a46e4cae99a928c68160e881eaa2408f89
parent8fe2b8d569858331c7e1a1c94a765208d6bf195a (diff)
parent0ba853625e679551515f207cf0c479ddfa54a20b (diff)
Merge "Apply application theme to call details."
am: 0ba853625e Change-Id: Idd967d06f788bf467467b522e5578aed3f6c39fd
-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);