Revert the open-source LatinIME package name -
from com.google.android.inputmethod.latin to com.android.inputmethod.latin
Related change: https://android-git.corp.google.com/g/60862
bug: 2786392
Change-Id: Ib7c6cfe61db19ef50c401a01497eef5f1f5e239e
diff --git a/java/Android.mk b/java/Android.mk
index 0d5a93d..4bb8986 100755
--- a/java/Android.mk
+++ b/java/Android.mk
@@ -14,20 +14,9 @@
LOCAL_STATIC_JAVA_LIBRARIES := android-common
#LOCAL_AAPT_FLAGS := -0 .dict
-# The following flag is required because we use a different package name
-# com.google.android.inputmethod.latin than Java package name
-# com.android.inputmethod.latin
-LOCAL_AAPT_FLAGS := --custom-package com.android.inputmethod.latin
-LOCAL_SDK_VERSION := 8
+LOCAL_SDK_VERSION := current
LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags
-# Define LOCAL_DICTIONARY_RESOURCE_DIR in order to overlay dictionaries.
-# The overlay dictionary resource directory should have dictionary files such
-# as raw-en/main.dict, raw-es/main.dict per locale.
-ifneq ($(strip $(LOCAL_DICTIONARY_RESOURCE_DIR)),)
-LOCAL_RESOURCE_DIR := $(LOCAL_DICTIONARY_RESOURCE_DIR) $(LOCAL_PATH)/res
-endif
-
include $(BUILD_PACKAGE)