Rename replicaisland Package

Bug 5898230

...to com.replica.replicaisland. This makes it so the APK generated
by the build system is "com.replica.replicaisland.apk" rather than
"replicaisland.apk". It will also match the package name in the
AndroidManifest.xml. All this renaming allows Tradefed to install the
apk "com.replica.replicaisland.apk" and then unistall the package
via its name "com.replica.replicaisland. Tradefed couldn't uninstall
the package, because there was no such app with package name
"replicaisland".

Change-Id: I1912606a341f5b8f85ad040b961ca40f30192964
diff --git a/Android.mk b/Android.mk
index 4bc3206..1177ee9 100644
--- a/Android.mk
+++ b/Android.mk
@@ -12,9 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# for building replica island only for CTS build
-# Note that there is no Android.mk under the replicaisland folder
-LOCAL_PATH:= external/replicaisland
+LOCAL_PATH:= $(call my-dir)
 
 include $(CLEAR_VARS)
 
@@ -23,13 +21,10 @@
 # and when built explicitly put it in the data partition
 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
 
-LOCAL_JAVA_LIBRARIES :=
-
 LOCAL_SRC_FILES := $(call all-java-files-under, src)
 
-LOCAL_PACKAGE_NAME := replicaisland
+LOCAL_PACKAGE_NAME := com.replica.replicaisland
 
 LOCAL_SDK_VERSION := current
 
 include $(BUILD_PACKAGE)
-