Test for issue #2226370: Resource versions match with equality

Adds tests to ensure that version number is being handled correctly.
Also fixed build to include required density resources.

Change-Id: Ia201d9e9ed7603c69ad12d79098f8584479f28fe
diff --git a/tests/Android.mk b/tests/Android.mk
index 1dcb569..64517af 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -24,8 +24,8 @@
 
 LOCAL_JAVA_LIBRARIES := android.test.runner
 
-# Resource unit tests use a private locale
-LOCAL_AAPT_FLAGS = -c xx_YY -c cs
+# Resource unit tests use a private locale and some densities
+LOCAL_AAPT_FLAGS = -c xx_YY -c cs -c 32dpi -c 240dpi -c 160dpi
 
 LOCAL_PACKAGE_NAME := CtsTestStubs