Bug 824142: Color mismatch between backgrounds in awesomescreen in PBM. [r=mfinkle]
authorSriram Ramasubramanian <sriram@mozilla.com>
Wed, 26 Dec 2012 11:11:29 -0800
changeset 126162 7b206ae3187e0735f9ec4b368491c8df7b6da1c0
parent 126161 869f370625c66d30965f318ab9dc3af833256b3b
child 126163 2cab642a3317e4d2554bc20da9a1ed3b71251a58
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs824142
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 824142: Color mismatch between backgrounds in awesomescreen in PBM. [r=mfinkle]
mobile/android/base/AwesomeBarTabs.java
mobile/android/base/resources/drawable-nodpi/abouthome_bg_pb.png
--- a/mobile/android/base/AwesomeBarTabs.java
+++ b/mobile/android/base/AwesomeBarTabs.java
@@ -358,17 +358,17 @@ public class AwesomeBarTabs extends TabH
         public void onLightweightThemeChanged() {
             LightweightThemeDrawable drawable = mActivity.getLightweightTheme().getColorDrawable(this);
             if (drawable == null)
                 return;
 
             drawable.setAlpha(255, 0);
 
             StateListDrawable stateList = new StateListDrawable();
-            stateList.addState(new int[] { R.attr.state_private }, mActivity.getResources().getDrawable(R.drawable.address_bar_bg_private));
+            stateList.addState(new int[] { R.attr.state_private }, mActivity.getResources().getDrawable(R.drawable.abouthome_bg_pb_repeat));
             stateList.addState(new int[] {}, drawable);
 
             int[] padding =  new int[] { getPaddingLeft(),
                                          getPaddingTop(),
                                          getPaddingRight(),
                                          getPaddingBottom()
                                        };
             setBackgroundDrawable(stateList);
index 1a25b9b8d2109024fb8e4c180d3a1c0842f2163c..70b7c58fffc02aa964348a6a2abc1657a56adc36
GIT binary patch
literal 3579
zc$}SAc|4Ts+n=mQL&V8JXbd_r#%yMoVMf!8kz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