private void updateImmediate() { lazyInit(); mColorWrapper.setColor(mBackgroundColor); if (mDimWrapper != null) { mDimWrapper.setAlpha(mBackgroundColor == Color.TRANSPARENT ? 0 : DIM_ALPHA_ON_SOLID); } showWallpaper(mBackgroundColor == Color.TRANSPARENT); mThemeDrawable = getThemeDrawable(); mLayerDrawable.setDrawableByLayerId(R.id.background_theme, mThemeDrawable); if (mBackgroundDrawable == null) { mLayerDrawable.setDrawableByLayerId(R.id.background_imagein, createEmptyDrawable()); } else { if (DEBUG) Log.v(TAG, "Background drawable is available"); mImageInWrapper = new DrawableWrapper(mBackgroundDrawable); mLayerDrawable.setDrawableByLayerId(R.id.background_imagein, mBackgroundDrawable); if (mDimWrapper != null) { mDimWrapper.setAlpha(FULL_ALPHA); } } }