Allow custom density setting

Conflicts:
	graphics/java/android/graphics/Bitmap.java