summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/status/TrackingPatternView.java
diff options
context:
space:
mode:
Diffstat (limited to 'services/java/com/android/server/status/TrackingPatternView.java')
-rw-r--r--services/java/com/android/server/status/TrackingPatternView.java12
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);
}
}