added missing perms

This commit is contained in:
X1nto 2020-05-27 17:25:48 +04:00
parent 3c1c34c8f0
commit 13ed11dcb2
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<application
android:allowBackup="true"

View File

@ -81,6 +81,7 @@ class SplitInstallerService: Service() {
dialog.window?.setType(WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY)
} else
dialog.window?.setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT)
dialog.show()
}