From 9e91bb0709f420a8c19c344965cc1410a38bccd5 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Wed, 5 Mar 2014 17:50:50 -0800 Subject: Fix overdraw in Dialer * Set window background to null per framework advice to reduce overdraw * Remove unnecessary background layers * Fix the slightly deeper gray background above the searchbox Bug: 10446771 Change-Id: Ie11db155593c7ea2118141aec876da37be35a7d5 --- src/com/android/dialer/calllog/CallLogActivity.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/com/android/dialer/calllog/CallLogActivity.java') diff --git a/src/com/android/dialer/calllog/CallLogActivity.java b/src/com/android/dialer/calllog/CallLogActivity.java index 42318f0f1..d1b362365 100644 --- a/src/com/android/dialer/calllog/CallLogActivity.java +++ b/src/com/android/dialer/calllog/CallLogActivity.java @@ -115,6 +115,7 @@ public class CallLogActivity extends Activity { super.onCreate(savedInstanceState); setContentView(R.layout.call_log_activity); + getWindow().setBackgroundDrawable(null); final ActionBar actionBar = getActionBar(); actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); -- cgit v1.2.3