aboutsummaryrefslogtreecommitdiff
path: root/android/app/src
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-04 12:38:19 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-04 12:38:19 +0530
commita9550c3a5088b8e25257480fb86ff5c9a2fed6d7 (patch)
treeb6e8d248a25f1ea74ca8428bdf9eb146397775de /android/app/src
parent173cb600667e730c337a436c9407d5b268491e9c (diff)
downloaddaft-launcher-a9550c3a5088b8e25257480fb86ff5c9a2fed6d7.tar.gz
daft-launcher-a9550c3a5088b8e25257480fb86ff5c9a2fed6d7.zip
Fixes uninstall action
Diffstat (limited to '')
-rw-r--r--android/app/src/main/AndroidManifest.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 3eb3424..a8c7113 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -1,11 +1,13 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
package="io.github.phenax.owyn">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
- <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
+ <uses-permission android:name="android.permission.DELETE_PACKAGES" tools:ignore="ProtectedPermissions" />
+ <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES"/>
<application
android:name="io.flutter.app.FlutterApplication"
android:label="Owyn launcher"
@@ -36,8 +38,6 @@
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
- <action android:name="android.intent.action.DELETE" />
- <action android:name="android.intent.action.UNINSTALL_PACKAGE" />
<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />