diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2011-04-23 12:31:35 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2011-04-23 12:40:46 +0200 |
commit | aa7e84fcb8314f2f765609c20a4fb714200f7f46 (patch) | |
tree | 725af10165329e9333bc06583b93db264ea9501b /services/java/com/android/server/status/TrackingPatternView.java | |
parent | 2d2e45880c1b92288907eaf591b9a8d0e652ff5c (diff) | |
download | frameworks_base-aa7e84fcb8314f2f765609c20a4fb714200f7f46.zip frameworks_base-aa7e84fcb8314f2f765609c20a4fb714200f7f46.tar.gz frameworks_base-aa7e84fcb8314f2f765609c20a4fb714200f7f46.tar.bz2 |
fix cyanogenmod bug #2770 (cannot find symbol statusbar_background_sq)
The cyanogenmod bug #2770 is available at :
http://code.google.com/p/cyanogenmod/issues/detail?id=2770
The bug is a compilation failure which fails like that:
target Dex: Development
frameworks/base/services/java/com/android/server/status/StatusBarService.java:338: cannot find symbol
symbol : variable statusbar_background_sq
location: class com.android.internal.R.drawable
mStatusBarView.setBackgroundDrawable(res.getDrawable(com.android.internal.R.drawable.statusbar_background_sq,
[...]
Note that only the commit message was touched by Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
The patch itself was untouched.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Diffstat (limited to 'services/java/com/android/server/status/TrackingPatternView.java')
-rw-r--r-- | services/java/com/android/server/status/TrackingPatternView.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/services/java/com/android/server/status/TrackingPatternView.java b/services/java/com/android/server/status/TrackingPatternView.java index 46648af..774d88d 100644 --- a/services/java/com/android/server/status/TrackingPatternView.java +++ b/services/java/com/android/server/status/TrackingPatternView.java @@ -77,15 +77,7 @@ public class TrackingPatternView extends View { Settings.System.NOTIF_EXPANDED_BAR_CUSTOM, 0) == 1; int expBarColorMask = Settings.System.getInt(mContext.getContentResolver(), Settings.System.NOTIF_EXPANDED_BAR_COLOR, 0xFF000000); - if (useCustomExp) { - Bitmap tempbm = BitmapFactory.decodeResource(getResources(), - com.android.internal.R.drawable.status_bar_background_cust); - Bitmap mutable = Bitmap.createBitmap(tempbm.getWidth(), tempbm.getHeight(), Bitmap.Config.ARGB_8888); - mutable.eraseColor(expBarColorMask); - mTexture = mutable; - } else { - mTexture = BitmapFactory.decodeResource(getResources(), - com.android.internal.R.drawable.status_bar_background); - } + mTexture = BitmapFactory.decodeResource(getResources(), + com.android.internal.R.drawable.status_bar_background); } } |