dd027b3ab2
Now requires permission if targeting P. Note that this is a separate permission from the existing one that is required for instant apps to use foreground services. The reason for this is that their semantics are different (the instant apps permission is associated with an app op for control over what the app is allowed, while the regular app permission is just a normal permission that is always granted and only there for auditing of apps), and there are probably going to be cases where a developer will want to use a foreground service in the full version of their app but not as an instant app. Bug: 72116995 Test: atest CtsAppTestCases Change-Id: I883c9515c307ed8e39f0bf888c4045944c8183ac
34 lines
1.3 KiB
XML
34 lines
1.3 KiB
XML
<?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.FOREGROUND_SERVICE"/>
|
|
<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" >
|
|
|
|
<uses-library android:name="org.apache.http.legacy" android:required="false" />
|
|
<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="true"
|
|
android:process="com.android.onemedia.service" />
|
|
</application>
|
|
|
|
</manifest>
|