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

Commit bfa153b6 authored by RoboErik's avatar RoboErik
Browse files

Initial commit for MediaSession test app

This app creates a service and UI in separate processes and uses
the new MediaSession APIs. This is still a rough work in progress.

Change-Id: I9692c95bf2fdbee7255da86dff59044c893e3a1f
parent 01fe661a
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := $(call all-subdir-java-files) \
        $(call all-Iaidl-files-under, src)

LOCAL_PACKAGE_NAME := OneMedia
LOCAL_CERTIFICATE := platform

LOCAL_STATIC_JAVA_LIBRARIES := \
        android-support-v7-appcompat \
        android-support-v7-mediarouter

LOCAL_PROGUARD_ENABLED := disabled

include $(BUILD_PACKAGE)
+30 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.onemedia"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="19"/>
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name="com.android.onemedia.OnePlayerActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <service
            android:name="com.android.onemedia.OnePlayerService"
            android:exported="false"
            android:process="com.android.onemedia.service" />
    </application>

</manifest>
+7.48 KiB
Loading image diff...
+3.69 KiB
Loading image diff...
+12.2 KiB
Loading image diff...
Loading