summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorEric Erfanian <erfanian@google.com>2018-08-08 21:56:25 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-08-08 21:56:25 -0700
commited3ffd872261673e1c9bc5a7ec682a13bab5a93f (patch)
tree415211a46e4cae99a928c68160e881eaa2408f89 /java
parent2ce7c3dd0e2bc7933f6bc9493fb005abfb7e2fb3 (diff)
parent9a48ff9f9a09595fbd74bd3ad62de833713fed5a (diff)
Merge "Apply application theme to call details." am: 0ba853625e am: fc082755f3 am: 53c1dcfdad
am: 9a48ff9f9a Change-Id: I1c7a0518cdff9608144371de0473e5d7dfe19b46
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);