enable JAVA build if allowed

- previously disabled in PDK build

Change-Id: Ic7c87d839e8feac940e8f1dfa0a5899868df776c
diff --git a/apps/client/Android.mk b/apps/client/Android.mk
index 2318fe3..dfb6357 100644
--- a/apps/client/Android.mk
+++ b/apps/client/Android.mk
@@ -14,7 +14,7 @@
 # limitations under the License.
 #
 
-ifneq ($(TARGET_BUILD_PDK),true)
+ifneq ($(TARGET_BUILD_JAVA_SUPPORT_LEVEL),)
 
 # This makefile is an example of writing an application that will link against
 # a custom shared library included with an Android system.
@@ -40,4 +40,4 @@
 
 include $(BUILD_PACKAGE)
 
-endif # !PDK
\ No newline at end of file
+endif # JAVA_SUPPORT