Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e99f69a4 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Add a test multiarch app.

Will be used in an upcoming change for PackageManagerService
handling of multiArch APKs.

Change-Id: I363a02ce7b91569bb86880cf511ab9fbfcf2665c
parent d05f67f9
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -34,6 +34,26 @@ LOCAL_JNI_SHARED_LIBRARIES = libpmtestdual

LOCAL_PROGUARD_ENABLED := disabled

LOCAL_MANIFEST_FILE := dual/AndroidManifest.xml

LOCAL_SDK_VERSION := current
include $(BUILD_PACKAGE)

LOCAL_PATH:= $(TOP_LOCAL_PATH)
include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(call all-subdir-java-files)

LOCAL_PACKAGE_NAME := PMTest_Java_multiarch
LOCAL_MULTILIB := both
LOCAL_MODULE_TAGS := tests

LOCAL_MANIFEST_FILE := multiarch/AndroidManifest.xml

LOCAL_JNI_SHARED_LIBRARIES = libpmtestdual

LOCAL_PROGUARD_ENABLED := disabled

LOCAL_SDK_VERSION := current
include $(BUILD_PACKAGE)

+29 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!-- This is an example of writing an application that bundles a
     native code library. -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.framework.shareduid.multiarch" android:sharedUserId="com.framework.shareduid">
    <application android:label="Main Activity (multiarch)" android:multiArch="true">
        <activity android:name="com.framework.shareduid.dual.MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>