OSDN Git Service

Remove hardcoded package name references
[android-x86/packages-apps-Eleven.git] / AndroidManifest.xml
index 67bb8bc..2611c3c 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- Copyright (C) 2012 Andrew Neal
      Copyright (C) 2014 The CyanogenMod Project
+     Copyright (C) 2019 The LineageOS Project
 
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      limitations under the License.
  -->
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
     package="org.lineageos.eleven"
     android:versionCode="3"
-    android:versionName="3.0" >
+    android:versionName="3.0"
+    tools:ignore="GradleOverrides">
 
     <uses-sdk
-        android:minSdkVersion="24"
-        android:targetSdkVersion="26" />
+        android:minSdkVersion="26"
+        android:targetSdkVersion="28" />
 
     <original-package android:name="com.cyanogenmod.eleven" />
 
@@ -50,6 +53,9 @@
     <uses-permission android:name="android.permission.RECORD_AUDIO" />
     <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
 
+    <!-- Allows Eleven to start services in foreground -->
+    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
+
     <!-- Accelerometer feature for shake to play -->
     <uses-feature android:name="android.hardware.sensor.accelerometer" />
 
@@ -84,7 +90,7 @@
                 <category android:name="android.intent.category.APP_MUSIC" />
                 <category android:name="android.intent.category.DEFAULT" />
             </intent-filter>
-            <intent-filter>
+            <intent-filter tools:ignore="AppLinkUrlError">
                 <action android:name="android.intent.action.VIEW" />
 
                 <category android:name="android.intent.category.DEFAULT" />