summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-08-08 18:30:26 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-08-08 18:30:26 +0000
commit0ba853625e679551515f207cf0c479ddfa54a20b (patch)
tree415211a46e4cae99a928c68160e881eaa2408f89 /java
parentf518e1eef8f16fe79cbfd11ab1f05981ba42ce7b (diff)
parent05903055b22f8b1a5e385030905af3d5de1d784e (diff)
Merge "Apply application theme to call details."
Diffstat (limited to 'java')
-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);